/* Модальности модели: вход → выход. Квадрат 18px, радиус 6 — из шкалы мини-аппа. */
.modality-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  min-width: 0;
  flex-wrap: wrap;
  line-height: 0;
}

.modality-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
}

.modality-chip svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modality-chip.is-text {
  color: #7fb2ff;
  background: rgba(127, 178, 255, .13);
}

.modality-chip.is-image {
  color: #39d98a;
  background: rgba(57, 217, 138, .13);
}

.modality-chip.is-file {
  color: #f5c518;
  background: rgba(245, 197, 24, .13);
}

.modality-chip.is-audio {
  color: #c39bff;
  background: rgba(195, 155, 255, .13);
}

.modality-chip.is-video {
  color: #ff8f6b;
  background: rgba(255, 143, 107, .13);
}

.modality-chip.is-embed {
  color: #7ee3e8;
  background: rgba(126, 227, 232, .13);
}

.modality-arrow {
  width: 12px;
  height: 12px;
  margin: 0 1px;
  fill: none;
  stroke: var(--muted-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}

/* В медиа-карточках (фото/видео) заголовок крупнее — строку чуть отводим от цены. */
.model-card[data-kind=photo] .modality-row,
.model-card[data-kind=video] .modality-row {
  margin-top: 7px;
}
