/* The profile card owns vertical gestures; tools live behind its downward reveal. */
.real-discovery .discovery-accessible-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.real-discovery .discovery-layout:has(+.discovery-more){height:var(--discovery-stage-height,auto);grid-template-columns:minmax(0,480px);justify-content:center;overflow:hidden}
.real-discovery .discovery-layout:has(+.discovery-more) .discovery-deck{position:relative;display:flex;flex-direction:column;min-height:0;height:100%;--discovery-action-space:104px}
/* Scale desktop photos together, preserving a 4:5 portrait within the available stage. */
@media(min-width:1000px){
 .app-host:has(.app-chrome) #app>.shell.real-discovery{padding-top:8px}
 .app-host:has(.app-chrome) .real-discovery .discovery-layout:has(+.discovery-more){--desktop-card-height:min(var(--discovery-stage-height,1100px),1100px);grid-template-columns:minmax(0,calc(var(--desktop-card-height) * .8));height:var(--desktop-card-height)}
 .app-host:has(.app-chrome) .real-discovery .discovery-layout:has(+.discovery-more[open]){height:var(--discovery-stage-height,620px)}
 .app-host:has(.app-chrome) .real-discovery .discovery-more[open]{width:min(calc(min(var(--discovery-stage-height,1100px),1100px) * .8),calc(100vw - 32px))}
}
.app-host:has(.app-chrome) .real-discovery .discovery-layout:has(+.discovery-more) .fc-profile{flex:1;min-height:220px;height:auto;max-height:none}
.real-discovery .discovery-layout:has(+.discovery-more) .real-actions{position:absolute;z-index:5;left:0;right:0;bottom:0;min-height:var(--discovery-action-space);margin:0;padding:20px 8px 16px;align-items:center;gap:clamp(7px,2vw,16px);border-radius:0 0 24px 24px;background:linear-gradient(transparent,#260c1926 50%,#260c194d);pointer-events:none}
.real-discovery .discovery-deck>.real-actions button{pointer-events:auto;border:1px solid #ffffffd9;background:#fff9fc;color:var(--burgundy);box-shadow:0 4px 14px #1f071c33,inset 0 1px 0 #fff}
.real-discovery .discovery-deck>.real-actions .action-pass{--action-fill:#ffe8e5;background:#ffe8e5;color:#a33648;border-color:#fff5f2}
.real-discovery .discovery-deck>.real-actions .action-back{--action-fill:#fff0d9;background:#fff0d9;color:#87562b;border-color:#fff8eb}
.real-discovery .discovery-deck>.real-actions .like{--action-fill:#ffdce7;background:#ffdce7;color:#b3224b;border-color:#fff0f5}
.real-discovery .discovery-deck>.real-actions [data-profile-toggle]{--action-fill:#eee4fc;background:#eee4fc;color:#68458b;border-color:#f8f3ff}
.real-discovery .discovery-deck>.real-actions .action-super{--action-fill:#dff1ff;background:#dff1ff;color:#286383;border-color:#f1faff}
.real-discovery .discovery-deck>.real-actions button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.real-discovery .discovery-deck>.fc-profile:not(.is-expanded) .fc-summary{bottom:calc(var(--discovery-action-space) + 10px)}
.real-discovery .discovery-deck>.fc-profile.is-expanded .fc-details{padding-bottom:28px;scroll-padding-bottom:28px}
.real-discovery .discovery-deck:has(>.fc-profile.is-expanded)>.real-actions{display:none}
.real-discovery .discovery-layout:has(+.discovery-more[open]) .real-actions button{pointer-events:none}
.real-discovery .real-actions .action-small{width:44px;min-width:44px;height:44px;min-height:44px;font-size:22px}
.app-host:has(.app-chrome) .real-discovery .real-actions .action-small{width:44px;min-width:44px;height:44px;min-height:44px}
.app-host:has(.app-chrome) .real-discovery .real-actions :is(.action-pass,.like){width:68px;min-width:68px;height:68px;min-height:68px;padding:0;font-size:30px;flex:none}
.app-host:has(.app-chrome) .real-discovery .real-actions [data-profile-toggle]{width:48px;min-width:48px;height:48px;min-height:48px;padding:0;font-size:23px}
.real-discovery .real-actions button{display:grid;place-items:center}
.real-discovery .real-actions .action-back{color:#a06a32}
.real-discovery .real-actions .action-super{color:#246d91}
.real-discovery .real-actions .action-super svg{width:22px;height:22px;fill:currentColor}
.real-discovery .real-actions .action-back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5}
.real-discovery .real-actions .action-small:disabled{opacity:.4;cursor:not-allowed}
html.discovery-stage-active,html.discovery-stage-active body{overflow:hidden;overscroll-behavior:none}
.discovery-more:not([open]){display:none}
.discovery-more>summary{display:none}
.real-discovery .discovery-more[open]{position:fixed;left:var(--discovery-tools-center,50%);top:var(--discovery-tools-top,8px);transform:translateX(-50%);z-index:48;width:min(480px,calc(100vw - 32px));height:auto;max-height:var(--discovery-tools-height,50dvh);padding:14px;border:1px solid var(--line);border-radius:24px;background:#fff8fa;box-shadow:0 18px 46px #64162b2b;overflow:hidden;animation:more-reveal .3s ease-out}
.discovery-more-content{height:auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;outline:none}
.discovery-more[open]::details-content{display:block;height:auto;min-height:0}
.real-discovery .discovery-more[open] .discovery-more-content{height:auto;max-height:calc(var(--discovery-tools-height,50dvh) - 30px);min-height:0;touch-action:pan-y;overscroll-behavior-y:contain;padding-bottom:0;-webkit-overflow-scrolling:touch}
.discovery-more-content .discovery-products{margin-top:10px;gap:10px}
.discovery-more-content .event-pass-ticket,.discovery-more-content .boost-product{flex-direction:column;align-items:stretch;padding:16px;border-radius:20px;gap:12px;box-shadow:none}
.discovery-more-content .premium-actions{min-width:0;border:0;padding:0}
.discovery-more-content .premium-actions:empty{display:none}
.discovery-more-content .premium-actions button,.discovery-more-content .boost-product>button{min-height:44px;padding:10px 14px;font-size:13px;box-shadow:none}
.discovery-more-content :is(.event-pass-ticket,.boost-product) h2{margin:0 0 6px;font-size:19px;letter-spacing:-.025em}
.discovery-more-content :is(.event-pass-ticket,.boost-product) p{margin:0 0 5px;font-size:13px;line-height:1.45}
.discovery-more-content :is(.event-pass-ticket,.boost-product) small{font-size:11px;line-height:1.4}
.discovery-more-content .event-pass-ticket .included-boost{margin-top:8px;padding:5px 9px;border-radius:9px;font-size:11px}
.discovery-more-content .discovery-extras{padding:0;margin:0;border:0;background:none}
.discovery-more-content .discovery-tool{padding:12px;gap:12px;border-radius:18px;min-height:64px;box-shadow:none}
.discovery-more-content .discovery-tool-icon{width:38px;height:38px;border-radius:12px}
.discovery-more-content .discovery-tool-icon svg{width:24px;height:24px}
.discovery-more-content .discovery-sidebar{gap:0}
.discovery-more-content .discovery-connections{padding:0;border:0;margin:10px 0 0}
.discovery-more-content .discovery-connections .discovery-likes{padding:12px;border:1px solid var(--line);border-radius:18px;gap:6px}
.discovery-more-content .boost-product>button{max-width:none}
.discovery-more-content .boost-product{background:linear-gradient(120deg,#fffcf7,#faf0e6);border-color:#ebd8c6}
.discovery-more-content .boost-product h2{color:#70482c}
.discovery-more-content .boost-product :is(p,small){color:#755e50}
.discovery-more-content .discovery-connections{margin-top:12px}
.discovery-tools-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:var(--burgundy)}
.discovery-tools-head h2{margin:0;font-size:18px}
.real-discovery .discovery-layout:has(+.discovery-more[open]) .fc-profile{translate:0 var(--discovery-tools-offset,var(--discovery-tools-height,50dvh));transition:translate .32s cubic-bezier(.2,.8,.2,1);z-index:1}
.real-discovery .discovery-layout:has(+.discovery-more[open]) .real-actions{opacity:0;pointer-events:none}
@keyframes more-reveal{from{opacity:0;translate:0 -18px}to{opacity:1;translate:0 0}}
.discovery-feedback{position:absolute;inset:0;z-index:8;pointer-events:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#fff;background:radial-gradient(ellipse at center,#197bba99,transparent 75%);text-shadow:0 3px 18px #123e73;font-size:24px}
.discovery-feedback.super span{font-size:100px;line-height:1;animation:super-star .65s ease-out}
.discovery-feedback.back{background:radial-gradient(ellipse at center,#a06a3266,transparent 70%)}
.discovery-feedback.back svg{width:86px;height:86px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;animation:back-spin .65s ease-out}
.real-discovery .action-back svg{stroke-linecap:round;stroke-linejoin:round}
@keyframes super-star{0%{transform:scale(.3) rotate(-25deg);opacity:0}55%{transform:scale(1.2) rotate(8deg);opacity:1}100%{transform:scale(1) rotate(0)}}
@keyframes back-spin{from{transform:rotate(140deg) scale(.6);opacity:0}to{transform:rotate(0) scale(1);opacity:1}}
@media(max-width:360px){.real-discovery .discovery-layout:has(+.discovery-more) .real-actions{gap:7px}.app-host:has(.app-chrome) .real-discovery .real-actions :is(.action-pass,.like){width:60px;min-width:60px;height:60px;min-height:60px}}
@media(prefers-reduced-motion:reduce){.discovery-feedback.super span,.discovery-feedback.back svg{animation:none}}
/* Frosted surfaces retain a solid pastel fallback and never intercept card gestures. */
.real-discovery .discovery-deck>.real-actions button{position:relative;transition:box-shadow .2s ease,scale .2s ease;box-shadow:0 4px 12px #18081728,inset 0 1px 1px #ffffffef,inset 0 -1px 2px #ffffff70}
.real-discovery .discovery-deck>.real-actions button::after{content:"";position:absolute;inset:2px;border-radius:inherit;border-top:1px solid #ffffffde;border-left:1px solid #ffffff60;border-right:1px solid #ffffff20;pointer-events:none}
@supports ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))){
 .real-discovery .discovery-deck>.real-actions button:is([class],[data-profile-toggle]){background-color:color-mix(in srgb,var(--action-fill,#fff9fc) 58%,transparent);background-image:linear-gradient(145deg,#ffffff42 0%,#ffffff08 38%,#ffffff00 65%,#ffffff24 100%);color:var(--action-ink,#64162b);text-shadow:0 1px 1px #ffffff66;border-color:#ffffff70;backdrop-filter:blur(8px) saturate(165%) brightness(1.25);-webkit-backdrop-filter:blur(8px) saturate(165%) brightness(1.25)}
}
@media(hover:hover){.real-discovery .discovery-deck>.real-actions button:enabled:hover{scale:1.04;box-shadow:0 5px 14px #18081730,inset 0 1px 2px #fff,inset 0 -1px 3px #ffffff9c}}
.real-discovery .discovery-deck>.real-actions button:enabled:active{scale:.96}
@media(prefers-reduced-transparency:reduce){.real-discovery .discovery-deck>.real-actions button:is([class],[data-profile-toggle]){background:var(--action-fill,#fff9fc);color:#64162b;text-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){.real-discovery .discovery-deck>.real-actions button{transition:none;scale:1!important}}
@media(prefers-reduced-motion:reduce){.real-discovery .discovery-more[open]{animation:none}.real-discovery .discovery-layout:has(+.discovery-more[open]) .fc-profile{transition:none}}

.real-discovery .real-actions .action-pass{--action-ink:#a33648;--swipe-strength:var(--swipe-pass,0)}
.real-discovery .real-actions .like{--action-ink:#b3224b;--swipe-strength:var(--swipe-like,0)}
.real-discovery .real-actions .action-back{--action-ink:#87562b}
.real-discovery .real-actions .action-super{--action-ink:#286383}
.real-discovery .real-actions [data-profile-toggle]{--action-ink:#68458b}
.real-discovery .discovery-deck>.real-actions :is(.like,.action-pass){transform:translateY(calc(var(--swipe-strength,0) * -7px)) scale(calc(1 + var(--swipe-strength,0) * .22));transition:transform .12s ease-out,box-shadow .2s ease,scale .2s ease}
@media(prefers-reduced-motion:reduce){.real-discovery .discovery-deck>.real-actions :is(.like,.action-pass){transform:none;transition:none}}

.likes-count-locked{display:inline-block;filter:blur(5px);user-select:none}.discovery-like-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.discovery-like-cards article{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff}.discovery-like-cards img{display:block;width:100%;height:200px;object-fit:cover}.discovery-like-cards h3{margin:12px;font-size:16px}.discovery-like-cards .actions{display:flex;gap:8px;padding:0 12px 12px}.discovery-like-cards .actions button{flex:1;min-width:0;padding:10px 8px;font-size:13px}.discovery-dialog:has(.discovery-like-cards){width:min(850px,calc(100% - 24px))}@media(min-width:900px){.discovery-like-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}

.discovery-like-cards .chat-avatar{width:100%;height:auto;aspect-ratio:3/4;border-radius:18px;overflow:hidden}.discovery-like-cards .chat-avatar>img{width:100%;height:100%;object-fit:cover}.discovery-like-cards .chat-avatar-atlas>img{width:calc(var(--portrait-grid)*100%);height:calc(var(--portrait-grid)*100%)}

/* Full profile photography and compact liquid-glass decisions for incoming likes. */
.discovery-more-content .discovery-connections .discovery-likes,.discovery-likes{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:12px!important;border:1px solid #b9d6ef!important;border-radius:18px!important;background:linear-gradient(120deg,#f5fbffdd,#dff1ffc9)!important;box-shadow:inset 0 1px #fff,0 10px 25px #28638312;text-align:left}.likes-heart{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:#dff1ff;color:#286383!important;font-size:24px!important;box-shadow:inset 0 1px #fff}.likes-copy{display:grid;gap:5px;flex:1;min-width:0}.likes-copy b{color:#286383;font-size:15px}.likes-copy small{font-size:12px;line-height:1.5;color:var(--muted)}.likes-count-badge{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:15px;background:#ffffffad;color:#286383!important;border:1px solid #fff;font-size:20px!important;font-weight:800;box-shadow:0 4px 12px #8418340c;font-variant-numeric:tabular-nums}.discovery-likes.is-locked .likes-count-badge{user-select:none}.incoming-likes-dialog{width:min(1380px,calc(100% - 48px))!important;max-width:none!important;max-height:calc(100dvh - 48px)!important;padding:30px!important;background:linear-gradient(150deg,#fffafc,#f7edf2)!important;border:1px solid #fff!important;border-radius:30px!important}.likes-dialog-heading{display:flex;align-items:center;gap:16px;padding-right:44px;margin-bottom:24px}.likes-dialog-heading h2{margin:0 0 5px}.likes-dialog-heading p{margin:0;color:var(--muted);font-size:14px}.likes-dialog-heading>.likes-count-badge{margin-left:auto}.incoming-likes-dialog .discovery-like-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;align-items:start}.incoming-like-card{min-width:0;max-width:420px;width:100%;justify-self:center}.incoming-like-card .fc-profile{width:100%;height:auto!important;min-height:0!important;aspect-ratio:3/4;border-radius:24px;margin:0;border:0;box-shadow:0 12px 30px #541a2a18}.incoming-like-card .fc-media{height:100%;min-height:0!important}.incoming-like-card .fc-summary{padding:20px!important}.incoming-like-card .fc-summary h2{font-size:25px!important}.incoming-like-card .fc-summary p{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.incoming-like-card .fc-profile img{height:100%;width:100%;object-fit:cover}.incoming-like-actions{display:flex;align-items:center;justify-content:center;gap:22px;padding:12px;margin:10px 0 0;border:1px solid #fff;border-radius:22px;background:#ffffff75;backdrop-filter:blur(16px)}.incoming-like-actions button{display:grid;place-items:center;width:60px!important;height:56px!important;min-height:56px;border-radius:18px!important;padding:0!important;border:1px solid #fff;font-size:30px;line-height:1;box-shadow:inset 0 1px #fff,0 4px 12px #541a2a0c;cursor:pointer}.incoming-like-actions .action-pass{background:#ffffffb3;color:#7c4253}.incoming-like-actions .like{background:#f7cedec9;color:#c02955}.incoming-like-actions button:hover{transform:scale(1.07)}.incoming-like-actions button:disabled{opacity:.5}.likes-empty{grid-column:1/-1;text-align:center;padding:50px 20px}.likes-empty>span{font-size:70px;color:#bc365a}.likes-empty .button{width:100%;max-width:420px}
@media(max-width:650px){.incoming-likes-dialog{width:calc(100% - 16px)!important;max-height:calc(100dvh - 20px)!important;padding:16px!important;border-radius:24px!important}.incoming-likes-dialog .discovery-like-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.incoming-like-card .fc-summary{padding:10px!important}.incoming-like-card .fc-summary h2{font-size:18px!important}.incoming-like-card .fc-summary p{display:none}.incoming-like-actions{gap:10px;padding:8px;border-radius:16px}.incoming-like-actions button{width:44px!important;height:44px!important;min-height:44px;font-size:26px;border-radius:14px!important}.likes-dialog-heading{gap:10px;padding-right:28px}.likes-dialog-heading .likes-heart{display:none}.likes-dialog-heading h2{font-size:23px}.likes-dialog-heading p{font-size:12px}.likes-count-badge{min-width:36px;height:36px}.incoming-like-card .fc-photo-nav{left:9px;right:9px}}
