:root {
  color-scheme: dark;
  font-family: "Inter Variable", sans-serif;
  color: #e3f7f1;
  background: #06151e;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: block;
  touch-action: none;
}
.hud {
  position: fixed;
  z-index: 2;
  pointer-events: none;
}
.identity {
  top: 42px;
  left: 48px;
}
.identity p {
  font:
    11px "JetBrains Mono Variable",
    monospace;
  letter-spacing: 2px;
  color: #b5d1cc;
  margin: 0 0 18px;
}
.identity p span {
  margin-left: 35px;
  color: #97b7b2;
}
.identity h1 {
  font:
    500 36px "Space Grotesk Variable",
    sans-serif;
  letter-spacing: -1.5px;
  margin: 0;
}
.identity em {
  font-style: normal;
  color: #78c5b7;
}
.description {
  font-size: 13px;
  color: #aac8c2;
  margin-top: 10px;
}
.status {
  right: 48px;
  top: 49px;
  font:
    11px "JetBrains Mono Variable",
    monospace;
  letter-spacing: 1px;
  color: #baf582;
}
.status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #baf582;
  border-radius: 50%;
  margin-right: 9px;
}
.annotation {
  top: 67%;
  left: 47%;
  display: grid;
  gap: 7px;
}
.annotation span {
  font:
    12px "JetBrains Mono Variable",
    monospace;
  letter-spacing: 2px;
}
.annotation small {
  font-size: 11px;
  color: #a7c5be;
}
.readings {
  bottom: 111px;
  left: 48px;
  display: flex;
  gap: 52px;
}
.readings > div {
  min-width: 120px;
}
.readings span {
  display: block;
  color: #a9c4bd;
  font:
    11px "JetBrains Mono Variable",
    monospace;
  letter-spacing: 1.4px;
}
.readings strong {
  display: block;
  font:
    400 36px "Space Grotesk Variable",
    sans-serif;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}
.readings strong small {
  font:
    13px "JetBrains Mono Variable",
    monospace;
  margin-left: 6px;
  color: #b5cec7;
}
.readings > div:nth-child(2) strong {
  color: #bcf779;
}
.readings > div:nth-child(3) strong {
  color: #ffb580;
}
.controls {
  bottom: 95px;
  right: 48px;
  display: flex;
  gap: 9px;
  pointer-events: auto;
}
button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #42635f;
  background: #122b32;
  color: #e3f7f1;
  border-radius: 4px;
  font:
    12px "Inter Variable",
    sans-serif;
  cursor: pointer;
}
button:hover {
  background: #24424a;
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid #bcf779;
  outline-offset: 4px;
}
#toggle {
  min-width: 150px;
  text-align: left;
  background: #dbf4e7;
  color: #102c2d;
  border-color: #dbf4e7;
}
#toggle span {
  margin-left: 22px;
}
#step {
  padding: 0 14px;
}
.note {
  bottom: 27px;
  left: 48px;
  right: 48px;
  font:
    11px "JetBrains Mono Variable",
    monospace;
  color: #a3bbb5;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid #244148;
}
.note span {
  float: right;
  color: #a8c3bc;
}
.settings {
  right: 48px;
  bottom: 157px;
  width: 340px;
  background: #0c242def;
  backdrop-filter: blur(12px);
  border: 1px solid #41635f;
  border-radius: 8px;
  padding: 22px;
  pointer-events: auto;
}
.settings[hidden] {
  display: none;
}
.settings label {
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
}
.settings output {
  float: right;
  font-variant-numeric: tabular-nums;
  color: #bcf779;
}
.settings input {
  width: 100%;
  margin: 4px 0 20px;
  accent-color: #bcf779;
  cursor: pointer;
  height: 20px;
}
.settings p {
  font-size: 11px;
  line-height: 1.6;
  color: #b6cec6;
  margin: 0;
}
body.capture * {
  transition: none !important;
}
@media (max-width: 600px) {
  .identity {
    top: 28px;
    left: 22px;
  }
  .identity p {
    font-size: 11px;
    letter-spacing: 1.2px;
    margin-bottom: 11px;
  }
  .identity p span {
    display: none;
  }
  .identity h1 {
    font-size: 27px;
  }
  .description {
    font-size: 12px;
    margin-top: 7px;
  }
  .status {
    right: 22px;
    top: 33px;
    font-size: 0;
  }
  .status i {
    margin: 0;
  }
  .annotation {
    top: 58%;
    left: 38%;
    gap: 5px;
  }
  .annotation span {
    font-size: 11px;
  }
  .annotation small {
    font-size: 11px;
  }
  .readings {
    left: 22px;
    right: 22px;
    bottom: 143px;
    gap: 0;
    justify-content: space-between;
  }
  .readings > div {
    min-width: 0;
  }
  .readings span {
    font-size: 11px;
    letter-spacing: 0.4px;
  }
  .readings strong {
    font-size: 26px;
    margin-top: 6px;
  }
  .readings strong small {
    font-size: 11px;
    margin-left: 3px;
  }
  .controls {
    left: 22px;
    right: 22px;
    bottom: 78px;
    gap: 8px;
  }
  .controls button {
    flex: 1;
    padding: 0 12px;
  }
  .controls #toggle {
    flex: 1.6;
    min-width: 0;
  }
  .controls #toggle span {
    margin-left: 12px;
  }
  .note {
    left: 22px;
    right: 22px;
    bottom: 20px;
    padding-top: 12px;
    font-size: 11px;
    line-height: 1.7;
  }
  .note span {
    display: block;
    float: none;
  }
  .settings {
    left: 22px;
    right: 22px;
    bottom: 132px;
    width: auto;
    padding: 16px;
  }
  .settings p {
    font-size: 11px;
    line-height: 1.45;
  }
  .settings input {
    margin-bottom: 13px;
  }
  .settings:not([hidden]) ~ .controls {
    bottom: 78px;
  }
  body:has(.settings:not([hidden])) .readings {
    display: none;
  }
  body:has(.settings:not([hidden])) .annotation {
    display: none;
  }
}
@media (max-height: 620px) and (min-width: 601px) {
  .identity {
    top: 22px;
  }
  .readings {
    bottom: 89px;
  }
  .controls {
    bottom: 84px;
  }
  .note {
    bottom: 20px;
  }
  .annotation {
    top: 65%;
  }
  .settings {
    bottom: 138px;
  }
}
