/* «Модуль 2. Уверенная съёмка» (29.11.2026) — дополнения к assets/cheats.css. Разметка — cheats2_pages.py, логика — cheats2.js.
   Палитра первого модуля: тёмная сцена, коралловый #ff6b4a, зелёный «всё верно». Синий рядом с жёлтым не ставим. */
.cheat2 .seg { flex-wrap: wrap; }
.cheat2 .seg button { flex: 1 1 auto; }
.cheat2[data-sim="meter"] .stage canvas, .cheat2[data-sim="afarea"] .stage canvas { cursor: crosshair; touch-action: none; }
.cheat-tip { font-size: 13px; line-height: 1.4; opacity: .7; margin: -4px 0 0; }
.cheat-goal { font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 12px; background: rgba(255, 107, 74, .16); color: #ff9a82; }
.cheat-goal.is-ok { background: rgba(48, 209, 88, .16); color: #5fe08a; }
.cheat-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cheat-row .tool-btn { flex: 1 1 auto; }
.cheat2 [data-when-auto][hidden] { display: none; }
.cheat2 [data-when-auto] { display: flex; flex-direction: column; gap: 12px; }
.cheat2 .cheat-hist canvas { height: 64px; }

/* итоговый тест */
.cheat-exam { display: flex; flex-direction: column; gap: 10px; }
.cheat-exam-n { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: #ff8f75; font-weight: 600; margin: 0; }
.cheat-exam-q { font-size: 16.5px; line-height: 1.4; font-weight: 600; margin: 0; }
.cheat-exam-opts { display: flex; flex-direction: column; gap: 6px; }
.cheat-exam-opt { text-align: left; font: inherit; font-size: 14.5px; line-height: 1.35; padding: 10px 12px; border-radius: 12px; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid var(--line, rgba(255, 255, 255, .14)); transition: background .15s, border-color .15s; }
.cheat-exam-opt:hover:not(:disabled) { background: rgba(255, 255, 255, .13); }
.cheat-exam-opt:disabled { cursor: default; opacity: .7; }
.cheat-exam-opt.is-right { background: rgba(48, 209, 88, .18); border-color: rgba(48, 209, 88, .7); opacity: 1; }
.cheat-exam-opt.is-wrong { background: rgba(255, 107, 74, .18); border-color: rgba(255, 107, 74, .7); opacity: 1; }
.cheat-exam-why { font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; gap: 8px; }
.cheat-exam-why[hidden] { display: none; }
.cheat-exam-why a { color: #ff9a82; }
.cheat-exam-score { font-size: 20px; margin: 0; }
.cheat-exam-score b { font-size: 56px; letter-spacing: -0.03em; }
.cheat-exam-grade { font-size: 18px; font-weight: 700; color: #5fe08a; margin: 0; }
.cheat-exam-rep { margin: 0; padding-left: 18px; font-size: 14.5px; }
.cheat-exam-rep a { color: #ff9a82; }

/* хаб модуля */
.cheat-m1-note { font-size: 15.5px; padding: 12px 16px; border-radius: var(--r-card, 18px); background: #fff; margin: 0 0 14px; }
.cheat-step-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; border-radius: 12px; background: #1d1a22; color: #ff6b4a; font-size: 44px; font-weight: 800; text-decoration: none; }
.cheat-card-block.no-img { grid-template-columns: minmax(0, 1fr); }
.cheat-show .cheat-exam-q { font-size: 20px; }
.cheat-show .cheat-exam-opt { font-size: 17px; }

/* модуль 3 (29.11.2026): редактор кривой и цветовой круг */
.cheat-curve canvas { width: 200px; height: 200px; max-width: 100%; border-radius: 10px; display: block; cursor: grab; touch-action: none; }
.cheat-wheel { display: flex; justify-content: center; }
.cheat-wheel canvas { width: 180px; height: 180px; }
.cheat2 [data-when-fill][hidden] { display: none; }
.cheat-cull p { font-size: 13px; line-height: 1.4; margin: 4px 0; }
.cheat-funnel, .cheat-size { font-size: 14px; font-weight: 600; margin: 0; }
.cheat-stars .tool-btn { flex: 1 1 0; padding-inline: 4px; }
.cheat2 [data-when-color][hidden], .cheat2 [data-when-bw][hidden] { display: none; }
.cheat2 [data-when-color], .cheat2 [data-when-bw] { display: flex; flex-direction: column; gap: 12px; }
.cheat-art { display: flex; flex-direction: column; gap: 4px; }
.cheat-art select { font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.cheat-art select option { color: #111; }
.cheat-art-cap { font-size: 12.5px; opacity: .7; line-height: 1.4; margin: 0; }
.cheat-art-cap a { color: #ff9a82; }
.cheat-notes ol { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.4; }
.cheat-swatches { display: flex; gap: 6px; }
.cheat-swatches span { flex: 1; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); }
.cheat2 [data-hm-poster][hidden], .cheat2 [data-hm-art][hidden] { display: none; }
.cheat2 [data-hm-poster], .cheat2 [data-hm-art] { display: flex; flex-direction: column; gap: 12px; }
.cheat-vscope canvas { width: 160px; height: 160px; border-radius: 50%; display: block; margin: 4px auto 0; }
.cheat-actlist { display: flex; flex-direction: column; gap: 6px; }
.cheat-act { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 14px; }
.cheat-act span button { background: none; border: 0; color: #fff; font-size: 16px; cursor: pointer; padding: 2px 6px; }
.cheat2[data-sim="heal"] .stage canvas, .cheat2[data-sim="dodge"] .stage canvas, .cheat2[data-sim="crop"] .stage canvas, .cheat2[data-sim="cull"] .stage canvas, .cheat2[data-sim="rating"] .stage canvas, .cheat2[data-sim="wbpick"] .stage canvas { cursor: crosshair; }
.cheat-tries { display: flex; flex-wrap: wrap; gap: 6px; }
.cheat-tries span { font-size: 13px; padding: 4px 8px; border-radius: 8px; background: rgba(255,107,74,.18); }
.cheat-tries span.ok { background: rgba(48,209,88,.2); }
