* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: #142330;
  color: #fff9e9;
  font-family: Arial, sans-serif;
  height: 100%;
  overflow: hidden;
}
body {
  display: grid;
  place-items: center;
}
#frame {
  width: min(100vw, 177.778vh);
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}
#mount,
canvas,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.shade {
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #0a211f66,
    transparent 19%,
    transparent 78%,
    #1b30313a
  );
}
section,
aside {
  position: absolute;
  text-shadow: 0 1px 5px #1527279c;
}
label {
  display: block;
  font-size: 0.7cqw;
  font-weight: 700;
  letter-spacing: 0.14em;
}
strong {
  font-size: 2.2cqw;
  font-weight: 500;
}
small {
  font-size: 0.64em;
}
.wind {
  left: 2.6%;
  top: 3.6%;
  text-align: center;
}
.compass {
  border: 1px solid #fff9;
  border-radius: 50%;
  background: radial-gradient(circle, #14242e83, #10212ab0);
  width: 7.3cqw;
  height: 7.3cqw;
  position: relative;
  margin-bottom: 0.35cqw;
  outline: 1px solid #ffffff42;
  outline-offset: 3px;
}
.compass i {
  position: absolute;
  font-size: 0.64cqw;
  font-style: normal;
}
.compass i:nth-child(1) {
  left: 46%;
  top: 4%;
}
.compass i:nth-child(2) {
  right: 5%;
  top: 45%;
}
.compass i:nth-child(3) {
  left: 46%;
  bottom: 4%;
}
.compass i:nth-child(4) {
  left: 5%;
  top: 45%;
}
#needle {
  position: absolute;
  inset: 18% 43%;
  background: linear-gradient(#a9e2e9 50%, #eee 50%);
  clip-path: polygon(50% 0, 100% 52%, 50% 100%, 0 47%);
}
.alt {
  right: 2.6%;
  top: 5%;
  text-align: right;
}
#thermal {
  margin: 1.4cqw 0 0 auto;
  text-align: center;
  background: #1628298f;
  border: 1px solid #fff4;
  border-radius: 0.5cqw;
  padding: 0.5cqw;
  color: #e4c8a0;
}
#thermal b {
  display: block;
  font-size: 2.3cqw;
  line-height: 1;
}
#thermal.on {
  background: #69451cc9;
  color: #ffd582;
  box-shadow: 0 0 1.3cqw #ffae4b88;
}
#objective {
  left: 50%;
  top: 4%;
  transform: translateX(-50%);
  text-align: center;
  width: 43%;
  padding: 0.7cqw 1cqw;
  background: linear-gradient(90deg, transparent, #122c3685, transparent);
}
#objective label,
#eyebrow {
  color: #ffe0a1;
}
#mission {
  margin: 0.4cqw 0 0;
  font:
    1.06cqw Georgia,
    serif;
}
.meters,
.controls {
  bottom: 4%;
  background: #162627b5;
  border: 1px solid #ffffff39;
  border-radius: 0.5cqw;
  padding: 0.85cqw 1.1cqw;
}
.meters {
  left: 2.4%;
  width: 18%;
}
.track {
  height: 0.47cqw;
  background: #102124;
  border-radius: 1cqw;
  overflow: hidden;
  margin-top: 0.35cqw;
}
.track + label {
  margin-top: 0.7cqw;
}
.track i {
  display: block;
  height: 100%;
  width: 0;
  background: #f0e6cc;
}
#stamina {
  background: #64cfba;
}
#warning {
  float: right;
  font-style: normal;
  color: #ffae82;
  opacity: 0;
}
.controls {
  right: 2.4%;
  font-size: 1.05cqw;
}
.controls span {
  color: #fff7;
}
kbd {
  background: #eee9d9;
  color: #223330;
  padding: 0.16em 0.32em;
  border-radius: 3px;
  font: bold 0.8em Arial;
}
button {
  cursor: pointer;
}
#help {
  border: 1px solid #fff6;
  border-radius: 50%;
  background: transparent;
  color: white;
  margin-left: 0.6cqw;
}
aside {
  left: 4%;
  bottom: 23%;
  width: 24cqw;
  padding: 1.5cqw 1.6cqw;
  background: #172d32eb;
  border-left: 0.2cqw solid #e5ae63;
  border-radius: 0 0.5cqw 0.5cqw 0;
}
h1 {
  font:
    italic 3.5cqw/1 Georgia,
    serif;
  margin: 0.65cqw 0;
}
#desc {
  font:
    1cqw/1.5 Georgia,
    serif;
}
#action {
  background: #f3d69b;
  color: #23322e;
  border: 0;
  border-radius: 0.2cqw;
  padding: 0.6cqw 1.2cqw;
  font: bold 0.94cqw Arial;
}
#keys {
  margin-top: 1cqw;
  color: #d1dcda;
  font-size: 0.75cqw;
  line-height: 1.65;
}
[hidden] {
  display: none !important;
}
