body.app-slava-restraint .moodboard-node {
  width: 230px;
  min-height: 210px;
  padding: 10px 34px 12px 14px;
  position: relative;
  background: var(--sr-glass);
  border: 1px solid var(--sr-edge);
  border-radius: var(--sr-radius-node, 6px);
  color: var(--sr-ink);
  font-size: 12px;
  cursor: default;
}

body.app-slava-restraint .moodboard-node--selected {
  border-color: #f59e0b;
}

body.app-slava-restraint .moodboard-node__title {
  color: #f59e0b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.app-slava-restraint .moodboard-node__name {
  margin-top: 4px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  word-break: break-word;
}

body.app-slava-restraint .moodboard-node__preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--sr-edge);
  border-radius: 3px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.22);
  color: var(--sr-ink-faint);
  font-size: 10px;
  text-transform: uppercase;
}

body.app-slava-restraint .moodboard-node__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.app-slava-restraint .moodboard-node__meta {
  margin-top: 8px;
  color: var(--sr-ink-meta);
  font-size: 11px;
}

body.app-slava-restraint .moodboard-node__open {
  width: 100%;
  margin-top: 8px;
  padding: 5px 0;
  border: 1px solid var(--sr-edge);
  border-radius: 2px;
  background: none;
  color: var(--sr-ink);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

body.app-slava-restraint .moodboard-node__open:hover {
  border-color: #f59e0b;
  color: #f59e0b;
}

body.app-slava-restraint .moodboard-node__output {
  position: absolute;
  right: -1px;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  transform: translateX(100%);
  color: var(--sr-ink-meta);
  font-size: 10px;
  pointer-events: none;
}

body.app-slava-restraint .moodboard-node__output span {
  padding-right: 7px;
}

body.app-slava-restraint .moodboard-node__handle {
  pointer-events: auto;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(0, 0, 0, 0.35);
}
