.social-feed-toolbar{padding:15px 30px 0;display:flex;justify-content:flex-end}.social-feed-toolbar button{font-size:11px}.social-status{padding:30px;font-size:13px;line-height:1.8;color:var(--muted)}.social-status button{margin-top:15px;display:block}.social-image{margin:20px -4px 0}.social-image img{display:block;max-height:600px;max-width:100%;width:100%;object-fit:contain;border-radius:12px;background:var(--bg)}.social-image figcaption{font-size:11px;color:var(--muted);margin:8px 0}.social-media{margin-top:20px;border:1px solid var(--line);border-radius:12px;padding:15px}.social-media strong{display:block;font-size:12px;margin-bottom:12px}.social-media video{width:100%;max-height:600px;border-radius:8px}.social-media audio{width:100%}.post-block-text{margin-top:12px;white-space:pre-wrap}.upload-hint{font-size:10px;line-height:1.8;color:var(--muted);margin:12px 0}.post-options{border-top:1px solid var(--line);padding:12px 0 0;margin-top:12px;color:var(--muted);font-size:10px}.post-options summary{cursor:pointer}.post-options button{padding:12px 12px 2px 0;color:var(--text);font-size:11px}.post-actions{gap:12px}.post-actions>button:last-child{margin-left:auto}.explore-row{flex-wrap:wrap;gap:10px}.explore-row>.secondary-btn{font-size:10px}.comment small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.comment>div{min-width:0;flex:1}.comment p{white-space:pre-wrap;overflow-wrap:anywhere}.comment button{padding-left:0;text-align:left}.removed-posts{margin-top:25px;border:1px solid var(--line);border-radius:12px;padding:18px}.removed-posts summary{font-size:12px;cursor:pointer}.removed-posts .settings-row{gap:15px;font-size:11px}.author-banner{width:100%;height:110px;object-fit:cover}.people-panel .person>div{min-width:0}.people-panel .person strong,.person small{overflow-wrap:anywhere}.composer .image-upload-btn input{width:100%}#social-search{margin-bottom:25px}#social-search .field{margin-top:0}#social-search .secondary-btn{margin-top:0}.feed-bottom button{margin-bottom:40px}.post-body p{overflow-wrap:anywhere}.related-card strong{overflow-wrap:anywhere}.social-feed-toolbar+.timeline{padding-top:15px}
@media(max-width:640px){.social-feed-toolbar{padding:12px 18px 0}.post-actions{gap:8px}.post-actions svg{width:18px;height:18px}.social-image{margin:16px -5px 0}.social-image img{max-height:440px}.social-media{padding:10px}.social-status{padding:24px 18px}}

