Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

3.0 KB
Raw Blame
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #cce0df;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1c3c41;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  outline: none;
}
canvas:focus-visible {
  outline: 2px solid #c77a40;
  outline-offset: -3px;
}
[hidden] {
  display: none !important;
}
.intro {
  position: absolute;
  left: 30px;
  bottom: 28px;
  pointer-events: none;
  text-shadow: 0 1px 15px #eef6ed99;
}
.intro > span,
.end > span {
  font-size: 9px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: #477a79;
}
.intro h1 {
  font-size: clamp(23px, 3.8vw, 41px);
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin: 10px 0 12px;
  font-weight: 600;
}
.intro p {
  font-size: 11px;
  line-height: 1.65;
  color: #42666b;
  margin: 0;
}
.hud {
  position: absolute;
  top: 17px;
  left: 18px;
  display: flex;
  gap: 24px;
  padding: 13px 18px;
  background: #edf7eae6;
  border: 1px solid #ffffffb0;
  border-radius: 10px;
  box-shadow: 0 5px 20px #33564f0d;
  pointer-events: none;
}
.hud > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hud span {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #61847f;
}
.hud b {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.hud small {
  font-size: 11px;
  font-weight: 500;
  color: #75938c;
  letter-spacing: 0;
}
.end {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #f4f8eefa;
  padding: 30px 38px;
  text-align: center;
  border: 1px solid #fff;
  border-radius: 15px;
  box-shadow: 0 15px 70px #214b4d33;
  min-width: 270px;
  backdrop-filter: blur(12px);
}
.end h2 {
  font-size: 35px;
  letter-spacing: -1.3px;
  margin: 12px 0 8px;
  font-weight: 550;
}
.end p {
  font-size: 12px;
  color: #547772;
  line-height: 1.6;
  margin: 0 0 22px;
}
.end button {
  border: 0;
  border-radius: 7px;
  background: #285b51;
  color: #e7f8e9;
  font: inherit;
  font-size: 12px;
  padding: 12px 18px;
  cursor: pointer;
}
.end button:hover {
  background: #367465;
}
.end button:focus-visible {
  outline: 2px solid #a4713c;
  outline-offset: 3px;
}
.pause-label {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 7px 12px;
  background: #edf7eae6;
  border-radius: 6px;
  font-size: 11px;
}
.touch {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 17px;
  justify-content: space-between;
  display: none;
  gap: 10px;
}
.touch button {
  background: #244941ba;
  border: 1px solid #a0b8a1;
  color: #eef8e9;
  border-radius: 12px;
  font: inherit;
  padding: 14px 22px;
  touch-action: none;
  user-select: none;
}
@media (pointer: coarse) {
  .touch {
    display: flex;
  }
}
@media (max-width: 480px) {
  .intro {
    left: 21px;
    bottom: 25px;
  }
  .intro h1 {
    font-size: 27px;
  }
  .intro p {
    font-size: 10px;
    max-width: 270px;
  }
  .hud {
    gap: 19px;
    padding: 10px 14px;
  }
  .hud b {
    font-size: 19px;
  }
}