nav { font-family: monospace; font-size: 0.85em; padding: 12px 20px; }
nav a { color: inherit; text-decoration: none; }
nav a:hover { text-decoration: underline; }

body { margin: 0; font-family: monospace; background: white; }

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1 { font-size: 1.4em; margin: 0 0 40px; }

.track {
  height: 80px;
  background: #e0e0e0;
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
}

.box {
  width: 60px;
  height: 60px;
  background: #222;
  position: absolute;
  top: 10px;
  left: 20px;
}

.controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.controls button {
  font-family: monospace;
  font-size: 0.85em;
  padding: 8px 18px;
  background: none;
  border: 1px solid #222;
  color: #222;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.controls button:hover {
  background: #222;
  color: #fff;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.progress-label {
  font-size: 0.75em;
  color: #aaa;
  width: 52px;
  flex-shrink: 0;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: #222;
  width: 0%;
  transition: width 0.05s linear;
}

.progress-value {
  font-size: 0.75em;
  color: #aaa;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.code {
  font-family: monospace;
  font-size: 0.8em;
  background: #222;
  color: #e0e0e0;
  padding: 24px;
  line-height: 1.7;
  margin: 0;
  overflow-x: auto;
}
