.profile-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,160px));gap:12px;max-width:100%;justify-content:start}
.profile-photo-card{min-width:0;padding:10px;border:1px solid #dce7df;border-radius:18px;background:#f5f8f4;display:flex;flex-direction:column;gap:8px}
.profile-photo-preview{display:block;padding:0;border:0;border-radius:13px;overflow:hidden;background:#e7eee8;width:100%;cursor:pointer}
.profile-photo-preview img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.profile-photo-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.profile-photo-actions .btn{white-space:normal;min-height:40px;padding:8px 10px;font-size:13px}
.profile-photo-viewer{box-sizing:border-box;max-width:min(920px,94vw);max-height:92dvh;width:94vw;padding:16px;border:1px solid #cbdacc;border-radius:24px;background:#f7faf6;color:#10392c;overflow:auto}
.profile-photo-viewer::backdrop{background:rgb(8 25 19 / 75%)}
.profile-photo-viewer>img{display:block;max-width:100%;width:auto;height:auto;max-height:65dvh;margin:12px auto;object-fit:contain;border-radius:12px}
.profile-viewer-bar{display:flex;justify-content:space-between;align-items:center;gap:12px}
@media(max-width:420px){.profile-photo-grid{grid-template-columns:repeat(2,minmax(132px,160px));justify-content:start}.profile-photo-viewer{padding:12px}.profile-photo-viewer .dash-controls .btn{font-size:13px;padding:9px}}
.m-heart-btn{align-self:flex-start;display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid #c9d8ce;border-radius:50%;background:#f8fbf6;color:#426454;font-size:29px;line-height:1;cursor:pointer;box-shadow:0 3px 0 #d5dfd4}
.m-heart-btn[aria-pressed="true"],.m-detail-heart[aria-pressed="true"]{color:#a33648;background:#fff0f2;border-color:#ddb9c0}
.m-heart-btn:focus-visible,.profile-photo-preview:focus-visible{outline:3px solid #2b7258;outline-offset:3px}
.m-interest-settings{padding:16px;margin:12px 0 18px;border:1px solid #d3e0d5;border-radius:20px;background:#f4f8f0}
.m-interest-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.m-interest-category{text-align:left;white-space:normal!important;min-height:52px}
.m-interest-category[aria-pressed="true"]{color:#8c3040;background:#fff0f2;border-color:#d4b4bc}
.market-subcategories-heading{flex-wrap:wrap}
