.app.single{display:grid;gap:16px}
.drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;background:#fff;border-radius:22px;box-shadow:var(--shadow);padding:44px 20px;cursor:pointer;transition:background .2s,transform .2s}
.drop:hover,.drop.over{background:#f0f0f3}
.drop.over{transform:scale(1.01)}
.drop .d-ico{width:56px;height:56px;border-radius:50%;background:#000;color:#fff;display:inline-flex;align-items:center;justify-content:center;margin-bottom:8px}
.drop .d-ico svg{width:24px;height:24px}
.drop small{color:var(--muted)}
.opts .between{justify-content:space-between}
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.filebar{grid-column:1/-1;display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;padding:4px 4px 0}
.filebar span{color:var(--muted);font-size:14px}
.pcard{background:#fff;border-radius:16px;box-shadow:var(--shadow);padding:10px;display:flex;flex-direction:column;gap:8px;cursor:grab;transition:transform .15s,opacity .15s}
.pcard.drag{opacity:.4;transform:scale(.97)}
.pimg{aspect-ratio:3/4;background:var(--soft);border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.pimg img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 1px 6px rgba(0,0,0,.12);transition:transform .2s}
.plabel{font-size:12.5px;color:var(--muted);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pact{display:flex;justify-content:center;gap:4px}
.pact button{width:32px;height:32px;border-radius:50%;border:0;background:var(--soft);cursor:pointer;font-size:17px;line-height:1}
.pact button:hover{background:#000;color:#fff}
.hint.center{text-align:center;display:flex;gap:6px;align-items:center;justify-content:center}
.hint svg{width:14px;height:14px}
#result{font-size:15px}
