.pl-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 860px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } }
#nv { color: var(--accent); font-weight: 600; }

.pl-stage { border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; padding: 8px; }
.pl-in { position: relative; line-height: 0; max-width: 100%; touch-action: none; }
#pic { display: block; max-width: 100%; max-height: 460px; cursor: crosshair; }
#loupe { position: absolute; width: 132px; height: 132px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 24px rgba(0,0,0,.5); pointer-events: none; image-rendering: pixelated; }
.pl-dot { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-strong); flex: none; }

.pl-swatches { display: grid; gap: 6px; }
.pl-sw { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; text-align: left; width: 100%; color: inherit; }
.pl-sw:hover { border-color: var(--line-strong); }
.pl-chip { height: 44px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pl-sw b { font-family: var(--mono); font-size: 14px; letter-spacing: .02em; }
.pl-sw span { display: block; font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.pl-share { font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; padding-right: 6px; }
.pl-bar { display: flex; height: 18px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); }

.pl-picked { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pl-pk { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font: 600 12.5px var(--mono); color: var(--text); }
.pl-pk i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); }
#out { max-height: 260px; overflow: auto; font-size: 12.5px; }
