/* Turtle stage (code-turtle.js): the drawing above a task's console or under an example. */
.ct-stage { margin: .75rem 0 .5rem; padding: .6rem; border: 1px solid rgba(34, 211, 238, .28); border-radius: 1rem; background: #0b1324; }
.ct-stage canvas { display: block; max-width: 100%; margin: 0 auto; border-radius: .5rem; box-shadow: 0 0 0 1px rgba(148, 163, 184, .25); }
.ct-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .5rem; }
.ct-note { color: #cbd5e1; font-size: .9rem; font-weight: 600; }
.ct-save { padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .12); color: #a5f3fc; font-weight: 650; font-size: .88rem; cursor: pointer; }
.ct-save:disabled { opacity: .45; cursor: default; }
.ct-again { margin-left: auto; }
.ct-again[hidden] { display: none; }
html[data-theme="light"] .ct-stage { background: #f1f5f9; border-color: rgba(14, 116, 144, .3); }
html[data-theme="light"] .ct-note { color: #334155; }
html[data-theme="light"] .ct-save { color: #0e7490; background: rgba(14, 116, 144, .08); }
