.artpage-title {
  margin: 0 0 16px 40px;
  color: #f3f4f6;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
}

.artcontrol {
  border: 1px dotted gray;
  text-align: center;
  padding: 10px;
  position: relative;
}

.artpanel-header {
  margin-bottom: 14px;
}

.artpanel-title {
  margin: 0 0 8px;
  color: #f3f4f6;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.artpanel-about {
  min-width: 90px;
}

.control-item {
  vertical-align: middle;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.control-item > label {
  color: #CCC;
}

.art-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.art-surface {
  position: relative;
  width: min(100%, 800px);
  margin: 0 auto;
}

.art-surface--square {
  aspect-ratio: 1 / 1;
  width: min(100%, 800px, calc(100vh - 130px));
}

.art-canvas,
.overlay {
  display: block;
  width: 100%;
  height: 100%;
}

.overlay {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  pointer-events: none;
}

.art-stage .artloading {
  left: 0;
  top: 50%;
  width: 100%;
  max-width: 100%;
  transform: translateY(-50%);
  z-index: 1;
}

@media (max-width: 767px) {
  .art-surface {
    width: 100%;
  }

  .art-surface--square {
    width: min(100%, calc(100vh - 82px));
  }
}
