/* Лист с клетками использует общие цвета, шрифт и панель действий VIO. */
.gp-sketch [hidden] { display: none !important; }
.gp-sketch .gp-scene { display: flex; flex-direction: column; gap: 12px; }
.gp-sketch .gp-clock { display: none; }
.sketch-role { margin: 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.sketch-title { margin: 0; font-size: clamp(22px, 4vw, 30px); line-height: 1.18; text-wrap: balance; }
.sketch-hint { margin: 0; max-width: 56ch; }
.sketch-paper { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 16px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: center; overflow: hidden; }
.sketch-cell-label { color: var(--muted); font-size: 13px; }
.sketch-number { color: var(--accent); font-size: clamp(54px, 12vw, 84px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sketch-word { margin: 4px 0 0; min-height: 1.3em; max-width: 24ch; font-size: clamp(22px, 5.5vw, 36px); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance; }
.sketch-caption { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.sketch-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 5px; background: var(--soft); }
.sketch-progress > span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: left; }
.sketch-grid { display: grid; grid-template-columns: repeat(var(--sketch-columns, 4), minmax(0, 1fr)); gap: 6px; width: min(100%, 370px); align-self: center; }
.sketch-grid-cell { display: grid; place-items: center; min-height: 34px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.sketch-grid-cell.is-current { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.sketch-grid-cell.is-done { background: var(--soft); }
.sketch-grid.is-review { width: min(100%, 370px); gap: 8px; }
.sketch-grid.is-review .sketch-grid-cell { position: relative; height: clamp(56px, 16vw, 72px); min-height: 56px; padding: 6px; background: var(--surface); color: var(--ink); border-radius: 12px; font-family: inherit; font-size: 24px; line-height: 1; }
.sketch-grid.is-review button.sketch-grid-cell { cursor: pointer; touch-action: manipulation; }
.sketch-grid.is-review button.sketch-grid-cell:disabled { cursor: default; }
.sketch-grid.is-review .sketch-grid-cell.is-current { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 1px; }
.sketch-grid.is-review .sketch-grid-cell.is-correct { background: color-mix(in srgb, var(--success) 16%, var(--surface)); color: var(--success); border-color: var(--success); }
.sketch-grid.is-review .sketch-grid-cell.is-wrong { background: color-mix(in srgb, var(--danger) 13%, var(--surface)); color: var(--danger); border-color: var(--danger); }
.sketch-grid.is-review button.sketch-grid-cell:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sketch-cell-mark { position: absolute; top: 7px; right: 8px; font-size: 14px; font-weight: 800; }
.sketch-review { display: flex; flex-direction: column; gap: 6px; }
.sketch-player-select { width: 100%; min-height: 44px; font-family: inherit; font-size: 16px; }
.sketch-review-count { margin: 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.sketch-answer { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 118px; padding: 16px; background: var(--soft); border-radius: 12px; text-align: center; }
.sketch-answer > span { color: var(--muted); font-size: 12px; }
.sketch-answer > strong { font-size: 24px; overflow-wrap: anywhere; }
.sketch-answer-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.sketch-feedback { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.sketch-audio { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sketch-audio .gp-button { min-height: 44px; padding: 10px 14px; font-size: 13px; }
.sketch-voice-hint { flex: 1 1 180px; margin: 0; color: var(--muted); font-size: 12px; }
.gp-sketch .gp-interact { display: flex; flex-direction: column; gap: 8px; }
.sketch-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sketch-scores { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.sketch-scores th, .sketch-scores td { padding: 12px 6px; border-bottom: 1px solid var(--line); text-align: right; overflow-wrap: anywhere; }
.sketch-scores th { color: var(--muted); font-size: 12px; font-weight: 600; }
.sketch-scores th:first-child, .sketch-scores td:first-child { width: 46%; text-align: left; }
.sketch-scores td:last-child { font-weight: 800; }
.sketch-answers { margin-top: 16px; }
.sketch-answers summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 700; }
.sketch-word-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; padding-left: 26px; font-size: 14px; }
.sketch-word-list li { padding-left: 2px; overflow-wrap: anywhere; }
.sketch-word-list li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.sketch-winner { font-size: 19px; font-weight: 800; overflow-wrap: anywhere; }
@media (max-width: 380px) { .sketch-paper { padding: 16px 12px 20px; } .sketch-word-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sketch-progress > span { transition: none; } }
