.profile-matches{margin:16px 0 20px;min-width:0;color:var(--text,#f4eff6)}
.profile-matches-heading{font-family:var(--font-d,Georgia,serif);font-size:25px;font-weight:400;line-height:1.2;margin:0 0 10px}
.profile-matches-list{display:flex;gap:18px;list-style:none;margin:0;padding:0 0 2px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none}
.profile-matches-list::-webkit-scrollbar{display:none}
.profile-match-card{box-sizing:border-box;flex:0 0 216px;max-width:100%;min-width:0;padding:8px 0 0;scroll-snap-align:start}
.profile-match-portraits{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:0;isolation:isolate}
.profile-match-profile{display:grid;gap:7px;min-width:44px;min-height:44px;color:inherit;text-decoration:none}
.profile-match-photo{display:grid;place-items:center;position:relative;width:100%;aspect-ratio:3/4;overflow:hidden;border-radius:9px;background:var(--panel-hard,#130e1b)}
.profile-match-portrait{display:block;width:100%;height:100%;object-fit:cover}
.profile-match-initial{font-family:var(--font-d,Georgia,serif);font-size:32px;color:var(--ember,#ffb36b)}
.profile-match-name{display:block;min-width:0;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.profile-match-heart{position:absolute;z-index:1;display:grid;place-items:center;left:50%;top:calc((100% - 25px)/2);width:36px;height:36px;margin:0;transform:translate(-50%,-50%);pointer-events:none;border:1px solid rgba(255,92,108,.3);border-radius:50%;background:var(--panel-hard,#130e1b);color:var(--red-soft,#ff5c6c);font-size:23px;line-height:1}
.profile-match-profile:first-child .profile-match-photo{border-top-right-radius:0;border-bottom-right-radius:0}
.profile-match-profile:last-child .profile-match-photo{border-top-left-radius:0;border-bottom-left-radius:0}
.profile-match-note{margin:9px 0 5px;color:var(--muted,#9d94ac);font-size:11px;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.profile-match-chat{display:block;width:100%;min-height:44px;padding:9px 12px;border:1px solid rgba(255,92,108,.35);border-radius:8px;color:var(--text,#f4eff6);background:rgba(255,46,76,.1);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.profile-match-chat:hover{border-color:var(--red-soft,#ff5c6c);background:rgba(255,46,76,.16)}
.profile-match-profile:focus-visible,.profile-match-chat:focus-visible{outline:2px solid var(--ember,#ffb36b);outline-offset:3px}
@media(max-width:640px){.profile-matches-heading{font-size:23px}.profile-matches-list{gap:14px}.profile-match-card{flex-basis:196px}.profile-match-name{font-size:12px}}
/* This component is loaded before the gallery composition stylesheet. Scope
   the joined portraits to their existing owner so their two columns remain
   adjacent without changing catalogue cards or the gift rail. */
#view-gallery > #profileMatches{margin-top:12px;margin-bottom:10px}
#view-gallery > #profileMatches .profile-match-card{grid-template-columns:104px minmax(0,1fr);flex-basis:286px}
#view-gallery > #profileMatches .profile-match-portraits{position:relative;grid-template-columns:52px 52px;align-items:start;gap:0}
#view-gallery > #profileMatches .profile-match-heart{position:absolute;left:50%;top:calc((100% - 22px)/2);margin:0;transform:translate(-50%,-50%);pointer-events:none}
#view-gallery > #profileMatches .profile-match-profile:first-child .profile-match-photo{border-top-right-radius:0;border-bottom-right-radius:0}
#view-gallery > #profileMatches .profile-match-profile:last-child .profile-match-photo{border-top-left-radius:0;border-bottom-left-radius:0}
#view-gallery > #profileMatches .profile-match-card:not(:has(.profile-match-chat)){grid-template-columns:104px;flex-basis:120px}
@media(prefers-reduced-motion:reduce){.profile-matches *{animation-name:none!important;transition:none!important;scroll-behavior:auto!important}}
