.st-heic {
  display: grid;
  gap: 12px;
}

.st-heic [hidden] {
  display: none !important;
}

.st-heic .st-drop em {
  min-height: 130px;
}

.hc-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 14px;
}

.hc-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e1e6eb;
  border-radius: 12px;
  background: #fff;
}

.hc-item.is-bad {
  border-color: #f1b8b8;
  background: #fff6f6;
}

.hc-thumb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #eef2f5;
  overflow: hidden;
}

.hc-thumb canvas {
  max-width: 64px;
  max-height: 64px;
}

.hc-name {
  display: grid;
  flex: 1 1 180px;
  min-width: 0;
}

.hc-name b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-name small {
  color: #66778a;
}

.hc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

@media (max-width: 767px) {
  .st-heic .st-chip {
    width: auto;
  }
}
