:root {
  --bg: #000000;
  --surface: rgba(18, 23, 27, 0.78);
  --surface-strong: rgba(26, 32, 38, 0.92);
  --text: #ffffff;
  --muted: #b7c1c8;
  --dim: #82919a;
  --good: #74ffb0;
  --warn: #ffd36a;
  --bad: #ff6b80;
  --line: rgba(116, 255, 176, 0.48);
}

html,
body {
  width: 600px;
  height: 600px;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

.app {
  position: relative;
  width: 600px;
  height: 600px;
  overflow: hidden;
  background: #000;
}

#scene {
  position: absolute;
  inset: 0;
  width: 600px;
  height: 600px;
  display: block;
}

.hud-header {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  background: var(--surface);
}

.eyebrow {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 29px;
  line-height: 1.05;
  font-weight: 850;
}

.status {
  min-width: 98px;
  padding: 8px 10px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--good);
  background: rgba(0, 0, 0, 0.28);
  font-size: 16px;
  font-weight: 850;
  text-align: center;
}

.readout {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 132px;
  display: grid;
  grid-template-columns: 1.2fr 1.75fr 1fr 1fr;
  gap: 8px;
}

.metric {
  min-height: 70px;
  padding: 10px 10px 8px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(11, 14, 17, 0.76);
}

.metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  line-height: 1.12;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.metric:first-child strong {
  font-size: 15px;
}

.reset-button {
  position: absolute;
  left: 16px;
  bottom: 20px;
  width: 272px;
  height: 88px;
  border: 4px solid rgba(255, 255, 255, 0.76);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface-strong);
  text-align: left;
  padding: 13px 18px;
  transition:
    transform 475ms cubic-bezier(0.6, 0, 0.4, 1),
    border-color 300ms cubic-bezier(0.4, 0.04, 0.5, 1),
    background 300ms cubic-bezier(0.4, 0.04, 0.5, 1);
}

.reset-button:focus {
  outline: none;
  transform: scale(0.91);
  border-color: var(--good);
  background: rgba(20, 42, 32, 0.94);
}

.reset-button:active {
  transform: scale(0.86);
}

.button-title,
.button-copy {
  display: block;
}

.button-title {
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
}

.button-copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.hint {
  position: absolute;
  right: 16px;
  bottom: 27px;
  width: 280px;
  min-height: 72px;
  padding: 11px 13px;
  border-left: 3px solid var(--line);
  color: #e4ece8;
  background: rgba(9, 13, 15, 0.64);
  font-size: 15px;
  line-height: 1.22;
  font-weight: 720;
}
