/* הסטודיו (studio.js) — משותף לאתר ולמערכת העיצוב. הצבעים מהפונט שנבחר (--st-*), ונקבעים ב-studio.js. */
.studio { --st-bg: #6a25a3; --st-ink: #3e1470; --st-text: #e4ddb2; --st-accent: #36c7a0;
  background: var(--st-bg); color: var(--st-text); border-radius: 28px; padding: 18px; transition: background-color .6s cubic-bezier(.2, .8, .2, 1), color .6s; }
.studio button { font: inherit; color: inherit; cursor: pointer; }
.st-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.st-tabs button { display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--st-text) 30%, transparent); background: transparent; font-weight: 800; font-size: 16px; }
.st-tabs button.on { background: var(--st-text); color: var(--st-bg); border-color: var(--st-text); }
.st-tabs svg { width: 34px; height: 34px; overflow: visible; }
.st-main { display: grid; grid-template-columns: 1fr 340px; gap: 16px; }
@media (max-width: 900px) { .st-main { grid-template-columns: 1fr; } }
.st-stage { position: relative; background: color-mix(in srgb, var(--st-ink) 35%, var(--st-bg)); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; min-height: 520px; }
.st-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.st-ch { font-size: 30px; font-weight: 800; min-width: 1.2em; }
.st-brushes { display: flex; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
.st-brushes button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--st-text) 30%, transparent); padding: 0; transition: transform .2s; }
.st-brushes button.on { border-color: var(--st-text); transform: scale(1.15); }
.st-3d { position: relative; flex: 1; min-height: 420px; margin: 8px 0; }
.st-hint { margin: 0; font-size: 13px; opacity: .7; }
.st-side { display: flex; flex-direction: column; gap: 14px; }
.st-chars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.st-chars button { aspect-ratio: 136 / 170; padding: 2px; border-radius: 10px; border: 2px solid transparent; background: color-mix(in srgb, var(--st-ink) 30%, var(--st-bg)); transition: transform .2s, border-color .2s; }
.st-chars button:hover { transform: translateY(-2px); }
.st-chars button.on { border-color: var(--st-accent); }
.st-chars svg { width: 100%; height: 100%; display: block; overflow: visible; }
.st-ctl { display: flex; flex-direction: column; gap: 10px; }
.st-ctl label { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 14px; font-weight: 700; }
.st-ctl output { opacity: .7; direction: ltr; font-variant-numeric: tabular-nums; }
.st-ctl input { grid-column: 1 / -1; width: 100%; accent-color: var(--st-accent); }
.st-reset { align-self: flex-start; padding: 8px 18px; border-radius: 999px; border: 2px solid currentColor; background: transparent; font-weight: 800; }
/* כפתורי הסיבוב של המציג (three-view.js) */
.studio .turn3d { position: absolute; inset-inline-start: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; z-index: 2; }
.studio .turn3d-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; max-width: 320px; }
.studio .turn3d-row span { width: 1.4em; font-weight: 700; text-align: center; }
.studio .turn3d button { min-width: 34px; padding: 4px 8px; color: var(--st-bg); background: var(--st-text); border: 0; border-radius: 6px; font-weight: 700; }
