/* App-only approved v113 celebration. Static unless the visibility controller
   grants one brief animation for this reciprocal pair in the current page. */
.fit-match-proof{position:relative;padding:16px;border:1px solid #efb7a9;border-radius:16px;background:linear-gradient(135deg,#fff1e9,#fffaf7);box-shadow:0 5px 18px #183b5608;min-width:0}
.fit-match-proof .fit-match-badge{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;margin-bottom:10px}
.fit-match-proof .fit-match-heading{min-width:0;display:block}
.fit-match-proof .fit-match-label{display:block;font-size:10px;color:#526573;font-weight:700;line-height:1.4;letter-spacing:.03em;text-transform:uppercase;margin-bottom:4px}
.fit-match-proof .fit-match-badge strong{display:block;font-size:24px!important;line-height:1.18;letter-spacing:-.025em;color:#183b56}
.fit-match-proof .fit-match-celebration{font-size:18px;line-height:1.4;font-weight:700;color:#183b56;margin:0 0 10px}
.fit-match-proof>p:not(.fit-match-celebration){font-size:13px;line-height:1.5;color:#455f72;margin:6px 0 0;overflow-wrap:anywhere}
.fit-match-proof>small{font-size:11px;line-height:1.45;color:#526573;margin-top:7px;display:block}
.fit-match-emblem{position:relative;display:grid;place-items:center;flex:0 0 84px;width:84px;height:78px;background:transparent}
.fit-match-emblem:before{content:"";position:absolute;inset:0;background:url("assets/fit-match-heart-tile.svg") center/contain no-repeat;filter:drop-shadow(0 3px 3px #ce3f4d22)}
.fit-match-proof .fit-match-emblem>svg{position:relative;width:60px!important;height:40px!important;max-width:none;flex:none;transform:translateY(-5px);overflow:visible}
.fit-match-emblem .fit-match-handshake{transform-box:view-box;transform-origin:50% 50%;transform:rotate(0) translateY(0)}
.fit-match-emblem .fit-match-handshake path{stroke:#fff8f3;stroke-width:17px;stroke-linejoin:round;paint-order:stroke fill}
.fit-match-emblem .fit-match-heart{fill:#fff8f3;opacity:1;transform:translateY(0)}
.fit-match-sparkles{position:absolute;inset:0;pointer-events:none;z-index:2}
.fit-match-sparkles:before,.fit-match-sparkles:after{position:absolute;content:'✦';color:#ce5437;font-size:13px;opacity:0}
.fit-match-sparkles:before{left:-2px;top:0}.fit-match-sparkles:after{right:-1px;top:10px;font-size:10px}
.fit-match-news-card{padding:0;border:0;background:none;box-shadow:none}.fit-match-news-card>h2{font-size:18px}.fit-match-news-card .fit-match-proof{margin:12px 0}
@media(max-width:600px){.fit-match-proof{padding:12px}.fit-match-proof .fit-match-badge{gap:9px}.fit-match-emblem{flex-basis:72px;width:72px;height:68px}.fit-match-proof .fit-match-emblem>svg{width:54px!important;height:36px!important}.fit-match-proof .fit-match-badge strong{font-size:21px!important}.fit-match-proof .fit-match-celebration{font-size:17px}.fit-match-news-card{padding:0}.fit-match-news-card>h2{font-size:18px}}
@media(max-width:350px){.fit-match-proof .fit-match-badge{gap:7px}.fit-match-proof .fit-match-badge strong{font-size:20px!important}.fit-match-emblem{flex-basis:64px;width:64px;height:60px}.fit-match-proof .fit-match-emblem>svg{width:48px!important;height:32px!important}}
@media(prefers-reduced-motion:no-preference){
 .fit-match-proof.is-celebrating{animation:fit-app-arrive 380ms ease-out 1 both}
 .fit-match-proof.is-celebrating .fit-match-handshake{animation:fit-app-handshake 1.2s ease-in-out 1 both}
 .fit-match-proof.is-celebrating .fit-match-heart{animation:fit-app-heart 220ms ease-out 1.2s 1 both}
 .fit-match-proof.is-celebrating .fit-match-emblem:before{animation:fit-app-glow 1600ms ease-out 1 both}
 .fit-match-proof.is-celebrating .fit-match-sparkles:before{animation:fit-app-sparkle 700ms ease-out 850ms 1 both}
 .fit-match-proof.is-celebrating .fit-match-sparkles:after{animation:fit-app-sparkle 700ms ease-out 1100ms 1 both}
 .fit-match-proof.is-motion-paused,.fit-match-proof.is-motion-paused *,.fit-match-proof.is-motion-paused :before,.fit-match-proof.is-motion-paused :after{animation-play-state:paused!important}
}
@keyframes fit-app-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes fit-app-handshake{0%,100%{transform:rotate(0) translateY(0)}14%{transform:rotate(-2deg) translateY(7px)}28%{transform:rotate(2deg) translateY(-6px)}42%{transform:rotate(-1.7deg) translateY(6px)}56%{transform:rotate(1.7deg) translateY(-4px)}70%{transform:rotate(-1deg) translateY(3px)}84%{transform:rotate(1deg) translateY(-2px)}}
@keyframes fit-app-heart{0%{opacity:0;transform:translateY(9px)}100%{opacity:1;transform:translateY(0)}}
@keyframes fit-app-glow{0%,100%{filter:drop-shadow(0 3px 3px #ce3f4d22)}45%{filter:drop-shadow(0 0 9px #e7615e88)}}
@keyframes fit-app-sparkle{0%,100%{opacity:0;transform:scale(.65)}45%{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.fit-match-proof,.fit-match-proof *,.fit-match-proof :before,.fit-match-proof :after{animation:none!important}.fit-match-emblem .fit-match-handshake{transform:rotate(0) translateY(0)}.fit-match-emblem .fit-match-heart{opacity:1;transform:translateY(0)}.fit-match-sparkles{display:none}}

/* v115: a brief matched-result invitation; evidence stays available on demand. */
.fit-match-proof[data-fit-match-compact]{display:grid;grid-template-columns:84px minmax(0,1fr);gap:4px 12px;padding:12px}
.fit-match-proof[data-fit-match-compact] .fit-match-badge{display:contents}
.fit-match-proof[data-fit-match-compact] .fit-match-emblem{grid-column:1;grid-row:1 / 3;align-self:center}
.fit-match-proof[data-fit-match-compact] .fit-match-heading{grid-column:2;align-self:end}
.fit-match-proof[data-fit-match-compact] .fit-match-celebration{grid-column:2;align-self:start;font-size:14px;font-weight:500;line-height:1.4;margin:0}
.fit-match-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:0 12px}
.fit-match-actions>.fit-match-cta,.fit-match-evidence>summary{min-height:44px;display:flex;align-items:center;font-size:13px;font-weight:650;line-height:1.3;cursor:pointer}
.fit-match-actions>.fit-match-cta{padding:0 4px;color:#a33f2d;text-decoration:underline;text-underline-offset:3px}
.fit-match-evidence{font-size:12px;color:#455f72;min-width:0}
.fit-match-evidence>summary{padding:0 2px;font-size:12px;font-weight:500;list-style:none}
.fit-match-evidence>summary::-webkit-details-marker{display:none}
.fit-match-evidence>summary:before{content:'+';margin-right:5px;font-size:14px}
.fit-match-evidence[open]{flex-basis:100%}
.fit-match-evidence[open]>summary:before{content:'−'}
.fit-match-evidence p{font-size:13px;line-height:1.5;margin:0 0 5px;overflow-wrap:anywhere}
.fit-match-evidence small{font-size:11px;line-height:1.4;display:block;margin:0 0 4px}
.fit-match-evidence>summary:focus-visible,.fit-match-cta:focus-visible{outline:2px solid #183b56;outline-offset:3px;border-radius:4px}
.interest-opportunity:has(.fit-match-cta)>a.text{display:none}
@media(max-width:600px){.fit-match-proof[data-fit-match-compact]{grid-template-columns:72px minmax(0,1fr);column-gap:9px;padding:10px 12px}.fit-match-proof[data-fit-match-compact] .fit-match-label{margin-bottom:2px}}
@media(max-width:350px){.fit-match-proof[data-fit-match-compact]{grid-template-columns:64px minmax(0,1fr);column-gap:7px}}

/* Home invitation branding only: no reciprocal confirmation or celebration. */
.fit-pilot-received-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.fit-pilot-received-heading h2{margin:0;line-height:1.25}.fit-pilot-received .fit-match-emblem{width:54px;height:50px;flex:0 0 54px}.fit-pilot-received .fit-match-emblem>svg{position:relative;width:39px;height:26px;transform:translateY(-3px);overflow:visible}.fit-pilot-received .fit-match-sparkles{display:none}.fit-pilot-received .fit-match-emblem,.fit-pilot-received .fit-match-emblem *,.fit-pilot-received .fit-match-emblem:before{animation:none!important}.fit-pilot-received small{display:block;margin-top:10px;color:#526573;font-size:11px;line-height:1.5}@media(max-width:650px){.fit-pilot-received-heading{gap:10px}.fit-pilot-received-heading h2{font-size:22px}.fit-pilot-received p{font-size:14px;line-height:1.6}}

/* Keep Fit Match together, using balanced phrases only when needed. */
.fit-pilot-received-heading h2{min-width:0;text-wrap:balance}.fit-pilot-received-heading h2 span{white-space:nowrap;display:inline-block}@media(max-width:650px){.fit-pilot-received{padding:20px 16px}.fit-pilot-received-heading{gap:8px}.fit-pilot-received-heading h2{font-size:17px;letter-spacing:-.025em;line-height:1.3}.fit-pilot-received .fit-match-emblem{width:38px;height:36px;flex-basis:38px}.fit-pilot-received .fit-match-emblem>svg{width:28px;height:19px;transform:translateY(-2px)}}

/* Requested two-line lockup, vertically centered with the existing heart. */
.fit-pilot-received-heading{align-items:center;gap:12px}.fit-pilot-received-heading h2{margin:0;text-wrap:initial;line-height:1.25;letter-spacing:0}.fit-pilot-received-heading h2 .fit-invite-intro{display:block;font-size:15px;font-weight:500;white-space:nowrap;line-height:1.35}.fit-pilot-received-heading h2 .fit-invite-name{display:block;font-size:26px;font-weight:750;letter-spacing:-.025em;white-space:nowrap;line-height:1.15;margin-top:2px}.fit-pilot-received .fit-match-emblem{width:54px;height:50px;flex-basis:54px}.fit-pilot-received .fit-match-emblem>svg{width:39px;height:26px;transform:translateY(-3px)}@media(max-width:650px){.fit-pilot-received-heading{gap:10px}.fit-pilot-received-heading h2 .fit-invite-intro{font-size:14px}.fit-pilot-received-heading h2 .fit-invite-name{font-size:25px}}
