.remark-image-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
  color: var(--muted, #546577);
  font-size: 12px;
}
.remark-image-picker[hidden] { display: none; }
.remark-image-select { position: relative; display: inline-flex; cursor: pointer; }
.remark-image-select:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.remark-image-select input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.remark-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.remark-image-picker .remark-image-list { flex-basis: 100%; margin-top: 0; }
.remark-image-list:empty { display: none; }
.remark-image-list a, .remark-image-preview {
  position: relative;
  display: block;
  width: 76px;
  height: 64px;
  border: 1px solid #becbd6;
  border-radius: 5px;
}
.remark-image-list img { display: block; width: 100%; height: 100%; object-fit: contain; }
.remark-image-preview button {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 24px;
  min-height: 24px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #25394c;
  cursor: pointer;
}
