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.

2.9 KB
Raw Blame
:root {
  --bg: #152025;
  --panel: #1e2d32;
  --ink: #e3ece5;
  --muted: #9ab0b5;
  --line: #66838744;
  --accent: #c7e39b;
}
.flight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  padding: 0 28px 28px;
}
.cockpit {
  position: relative;
  min-height: 530px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #293f45;
}
.cockpit > canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  outline-offset: -3px;
}
.hud-top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 3px #000;
}
.hud-bottom {
  position: absolute;
  bottom: 20px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.hud-bottom > div {
  display: grid;
  text-shadow: 0 2px 5px #000;
}
.hud-bottom strong {
  font:
    32px ui-monospace,
    monospace;
  letter-spacing: -0.06em;
}
.hud-bottom span {
  font:
    9px ui-monospace,
    monospace;
  opacity: 0.8;
}
.reticle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 27px;
  color: #ffffff99;
  pointer-events: none;
}
.gate-hint {
  position: absolute;
  top: 56px;
  left: 20px;
  font:
    10px ui-monospace,
    monospace;
  color: #d4e9d0;
}
.flight-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.flight-actions {
  display: grid;
  gap: 8px;
}
.flight-actions button {
  width: 100%;
}
#minimap {
  width: 100%;
  height: 180px;
  margin-top: 12px;
}
.flight-pad {
  display: grid;
  grid-template-columns: repeat(3, 38px);
  gap: 5px;
  margin-top: 15px;
}
.flight-pad button:first-child {
  grid-column: 2;
}
.flight-pad button:nth-child(2) {
  grid-column: 1;
}
.flight-pad button {
  touch-action: none;
}
.flight-summary {
  position: absolute;
  inset: 32% 10% auto;
  background: #142124eb;
  border: 1px solid #b3cdaf55;
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  font-size: 24px;
}
.flight-summary span {
  font-size: 12px;
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .flight-layout {
    grid-template-columns: 1fr;
  }
  .cockpit {
    min-height: 500px;
  }
  .flight-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .flight-actions {
    align-content: start;
  }
  .flight-aside .section {
    margin: 0;
  }
}
@media (max-width: 480px) {
  .flight-layout {
    padding: 0 16px 20px;
  }
  .cockpit {
    min-height: 440px;
  }
  .hud-top {
    left: 12px;
    right: 12px;
    font-size: 8px;
  }
  .hud-bottom {
    left: 14px;
    right: 14px;
  }
  .hud-bottom strong {
    font-size: 25px;
  }
  .flight-aside {
    gap: 15px;
  }
  .flight-pad {
    grid-template-columns: repeat(3, 34px);
  }
}