/* Label doodles: hand-drawn extras around the cassette title. Loaded on pages that show a full cassette. */
/* Doodles run down the right-hand margin, so the title and names stop short of them. */
.cassette[data-label]:not([data-label="plain"]) .cassette__text { right: 30%; }

/* Builder picker: "Label doodles" chips under the colour swatches. */
.doodles { margin: 18px 0 0; padding: 14px 0 0; border: 0; border-top: 1.5px dashed var(--line); min-width: 0; }
.doodles__title { padding: 0; font-weight: 700; font-size: 1rem; }
.doodles__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
@media (min-width: 600px) { .doodles__row { grid-template-columns: repeat(5, 1fr); } }
.doodle { position: relative; min-width: 0; }
.doodle input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; z-index: 1; }
.doodle label { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; margin: 0; padding: 8px 6px 9px; text-align: center; border: 2px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 650; font-size: .85rem; line-height: 1.15; cursor: pointer; }
/* A real sample cassette (same markup/CSS as the live preview); its colours come from #doodles[data-theme]. */
.doodle__thumb { display: block; width: 100%; }
.doodle__thumb .cassette { filter: drop-shadow(0 2px 2px rgba(50, 25, 10, .25)); }
/* Names are too small to read at chip size, so the sample shows just a title (sized in cqw, so it scales). */
.doodle__thumb .cassette__title { font-size: 12.5cqw; }
.doodle input:checked + label { border-color: var(--ink); background: var(--paper-2); box-shadow: 0 3px 0 var(--ink); }
.doodle input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
