* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #0a0a0a;
  font-family: system-ui, sans-serif;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.top-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

button {
  padding: 10px 22px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #888;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

button:hover { background: #222; color: #ccc; border-color: #444; }
button.primary { background: #1a2a4a; border-color: #1a6cf6; color: #5fa3ff; }

#status {
  color: #555;
  font-size: 12px;
  letter-spacing: 0.06em;
  min-width: 200px;
}

.section-label {
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #444;
  text-transform: uppercase;
}

#cards-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.card-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.card-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

canvas {
  display: block;
  width: min(320px, calc(100vw - 40px));
  aspect-ratio: 9 / 16;
  border: 1px solid #1e1e1e;
}
