.hg-gallery .hg-photo img{object-fit:var(--pp-dfit,cover);object-position:var(--pp-dpos,50% 50%);background:#eae6ef}.hg-gallery .hg-photo:hover img{transform:none}
.pp-editor{margin:20px 0;padding:18px;border:1px solid #ddd4eb;border-radius:12px;background:#fcfaff}.pp-editor summary{cursor:pointer;font-size:15px;font-weight:650;color:#493261}.pp-editor summary span{font-size:12px;font-weight:400;color:#7a6c89;margin-left:12px}.pp-editor>p{font-size:13px;line-height:1.6;color:#70617e}.pp-card{padding:16px;border:1px solid #e3ddeb;border-radius:10px;background:#fff;margin:14px 0}.pp-card h3{font-size:15px;margin:0 0 14px}.pp-previews{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pp-screen{min-width:0}.pp-screen h4{font-size:12px;margin:0 0 10px;color:#786586}.pp-stage{height:140px;background:#eae6ef;border-radius:9px;overflow:hidden;touch-action:none;cursor:grab}.pp-stage.pp-m{max-width:170px;height:140px;margin:auto}.pp-stage:active{cursor:grabbing}.pp-stage img{display:block;width:100%;height:100%;object-fit:cover;user-select:none}.pp-screen label{display:block;font-size:12px;color:#594967;margin-top:12px}.pp-screen select{display:block;width:100%;min-height:40px;border:1px solid #cfc2df;border-radius:8px;background:white;padding:8px;color:#392a46}.pp-screen input[type=range]{width:100%;accent-color:#7143ce;padding:0;min-height:30px}.pp-save{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pp-save span{font-size:12px;color:#6a537c}.pp-screen:has(select option[value=contain]:checked) .pp-range{opacity:.5}
@media(max-width:580px){.hg-gallery .hg-photo img{object-fit:var(--pp-mfit,cover);object-position:var(--pp-mpos,50% 50%)}.pp-previews{grid-template-columns:1fr}.pp-editor{padding:12px}.pp-editor summary span{display:block;margin:6px 0}.pp-save button{width:100%}}

/* Match the 2:1 / two-row public gallery rather than one arbitrary preview crop. */
.pp-stage.pp-d{height:auto;aspect-ratio:3/1}.pp-stage.pp-primary{aspect-ratio:3/1}.pp-stage.pp-thumb{aspect-ratio:3/1}.pp-stage.pp-half{aspect-ratio:1.5/1}.pp-stage.pp-single{aspect-ratio:4.5/1}.pp-stage.pp-d img{height:100%;aspect-ratio:inherit}.pp-stage.pp-m{height:auto;width:220px;max-width:100%;aspect-ratio:1.25/1}.pp-stage.pp-m img{height:100%;aspect-ratio:inherit}