/* Compact social feed cards with one unobtrusive action row. */
.feed-profile-preview{margin:12px 30px 0}
.feed-identity-banner{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:3.4;min-height:145px;max-height:185px;border:1px solid var(--line);border-radius:15px;background-size:cover}
.feed-banner-image,.feed-banner-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.feed-banner-shade{background:linear-gradient(180deg,transparent 30%,#10101488 100%)}
.feed-profile-preview .feed-banner-shade{background:linear-gradient(180deg,transparent 18%,rgba(16,16,20,.12) 45%,rgba(16,16,20,.65) 78%,rgba(16,16,20,.94) 100%)}
.feed-banner-adjust{position:absolute;inset:0;width:100%;height:100%;text-align:right;padding:12px;display:flex;align-items:flex-start;justify-content:flex-end}
.feed-banner-adjust>span{display:flex;align-items:center;gap:5px;font-size:10px;padding:6px 8px;background:#101014ad;border-radius:6px;opacity:0}
.feed-banner-adjust:hover>span,.feed-banner-adjust:focus-visible>span{opacity:1}
.feed-banner-adjust svg{width:13px;height:13px}
.feed-banner-avatar{position:absolute;left:12px;bottom:10px;padding:0;z-index:2}
.feed-banner-avatar .avatar{width:80px;height:80px;border-radius:18px!important;border:3px solid #101014b0;font-size:28px;background:var(--panel)}
.feed-banner-name{position:absolute;right:14px;bottom:12px;padding:0;text-align:right;max-width:calc(100% - 120px);z-index:2;text-shadow:0 2px 10px #0009}
.feed-banner-name strong{font-size:36px;line-height:1.15;letter-spacing:-.8px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feed-banner-name small{font-size:11px;display:block;color:#F7F7FA;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-feed-toolbar{padding:8px 30px 0}
.social-feed-toolbar button{font-size:10px;padding:5px 8px}
.social-feed-toolbar+.timeline{padding-top:10px}
.feed-entry{border-bottom:0;margin-bottom:0;padding-bottom:16px}
.compact-post{border-radius:16px;overflow:visible;min-height:0}
.compact-post .post-head{padding:12px 14px 8px;gap:9px;align-items:flex-start}
.compact-post .post-head .avatar{width:42px;height:42px}
.compact-post .post-identity{flex:1;padding-top:2px}
.compact-post .post-identity strong{font-size:16px;font-weight:700;line-height:1.25}
.compact-post .post-identity small{font-size:11px;margin-top:2px;overflow-wrap:anywhere}
.post-menu{margin-left:auto;position:relative;z-index:3}
.post-menu summary{list-style:none;cursor:pointer;color:var(--text);font-weight:700;letter-spacing:1px;font-size:12px;padding:0 0 8px 8px}
.post-menu summary::-webkit-details-marker{display:none}
.post-menu-panel{position:absolute;right:0;top:24px;width:175px;padding:7px;background:var(--panel);border:1px solid var(--line);box-shadow:0 8px 30px #0008;border-radius:10px;display:grid;gap:2px}
.post-menu-panel button{text-align:left;font-size:12px;padding:9px;border-radius:6px}
.post-menu-panel button:hover{background:var(--hover-bg)}
.post-menu-topic{padding:5px 9px;font-size:10px;color:var(--muted)}
.compact-post .post-body{padding:0 14px 4px;font-size:14px;line-height:1.55}
.compact-post .post-body h2{font-size:18px;line-height:1.4;margin:0 0 7px;font-weight:650}
.compact-post .post-body p:empty{display:none}
.compact-post .social-image{margin:12px 0 0}
.compact-post .social-image img{border-radius:13px;max-height:550px}
.compact-post .social-image figcaption:empty{display:none}
.compact-post .social-image figcaption{font-size:10px;margin:6px 0 2px}
.timeline .compact-post .post-actions{padding:10px 14px 12px;border:0;gap:18px;align-items:center;justify-content:flex-start;flex-wrap:wrap}
.compact-post .post-actions button{font-size:11px;gap:5px;padding:3px 0}
.compact-post .post-actions svg{width:17px;height:17px}
.compact-post .post-actions>button:last-of-type{margin-left:0}
.compact-post .post-time{margin-left:auto;color:var(--muted);font-size:10px;white-space:nowrap}
.compact-post .post-explore-link{color:var(--highlight)}
.compact-post .repost-label{padding:9px 14px 0;font-size:10px}
@media(max-width:640px){.feed-profile-preview{margin:12px 14px 0}.timeline .post-wrap{margin:0 14px}.feed-identity-banner{min-height:130px}.feed-banner-avatar .avatar{width:66px;height:66px;border-radius:15px!important}.feed-banner-name{max-width:calc(100% - 95px)}.feed-banner-name strong{font-size:28px}.feed-banner-name small{font-size:9px}.compact-post .post-actions{gap:13px!important}.compact-post .post-explore-link span{display:none}.social-feed-toolbar{padding:8px 14px 0}}

.feed-identity-banner{width:100%;height:160px;aspect-ratio:auto;min-height:0;max-height:none}
@media(max-width:640px){.feed-identity-banner{height:140px}}
@media(min-width:641px) and (max-width:1000px){.app-shell{grid-template-columns:196px minmax(0,1fr)}}
.timeline .connection{margin-top:7px;padding:0 4px;background:transparent;border:0;border-radius:0}
.timeline .connection button{font-size:10px;gap:6px}
.timeline .connection svg{width:13px;height:13px}
.timeline .connection p{font-size:11px;margin-top:7px}

/* The crop and every banner surface share the same frame. */
.feed-identity-banner{height:auto;aspect-ratio:3 / 1;min-height:0;max-height:none}
.feed-banner-image{object-fit:cover;object-position:center}
.unified-profile .feed-identity-banner{border:0;border-radius:0}
.profile-meta{padding:16px 20px 20px}
.profile-meta-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.profile-meta-top button{font-size:11px}
.profile-status,.profile-meta .profile-bio{font-size:12px;color:var(--muted);line-height:1.7}
.profile-meta .badges{margin:13px 0}
.profile-meta .profile-stats{margin-top:15px}
@media(max-width:640px){.feed-identity-banner{height:auto;aspect-ratio:3 / 1}.feed-banner-avatar .avatar{width:54px;height:54px}.feed-banner-name strong{font-size:24px}.feed-banner-name{max-width:calc(100% - 84px)}.profile-meta{padding:14px 16px}}

/* Stable rabbit-hole shell; only the content layer slides. */
.post-viewer{position:relative;animation:none!important}
.post-viewer .viewer-repost{position:absolute;top:5px;left:14px;line-height:10px;height:10px}
.post-viewer .viewer-repost .repost-label{padding:0;font-size:9px}
.post-viewer .post-head{padding-top:20px;min-height:70px;align-items:center}
.post-viewer .post-identity strong,.post-viewer .post-identity small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.post-navigation{min-height:34px;display:flex;align-items:center;gap:10px;padding:0 14px 8px;color:var(--muted);font-size:10px}
.post-navigation button{font-size:10px;padding:3px 0;display:flex;align-items:center;gap:5px}
.post-navigation svg{width:12px;height:12px}
.viewer-context{flex:1;min-width:0;display:flex;align-items:center;gap:8px;overflow:hidden;text-align:left;line-height:1.5}
.viewer-depth{white-space:nowrap;color:var(--highlight)}
.viewer-relationship{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted)}
.viewer-return,.viewer-back{white-space:nowrap;flex-shrink:0;color:var(--highlight)}
.post-stage{position:relative;overflow:hidden;isolation:isolate}
.viewer-layer{min-height:inherit;width:100%;box-sizing:border-box;animation:none!important}
.viewer-incoming{position:absolute;left:0;top:0;width:100%}
.post-stage.is-transitioning .viewer-layer{will-change:transform}
.post-viewer.is-exploring .viewer-layer[data-kind="text"]{padding:8px 14px 14px}
.post-viewer.is-exploring .viewer-layer[data-kind="text"] .viewer-content{width:100%;font-size:16px;line-height:1.7}
.post-viewer.is-exploring .viewer-layer[data-kind="text"] h2{font-size:21px;line-height:1.35;letter-spacing:-.3px;margin-bottom:8px}
.post-viewer.is-exploring .viewer-layer[data-kind="text"] p{white-space:pre-wrap}
.post-viewer .social-image img{max-height:min(48vh,440px);object-fit:contain}
.post-viewer .social-media video{display:block;aspect-ratio:16 / 9;object-fit:contain;max-height:min(48vh,440px);background:#0c0c10}
.post-viewer .social-media{margin-top:12px}
.post-viewer .social-media strong:empty{display:none}
.post-viewer .post-actions{min-height:48px;flex-wrap:nowrap}
.viewer-extras:empty{display:none}
.viewer-trail-toggle{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px;padding:8px 4px}
.viewer-trail-toggle svg{width:13px;height:13px}
.viewer-explanation{font-size:11px;line-height:1.7;color:var(--muted);padding:0 4px;margin:8px 0}
.rightbar #related-panel{min-height:320px}
@media(max-width:640px){.post-navigation{gap:7px;padding-left:12px;padding-right:12px;font-size:9px}.post-navigation button{font-size:9px}.viewer-context{gap:5px}.post-viewer.is-exploring .viewer-layer[data-kind="text"]{padding:8px 12px 12px}.post-viewer.is-exploring .viewer-layer[data-kind="text"] h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.post-viewer,.viewer-layer,.post-stage{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.post-viewer .viewer-layer[data-kind="photo"] .social-image img{aspect-ratio:16 / 10;object-fit:contain;background:var(--bg)}

.trending-panel{border-top:1px solid var(--line);margin-top:22px}.trending-panel .section-head{margin-top:20px}.trending-intro{font-size:10px;line-height:1.6;color:var(--muted);margin:0 0 8px}.trending-topic{display:flex;align-items:center;gap:12px;width:100%;padding:11px 4px;text-align:left;border-radius:8px}.trending-topic:hover{background:var(--hover-bg)}.trend-rank{font-size:11px;color:var(--muted);width:12px}.trending-topic>div{flex:1;min-width:0}.trending-topic strong{display:block;font-size:12px;overflow-wrap:anywhere}.trending-topic small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.trend-arrow{font-size:13px;color:var(--highlight)}
