@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');


html, body {
  overflow: hidden;           /* hides scrollbars */
  overscroll-behavior: none;  /* prevents bounce scrolling */
}


body {
 
    padding: 5px;
  background: #fff6fb;
  font-family: 'Press Start 2P', cursive;
  font-size: 9px;
  color: #7a4b6f;
}

/* FIXED APP SIZE */
#app {
  width: 640px;
  height: 640px;
  margin: auto;
  text-align: center;
  padding: 12px;   
  box-sizing: border-box;
}

/* title */
h1 {
  font-size: 14px;
  margin: 4px 5 6px;
  color: #ff7ac3;
}

/* canvas */
canvas {
  image-rendering: pixelated;
  border: 3px dotted #ffb6e6;
  background: white;
  margin: 4px auto 6px;
  display: block;
}

/* controls row */
.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
  align-items: center;
}

input {
  width: 60px;
  font-family: 'Press Start 2P', cursive;
  font-size: 9px;
}

/* TWO COLUMN GRID — compact */
#assetControls {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 4px;
  margin: 6px 5;
}

/* each dropdown row */
.layer-section {
  display: grid;
  grid-template-columns: 100px 50px; 20px;
  align-items: center;
  column-gap: 6px;
}


.layer-section label {
  text-align: right;
  white-space: nowrap;   /* prevents label from wrapping */
}


.layer-extra {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.layer-extra input[type="checkbox"] {
  margin: 0;
  transform: scale(0.9);
}


/* dropdown */
select {
  width: 130px;
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  padding: 4px;
  border: 2px dotted #ffcce6;
  background: #fffbd6;
  transition: 0.15s;
}

select:hover {
  background: #ffd6ef;
}

/* buttons */
button {
  font-family: 'Press Start 2P', cursive;
  font-size: 9px;
  padding: 6px 10px;
  border: 2px dotted #ffcce6;
  background: #ffe6f6;
  cursor: pointer;
  transition: 0.15s;
}

button:hover {
  background: #ffd6ef;
}

/* download button spacing */
#downloadBtn {
  margin-top: 6px;
}









/* walking parade area */
#recentWrapper {
  position: relative;
  height: 95px;
  margin-top: 10px;
  border-top: 2px dotted #ffcce6;
}

/* each walking kigu */
.walker {
  position: absolute;
  image-rendering: pixelated;
  pointer-events: none;
}