/* Grow a fingerprint · room-specific layout. */

/* The look menu and the markers toggle share a row, to keep the panel (and so the stage) short. */
.fingerprint-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}
.fingerprint-row .toggle-row {
  font-size: 13px;
  line-height: 1.3;
  padding-bottom: 6px;
}

/* Four presets sit in one row, rather than three and a lonely fourth. */
@media (min-width: 761px) {
  body[data-room='fingerprint'] .scene-presets {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* A fingertip is tall, so give the stage more height on phones. */
@media (max-width: 760px) {
  body[data-room='fingerprint'] .drawing.scene {
    min-height: 600px;
  }
}

/* The legend for the markers, in the panel when the canvas has no room for its own (phones). */
.fingerprint-key[hidden] {
  display: none;
}
.fingerprint-key-title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.fingerprint-key ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.fingerprint-key li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.fingerprint-key svg {
  flex: none;
  width: 18px;
  height: 18px;
}
