/* Стили виджета «heic» (HEIC в JPG) — общие детали в w-imgkit.css */
.prose .hc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prose .hc-list:empty { display: none; }
.prose .hc-row { margin: 0; }
.hc-row.is-work { border-color: var(--green-line); }
.prose .hc .ik-thumb img, .hc .ik-thumb img { width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; }
.prose .hc p { margin: 0; }
.hc .ik-presets .chip { cursor: pointer; font: inherit; font-size: 14px; }
.hc .ik-seg button:focus-visible, .hc .chip:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.hc .ik-seg { justify-self: start; }
.hc .ik-seg button { min-width: 64px; }
.hc-resize { display: grid; gap: 10px; padding-left: 27px; }
.hc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.hc-badges .ik-badge { font-weight: 500; white-space: normal; line-height: 1.35; }
.hc-note { color: var(--green); font-size: 14px; }
.hc-status { display: grid; gap: 10px; }
.hc-status-text { font-size: 14.5px; color: var(--text-strong); }
.hc-spin {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-2); border-top-color: var(--green);
  animation: hc-spin .8s linear infinite;
}
@keyframes hc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hc-spin { animation-duration: 2.4s; } }
@media (max-width: 640px) {
  .hc-resize { padding-left: 0; }
  .hc .ik-actions .btn { flex: 1; justify-content: center; }
  .hc .ik-seg { display: flex; justify-self: stretch; }
  .hc .ik-seg button { flex: 1; padding: 10px 8px; }
  .hc .ik-dl { padding: 9px 16px; }
}
