/* Papel picado workshop */
.h3 { font-size: 1.2rem; }
.workshop { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .workshop { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.paper-stage {
  position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 30%, #3a2160, #150a26);
  box-shadow: var(--shadow); aspect-ratio: 1; max-width: 620px;
}
[data-theme="light"] .paper-stage { background: radial-gradient(circle at 50% 30%, #f0c08e, #b8642f); }
#paper { width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
#paper.unfolded { cursor: default; }
.fold-tip {
  position: absolute; left: 50%; bottom: .6rem; transform: translateX(-50%); margin: 0;
  background: rgba(0,0,0,.55); color: #fff; padding: .3rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700;
  white-space: nowrap; pointer-events: none; max-width: 92%; overflow: hidden; text-overflow: ellipsis;
}
.paper-actions { margin-top: .8rem; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .4rem; }
.tool {
  display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .4rem .2rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-2); cursor: pointer; font-size: .72rem; font-weight: 800; min-height: 64px;
}
.tool svg { width: 30px; height: 30px; }
.tool[aria-checked="true"] { border-color: var(--marigold); background: color-mix(in srgb, var(--marigold) 20%, var(--bg-2)); }
.color-sw { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line); cursor: pointer; padding: 0; }
.color-sw[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--marigold); }

.banner-string {
  position: relative; display: flex; gap: .4rem; flex-wrap: wrap; padding: 18px .5rem .5rem; min-height: 40px;
  background: linear-gradient(var(--ink-mute), var(--ink-mute)) no-repeat 0 8px / 100% 2px;
}
.hung { position: relative; width: 96px; transform-origin: top center; animation: hsway 3.5s ease-in-out infinite alternate; }
.hung:nth-child(2n) { animation-delay: -1.2s; }
.hung:nth-child(3n) { animation-delay: -2.4s; }
@keyframes hsway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.hung button.view { padding: 0; border: 0; background: none; cursor: pointer; display: block; width: 100%; }
.hung canvas { width: 96px; height: 96px; display: block; filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); }
.hung .del {
  position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--card-2); color: var(--ink); font-size: .8rem; box-shadow: var(--shadow);
}
.how { margin-top: 1rem; }
