@font-face {
  font-family: nj;
  src: url(nj.ttf) format('truetype');
}

/* Reset */


* {
  font-family: nj;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: nj;
  background: #f4f4f49f;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 20px;
}

/* Roundel container */
#roundel {
  font-family: nj;
  display: block;
  width: 400px;
  height: 400px;
}

/* Controls layout */
.controls {
  font-family: nj;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 320px;
  border: 1px solid #ddd;
}

.controls label {
  font-family: nj;
  font-weight: 600;
  margin-bottom: 4px;
}

.controls input[type="color"],
.controls input[type="text"] {
  width: 100%;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.controls button {
  font-family: nj;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background: #ddd;
  cursor: pointer;
  font-weight: 600;
}

.controls button:hover {
  background: #ccc;
}

.controls button.primary {
  background: #0078ff;
  color: white;
}

.controls button.primary:hover {
  background: #0064d6;
}
