.dp-layout { display: grid; gap: 22px; }
@media (min-width: 820px) { .dp-layout { grid-template-columns: 1fr 1fr; align-items: start; } .dp-stage { position: sticky; top: 90px; } }
.dp-stage { position: relative; }
.dp-canvas {
  width: 100%; aspect-ratio: 1; border-radius: 22px; touch-action: none; cursor: grab; display: block;
  background: conic-gradient(var(--surface-2) 25%, var(--surface) 0 50%, var(--surface-2) 0 75%, var(--surface) 0) 0 0 / 28px 28px;
  border: 1px solid var(--line-strong);
}
.dp-canvas:active { cursor: grabbing; }
.dp-hint { position: absolute; inset: auto 0 18px; text-align: center; font-size: .88rem; pointer-events: none; }
.dp-full { width: 100%; } .dp-full label { flex: 1; text-align: center; }
.dp-file { position: relative; overflow: hidden; width: 100%; }
.dp-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dp-color { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface-2); cursor: pointer; align-self: end; }
.dp-color input { width: 34px; height: 34px; border: 0; padding: 0; background: none; cursor: pointer; }
[aria-pressed="true"].btn-ghost { background: var(--invert-bg); color: var(--invert-fg); }
.dp-share { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.dp-share summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
