/* Python Blocks: turtle.js (the Screen tab and its Save picture button) */

/* Around the drawing window, the pane's own dark shows (letterboxing). */
.pb-screen { background: #0f0d16; }
.tt-stage { position: absolute; inset: 0; }
.tt-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
.tt-over { pointer-events: none; }

/* Save picture shows with the Screen; Clear the output with the console. */
.pb-out:has(#pb-screen[hidden]) .pb-shot { display: none; }
.pb-out:has(#pb-screen:not([hidden])) #pb-clear { display: none; }

@media (max-width: 760px) {
  .pb-shot { min-width: 36px; min-height: 36px; }
}
