/* Shared web and Android social surfaces. Themes supply every surface color. */
.discovery-swipe-stamp{position:absolute;top:30px;max-width:75%;border:3px solid currentColor;border-radius:12px;padding:7px 14px;font-size:clamp(19px,5vw,30px);font-weight:800;text-transform:uppercase;letter-spacing:.04em;opacity:0;pointer-events:none;z-index:3;background:#07121d55;backdrop-filter:blur(5px)}
.stamp-like{left:22px;color:#9bffd2;transform:rotate(-13deg)}.stamp-pass{right:22px;color:#ffc1cb;transform:rotate(13deg)}
[data-swipe=like] .stamp-like,[data-swipe=pass] .stamp-pass{opacity:var(--swipe-opacity,0)}
.discovery-studio[data-view=deck] .discovery-grid{position:relative;height:clamp(480px,calc(100svh - 240px),680px);max-width:440px;isolation:isolate;margin-bottom:18px}
.discovery-studio[data-view=deck] .discovery-grid>.discovery-person[data-depth]{display:flex;flex-direction:column;position:absolute;inset:0;transform-origin:50% 88%;background:var(--beta-paper);backface-visibility:hidden;box-shadow:0 18px 40px #0002;border-radius:28px;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s;overflow:hidden}
.discovery-studio[data-view=deck] .discovery-grid>[data-depth="0"]{z-index:3;transform:translate3d(0,0,0)}
.discovery-studio[data-view=deck] .discovery-grid>[data-depth="1"]{z-index:2;transform:translate3d(0,12px,0) scale(.955);opacity:.88;pointer-events:none}
.discovery-studio[data-view=deck] .discovery-grid>[data-depth="2"]{z-index:1;transform:translate3d(0,23px,0) scale(.91);opacity:.62;pointer-events:none}
.discovery-studio[data-view=deck] .discovery-grid>.discovery-person[data-depth="3"]{display:none}
.discovery-studio[data-view=deck] .discovery-person.discovery-dragging,.discovery-studio[data-view=deck] .discovery-person.discovery-committing{transition:none;will-change:transform;z-index:4}
.discovery-studio[data-view=deck] .discovery-photo{flex:1;min-height:220px;aspect-ratio:auto;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.discovery-studio[data-view=deck] .discovery-photo img{pointer-events:none}
.discovery-studio[data-view=deck] .discovery-person-caption{inset-inline:23px;bottom:20px;gap:8px}
.discovery-studio[data-view=deck] .discovery-person-caption strong{font-size:30px}.discovery-studio[data-view=deck] .discovery-person-caption small{font-size:12px}
.discovery-studio[data-view=deck] .discovery-person-detail{padding:12px 22px 0;flex:none;font-size:13px;line-height:1.5;max-height:90px;overflow:hidden}
.discovery-studio[data-view=deck] .discovery-person-detail p{margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.discovery-studio[data-view=deck] .discovery-person-detail .muted{white-space:nowrap;display:block;text-overflow:ellipsis;overflow:hidden}
.discovery-studio[data-view=deck] .discovery-choices{padding:12px 24px 10px;gap:22px;flex:none}.discovery-studio[data-view=deck] .discovery-choice{border-radius:50%;width:58px;height:58px;min-height:58px;box-shadow:0 5px 15px #0001;border:1px solid var(--beta-line);margin:auto;transition:transform .16s}.discovery-studio[data-view=deck] .discovery-choice small{display:none}.discovery-studio[data-view=deck] .discovery-choice span{font-size:34px}.discovery-choice:active{transform:scale(.92)}
.discovery-studio[data-view=deck] .discovery-safety{padding:0 22px 12px;justify-content:center;font-size:10px}.discovery-expanded .discovery-swipe-stamp{display:none}
.discovery-match-link{display:block;padding:15px 20px;border-radius:20px;background:var(--design-soft);border:1px solid var(--beta-accent);text-decoration:none;animation:match-reveal .4s cubic-bezier(.16,1,.3,1)}
@keyframes match-reveal{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
.discovery-filter-sheet[open],.discovery-person-sheet[open]{animation:sheet-arrive .24s cubic-bezier(.16,1,.3,1)}@keyframes sheet-arrive{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.chat-inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-block:12px 22px}.chat-inbox-heading h1{font-size:32px;letter-spacing:-.045em;margin:4px 0}.chat-inbox-heading .eyebrow{font-size:9px;letter-spacing:.2em}
.chat-inbox .chat-search input{width:100%;border-radius:20px;padding:15px 20px;background:var(--beta-paper);border:1px solid var(--beta-line);color:var(--beta-ink);font:inherit}
.chat-inbox .conversation-row{transition:transform .16s,background .16s;content-visibility:auto;contain-intrinsic-size:auto 86px}.chat-inbox .conversation-row:active{transform:scale(.985)}
.chat-inbox .conversation-row .avatar{width:56px;height:56px;border-radius:50%;overflow:hidden}.chat-inbox .avatar img{width:100%;height:100%;object-fit:cover}.chat-inbox .conversation-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin-top:5px;line-height:1.5}.conversation-meta{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex:none;font-size:11px;color:var(--beta-muted)}
.chat-inbox .stellar-contact-rail{scroll-snap-type:x proximity;scrollbar-width:none}.chat-inbox .stellar-contact-rail a{scroll-snap-align:start}
html.summer-theme[data-design-family] .chat-screen{display:flex;flex-direction:column;height:var(--chat-height,calc(100dvh - 220px));max-width:850px;min-height:260px;padding-top:10px;padding-bottom:0;margin-top:0;overflow:hidden;gap:8px}
html.summer-theme[data-design-family] .chat-screen .chat-top{display:flex;flex-wrap:nowrap;flex:none;padding:12px 15px;gap:11px;border-radius:22px;margin:0;min-height:66px}
html.summer-theme[data-design-family] .chat-screen .chat-top .chat-back{flex:0 0 26px;padding:0;margin:0;font-size:35px;line-height:36px;text-decoration:none;color:var(--beta-ink)}
html.summer-theme[data-design-family] .chat-screen .chat-top>div{flex:1 1 auto;min-width:0}.chat-screen .chat-top strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-screen .chat-top small{display:block;font-size:10px;color:var(--beta-muted)}.chat-screen .chat-top .avatar{width:38px;height:38px;flex:none}
html.summer-theme[data-design-family] .chat-screen .chat-top .call-buttons{flex:0 0 auto;gap:5px}.chat-screen .call-buttons button{width:34px!important;min-width:34px!important;height:34px!important;padding:7px!important}
.chat-screen .chat-tools{flex:none;margin:0;font-size:11px}.chat-screen .stellar-chat-tool-body{max-height:25dvh;overflow:auto;padding:12px}.chat-screen .stellar-security-note{font-size:10px;line-height:1.3;margin:0 5px;color:var(--beta-muted)}
.chat-timeline{position:relative;flex:1;min-height:90px;display:flex;overflow:hidden;border:1px solid var(--beta-line);border-radius:24px}
html.summer-theme[data-design-family] .chat-screen .messages{flex:1;min-height:0;height:auto;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:20px 14px;gap:10px;border:0;border-radius:0;scrollbar-width:thin;overflow-anchor:none}
html.summer-theme[data-design-family] .chat-screen .message{flex:none;max-width:83%;border-radius:20px 20px 20px 5px;padding:11px 14px;margin:0;box-shadow:0 3px 12px #00000008;overflow-wrap:anywhere}
html.summer-theme[data-design-family] .chat-screen .message.own{border-radius:20px 20px 5px 20px}.chat-screen .message p{font-size:14px;line-height:1.5;white-space:pre-wrap;margin:0 0 4px}.chat-screen .message time{font-size:9px;opacity:.65}.chat-screen .message .receipt{display:inline;font-size:9px;margin-inline-start:6px;opacity:.8}.chat-screen .message-pending{opacity:.72}.chat-screen .message-failed{outline:1px dashed #e78787;opacity:1}.chat-screen .chat-retry{border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;cursor:pointer;padding:6px}
.chat-screen .message-arriving{animation:message-arrive .22s cubic-bezier(.16,1,.3,1)}@keyframes message-arrive{from{opacity:0;transform:translate3d(0,12px,0) scale(.97)}to{opacity:1;transform:none}}
html.summer-theme[data-design-family] .chat-screen .chat-form{display:flex;flex-wrap:nowrap;align-items:flex-end;flex:none;gap:8px;margin:0;padding:8px;border-radius:26px;box-shadow:0 5px 22px #0001}
html.summer-theme[data-design-family] .chat-screen .chat-form textarea{flex:1 1 auto;width:0;min-width:0;min-height:42px;max-height:118px;padding:11px 13px;border:0;background:transparent;box-shadow:none;resize:none;line-height:1.4;border-radius:20px;margin:0}
html.summer-theme[data-design-family] .chat-screen .chat-form .chat-send{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:11px;border-radius:50%;margin:0}.chat-send svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}
.chat-screen .chat-new-messages{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);border:1px solid var(--beta-line);border-radius:24px;background:var(--beta-paper);color:var(--beta-ink);padding:10px 17px;box-shadow:0 6px 22px #0002;cursor:pointer;white-space:nowrap;font:600 12px inherit}
.chat-screen .chat-safety{flex:none;font-size:10px;margin:0 8px;color:var(--beta-muted)}.chat-screen .chat-safety summary{cursor:pointer;list-style:none;text-align:center;padding:4px}.chat-screen .safety-links{justify-content:center;margin:6px 0}.chat-screen #chat-status{flex:none;font-size:12px;margin:0;padding:9px;border-radius:14px}
html:has(.chat-screen) :is(.welcome-guide,.legal-footer){display:none}
.hub-post{animation:message-arrive .22s ease-out}.hub-posts{overflow-anchor:auto}.hub-compose textarea{transition:height .15s;max-height:180px}.hub-tabs button{transition:background .2s,transform .15s}.hub-tabs button:active{transform:scale(.96)}
@media(max-width:600px){html.summer-theme[data-design-family] .chat-inbox .stellar-hero{display:none!important}.chat-inbox .theme-world-links{display:none!important}.chat-inbox-heading{margin:6px 0 18px}.chat-inbox .conversation-row{border-radius:19px!important;padding:14px!important;margin-block:9px!important}.chat-inbox .stellar-contact-rail{margin-block:12px}.chat-inbox .social-heading{display:none}.chat-screen .chat-top{box-shadow:0 4px 18px #00000006}.discovery-studio[data-view=deck] .discovery-grid{height:clamp(440px,calc(100svh - 225px),620px)}.native-app .discovery-studio[data-view=deck] .discovery-grid{height:clamp(370px,calc(100svh - 147px),620px)}.discovery-studio[data-view=deck] .discovery-top h1{font-size:26px}.discovery-studio[data-view=deck] .discovery-top{margin-bottom:8px}.discovery-studio[data-view=deck]{padding-bottom:45px}.discovery-studio[data-view=deck] .discovery-person-caption strong{font-size:26px}.discovery-studio[data-view=deck] .discovery-person-detail{max-height:64px;font-size:12px;padding-top:8px}}
@media(prefers-reduced-motion:reduce){.discovery-grid>.discovery-person,.discovery-match-link,.discovery-filter-sheet,.discovery-person-sheet,.chat-screen .message-arriving,.hub-post,.hub-tabs button,.chat-inbox .conversation-row{animation:none!important;transition:none!important}}

html.summer-theme[data-design-family] .privacy-notice{background:var(--beta-paper)!important;border-color:var(--beta-line)!important;color:var(--beta-ink)}html.summer-theme[data-design-family] .privacy-notice .help{color:var(--beta-muted)}

@media(max-width:600px){html:has([data-discovery]) .welcome-guide{display:none!important}.discovery-studio[data-view=deck] .discovery-photo{min-height:130px}.discovery-studio[data-view=deck] .discovery-choices{padding-top:7px;padding-bottom:7px}.discovery-studio[data-view=deck] .discovery-person-detail{max-height:58px}.discovery-studio[data-view=deck] .discovery-person-detail p{margin-bottom:3px}.discovery-studio[data-view=deck] .discovery-choice{width:50px;height:50px;min-height:50px}.discovery-studio[data-view=deck] .discovery-safety{padding-bottom:9px}}

.native-app:has(.chat-screen) footer.shell{display:none!important}.native-app:has(.chat-screen) body{overflow:hidden}

.discovery-studio[data-view=deck] .discovery-grid>.discovery-person:not([data-depth="0"])>*{visibility:hidden}.discovery-studio .discovery-choice-like{background:var(--beta-accent)!important;color:var(--design-on-accent,#fff)!important;border-color:transparent}
