.discovery-layout{display:grid;grid-template-columns:220px minmax(0,660px);gap:56px;justify-content:center;padding:36px 0 64px;align-items:start}
.discovery-sidebar{position:sticky;top:24px;padding:20px 8px}.discovery-sidebar nav{display:grid;gap:8px;margin:24px 0}.discovery-sidebar nav a{padding:14px 18px;border-radius:16px;text-decoration:none;color:inherit;font-weight:600}.discovery-sidebar nav a:hover,.discovery-sidebar nav a[aria-current]{background:rgba(145,93,225,.14);color:#a877ed}.discovery-sidebar p{font-size:13px;opacity:.65;line-height:1.8}
.discovery-stream{min-width:0}.discovery-heading{margin:0 0 28px}.discovery-heading h1{font-size:44px;margin:8px 0}.discovery-heading p{opacity:.7}
.discovery-stream .social-feed-post{padding:0;border-radius:24px;overflow:hidden;margin:0 0 28px;box-shadow:0 12px 40px #00000008}.discovery-stream .social-feed-post>header{padding:20px 22px 8px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.discovery-stream .social-feed-post>header small{font-size:11px;opacity:.6}.discovery-stream .chat-identity img{border-radius:50%;width:38px;height:38px;object-fit:cover}.discovery-stream .social-feed-post>h3{font-size:18px;margin:12px 22px}.discovery-stream .post-body{padding:0 22px 16px;font-size:14px;line-height:1.65}
.discovery-photos{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#a877ed transparent;background:#121015}.discovery-photos .private-media{flex:0 0 100%;min-width:0;scroll-snap-align:start;margin:0;border:0;border-radius:0}.discovery-photos .media-enlarge{display:block;width:100%;padding:0;border:0;border-radius:0}.discovery-photos img{display:block;width:100%;height:auto;max-height:760px;object-fit:contain;margin:auto}.discovery-photos figcaption{color:#eee;text-align:center;font-size:11px;padding:8px}
.discovery-stream .feed-actions,.discovery-stream .feed-comments,.discovery-stream .tip-box,.discovery-stream .social-feed-post>details{margin:14px 22px}.discovery-stream .social-feed-post>details:last-child{margin-bottom:22px}
@media(max-width:800px){.discovery-layout{grid-template-columns:minmax(0,620px);gap:16px;padding-top:12px}.discovery-sidebar{position:static;padding:0}.discovery-sidebar>.eyebrow,.discovery-sidebar>p{display:none}.discovery-sidebar nav{display:flex;overflow-x:auto;margin:0;gap:4px}.discovery-sidebar nav a{white-space:nowrap;padding:12px;font-size:12px}.discovery-heading h1{font-size:32px}.discovery-heading{margin:12px 0 20px}.discovery-stream .social-feed-post{border-radius:18px}.discovery-photos img{max-height:75vh}.discovery-stream .social-feed-post>header{padding:16px}}
/* Social interactions, enhanced progressively; original forms work without JS. */
.social-stage{position:relative;background:#100e14}.discovery-stream .social-stage .discovery-photos img{height:min(76vh,740px);width:100%;max-height:none;object-fit:contain}.social-rail{position:absolute;right:14px;bottom:24px;display:flex;flex-direction:column;align-items:center;gap:18px;padding:12px 6px;border-radius:30px;background:#100c184d;backdrop-filter:blur(12px);color:white}.social-rail form{margin:0;padding:0;background:none;border:0}.social-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:48px;min-height:48px;padding:4px;border:0;background:transparent;color:white;cursor:pointer;box-shadow:none}.social-icon svg{width:28px;height:28px}.social-icon span{font-size:11px;font-weight:600;max-width:70px}.social-icon:hover{transform:scale(1.06);background:transparent}.social-icon[aria-pressed=true]{color:#ff6ca4}.social-icon[aria-pressed=true] svg{fill:currentColor}.social-icon:disabled{opacity:.5}.social-profile-link img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid #c5a1ff;box-shadow:0 0 0 3px #ffffff26}.social-sheet{padding:0;border:1px solid #ffffff20;border-radius:24px;width:min(560px,94vw);max-height:78dvh;background:#1b1822;color:#f5f1fa;box-shadow:0 24px 100px #0006}.social-sheet::backdrop{background:#08060e99;backdrop-filter:blur(4px)}.social-sheet[open]{display:flex;flex-direction:column}.social-sheet>header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #ffffff15}.social-sheet h2{font-size:18px;margin:0}.social-close{border:0;background:transparent;color:inherit;display:grid;place-items:center;padding:8px;border-radius:50%;cursor:pointer}.social-close svg{width:22px;height:22px}.social-sheet-body{overflow-y:auto;padding:12px 22px;min-height:140px;overscroll-behavior:contain}.social-sheet .feed-comment{position:relative;margin:0;padding:16px 0 16px 46px;border:0;border-bottom:1px solid #ffffff0d;font-size:13px}.social-sheet .feed-comment p{margin:5px 0;line-height:1.5}.comment-avatar{position:absolute;left:0;top:16px;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;background:#7050a1;color:white;font-weight:600}.social-sheet .feed-comment form{margin:0;padding:0;background:none;border:0}.social-sheet .feed-comment .text-button{font-size:11px;opacity:.7;padding:0}.social-comment-compose{display:flex;gap:10px;align-items:center;margin:0;padding:16px 20px;border-top:1px solid #ffffff18;background:inherit}.social-comment-compose textarea{min-height:44px;max-height:100px;resize:none;border-radius:24px;padding:12px 16px;margin:0;flex:1;background:#ffffff09;color:inherit;border:1px solid #ffffff25}.social-comment-compose button{display:grid;place-items:center;border-radius:50%;width:44px;height:44px;padding:10px;background:#9360da;color:white;border:0}.social-comment-compose button svg{width:22px;height:22px}.social-comment-empty{opacity:.65;text-align:center;padding:24px 0;font-size:14px}.social-action-error{font-size:12px;color:#ff91ae;max-width:300px}.social-comment-compose .social-action-error{flex-basis:100%}.social-comment-compose:has(.social-action-error){flex-wrap:wrap}
html[data-theme=light] .social-sheet{background:white;color:#251e32;border-color:#e6dff0}html[data-theme=light] .social-sheet>header,html[data-theme=light] .social-comment-compose,html[data-theme=light] .social-sheet .feed-comment{border-color:#ece7f3}html[data-theme=light] .social-comment-compose textarea{background:#f5f2f9;border-color:#ddd4e9}
@media(max-width:600px){.social-sheet{margin:auto 0 0;width:100%;max-width:none;max-height:75dvh;border-radius:24px 24px 0 0}.social-rail{right:8px;bottom:18px;gap:12px}.social-icon svg{width:26px;height:26px}.social-profile-link img{width:40px;height:40px}.social-sheet-body{padding:8px 16px}.social-comment-compose{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){.social-icon:hover{transform:none}}
.profile-posts.discovery-stream .post-grid{display:block}.profile-posts.discovery-stream .social-feed-post{margin-bottom:24px}.profile-posts .social-stage .private-media>figcaption{display:none}.profile-posts .social-stage video{display:block;width:100%;height:min(72vh,700px);object-fit:contain;background:#100e14}.profile-posts .social-stage:has(video) .social-rail{bottom:68px}.social-stage--text{background:none;padding:0 20px 16px}.social-stage--text .social-rail{position:static;flex-direction:row;justify-content:flex-start;width:fit-content;background:#51337526;color:inherit;border-radius:20px;backdrop-filter:none}.social-stage--text .social-icon{color:inherit}.social-stage--text .social-profile-link{display:none}.profile-posts .social-feed-post .locked{margin:16px 20px;border-radius:18px}.profile-posts .social-stage .private-media img{border-radius:0}

/* All photo orientations keep their full frame over a softly blurred duplicate. */
.discovery-stream .social-stage .media-enlarge.has-photo-backdrop{position:relative;isolation:isolate;overflow:hidden;background:#15121a}
.discovery-stream .social-stage .media-enlarge.has-photo-backdrop>.photo-blur-backdrop{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;filter:blur(26px) brightness(.65);transform:scale(1.14);z-index:-1;pointer-events:none;border-radius:0}
.discovery-stream .social-stage .media-enlarge.has-photo-backdrop>.photo-blur-foreground{position:relative;z-index:0;object-fit:contain;background:transparent}
/* Small visual controls with comfortable touch targets. */
.social-stage .social-rail{gap:8px;padding:8px 4px;border-radius:22px}
.social-stage .social-icon{min-width:44px;min-height:44px;gap:3px;padding:4px}
.social-stage .social-icon svg{width:21px;height:21px}
.social-stage .social-icon span{font-size:10px;font-weight:500;line-height:1.3}
.social-stage .social-profile-link img{width:34px;height:34px}
.social-stage--text .social-rail{padding:2px 4px;gap:6px;border-radius:12px;background:transparent}
.social-stage--text .social-icon{flex-direction:row;gap:6px;padding:6px 8px}
.social-stage--text .social-icon svg{width:19px;height:19px;flex-shrink:0}
.social-feed-post{scroll-margin-top:90px}

/* Like feedback never resizes or reconstructs the floating controls. */
.social-rail .social-like:disabled{opacity:1;cursor:progress}
.social-rail .social-like:active{transform:none}
.social-like svg{transform-origin:50% 65%;will-change:auto}
.social-like span{min-width:3ch;text-align:center;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:no-preference){
 .social-like.like-pop svg{animation:privva-heart-hop 580ms cubic-bezier(.2,.7,.3,1)}
}
@keyframes privva-heart-hop{
 0%{transform:scale(1) translateY(0)}
 22%{transform:scale(.86) translateY(1px)}
 48%{transform:scale(1.18) translateY(-4px)}
 72%{transform:scale(.97) translateY(0)}
 100%{transform:scale(1) translateY(0)}
}

/* Comments are a local drawer inside this photograph, never a page overlay. */
.social-stage:has(.social-sheet--inline){overflow:hidden;isolation:isolate}
.social-stage .social-sheet--inline{position:absolute;inset:auto 0 0;margin:0;width:100%;max-width:100%;box-sizing:border-box;max-height:min(65%,440px);border-radius:22px 22px 0 0;z-index:5;box-shadow:0 -12px 40px #0003;border-bottom:0;overscroll-behavior:contain}
.social-stage .social-sheet--inline>header{flex:0 0 auto;padding:13px 16px}
.social-stage .social-sheet--inline .social-sheet-body{min-height:0;flex:1 1 auto;padding:4px 16px}
.social-stage .social-sheet--inline .social-comment-compose{flex:0 0 auto;padding:10px 14px;min-width:0}
.social-sheet--inline .social-comment-compose textarea{min-width:0}
.social-stage--text .social-sheet--inline{position:relative;inset:auto;max-height:380px;margin-top:10px;border-radius:16px}
@media(prefers-reduced-motion:no-preference){
 .social-stage .social-sheet--inline{transform:translateY(32px);transition:opacity 240ms ease,transform 320ms cubic-bezier(.22,1,.36,1),display 320ms allow-discrete}
 .social-stage .social-sheet--inline[open]{transform:translateY(0)}
 @starting-style{.social-stage .social-sheet--inline[open]{opacity:0;transform:translateY(32px)}}
}
