/*
 * Kumaş simülasyonu — yalnızca bu simülasyona özgü stiller (çizim renkleri, sahne imleci,
 * renk açıklaması örnekleri). Düzen, kontroller, açıklama kutusu, renk açıklaması kabı ve
 * kod vurgusu çekirdekte (core/theme.css).
 */

/* --------------------------------------------------------- çizim renkleri */

.lab {
  --lab-cloth-line: #8e8e93;
  --lab-cloth-move: var(--lab-accent);
  --lab-cloth-predict: #7f9bc4;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lab:not([data-theme="light"]) {
    --lab-cloth-line: #7c7c82;
    --lab-cloth-move: var(--lab-accent);
    --lab-cloth-predict: #9fb9e3;
  }
}

:root[data-theme="dark"] .lab:not([data-theme="light"]),
.lab[data-theme="dark"] {
  --lab-cloth-line: #7c7c82;
  --lab-cloth-move: var(--lab-accent);
  --lab-cloth-predict: #9fb9e3;
}

/* ------------------------------------------------------------- sahne */

/* Kumaşı tutup çekerken ya da keserken sayfa kaymasın, yakınlaşmasın. */
.cloth-stage {
  touch-action: none;
}

.cloth-stage.is-grab {
  cursor: grab;
}

.cloth-stage.is-cut {
  cursor: crosshair;
}

.cloth-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cloth-legend__dot--now {
  background: var(--lab-cloth-move);
}
.cloth-legend__dot--prev {
  border: 1.5px solid var(--lab-text-2);
}

.cloth-legend__arrow {
  width: 18px;
  height: 0;
  border-top: 3px solid var(--lab-cloth-move);
  border-radius: 2px;
}
.cloth-legend__arrow--predict {
  border-top: 3px dashed var(--lab-cloth-predict);
}
