/*
 * Tutorial pages. A "scratch" note shows the Scratch block a new Python
 * idea matches (REQ-DOCS-019), in the orange of Scratch's Control blocks.
 * The icon is a jigsaw piece, drawn for pygwide.
 */
:root {
  --md-admonition-icon--scratch: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.5 11H19V7a2 2 0 0 0-2-2h-4V3.5a2.5 2.5 0 0 0-5 0V5H4a2 2 0 0 0-2 2v3.8h1.5a2.7 2.7 0 0 1 0 5.4H2V20a2 2 0 0 0 2 2h3.8v-1.5a2.7 2.7 0 0 1 5.4 0V22H17a2 2 0 0 0 2-2v-4h1.5a2.5 2.5 0 0 0 0-5z"/></svg>');
}

.md-typeset .admonition.scratch,
.md-typeset details.scratch {
  border-color: #ff8c1a;
}

.md-typeset .scratch > .admonition-title,
.md-typeset .scratch > summary {
  background-color: rgb(255 140 26 / 10%);
}

.md-typeset .scratch > .admonition-title::before,
.md-typeset .scratch > summary::before {
  background-color: #ff8c1a;
  -webkit-mask-image: var(--md-admonition-icon--scratch);
  mask-image: var(--md-admonition-icon--scratch);
}
