/* Lightweight global asset for Swup. Every rule is scoped to social modules. */
.bb-social-section{--sm-text:#252525;--sm-muted:#686868;--sm-surface:#f3f3f3;--sm-raised:#e8e8e8;--sm-border:#e0e0e0;--sm-focus:#777;--sm-paper:#fff;margin:30px 0 38px;scroll-margin-top:100px;color:var(--sm-text);font-family:inherit;overflow-anchor:none}
.dark .bb-social-section{--sm-text:var(--bb-text);--sm-muted:var(--bb-text-muted);--sm-surface:var(--bb-surface);--sm-raised:var(--bb-raised);--sm-border:var(--bb-border);--sm-focus:var(--bb-focus);--sm-paper:var(--bb-surface)}
.bb-social-section [hidden]{display:none!important}.bb-social-section a{color:inherit!important}.bb-social-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.bb-social-heading h2{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:22px;font-weight:600;line-height:1.4;margin:0 0 4px;color:var(--sm-text)}.bb-social-platform-count{font-size:11px;font-weight:400;color:var(--sm-muted);border-left:1px solid var(--sm-border);padding-left:12px}.bb-social-heading p{font-size:11px;color:var(--sm-muted);margin:0;line-height:1.7}.bb-social-manage{font-size:11px;white-space:nowrap}
.bb-social-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}.bb-social-card{min-width:0;background:var(--sm-surface);border-radius:14px;overflow:hidden}.bb-social-author-card{padding:14px 12px 10px}.bb-social-author-head{display:flex;align-items:center;gap:9px;min-width:0;margin-bottom:12px}.bb-social-avatar{position:relative;display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;background:var(--sm-raised);overflow:hidden;color:var(--sm-muted)}.bb-social-avatar svg{width:21px;height:21px}.bb-social-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.bb-social-author-info{flex:1;min-width:0}.bb-social-author-info h3{font-size:14px;font-weight:600;line-height:1.5;margin:0 0 3px;overflow-wrap:anywhere;color:var(--sm-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bb-social-author-info small{display:block;font-size:10px;line-height:1.5;color:var(--sm-muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bb-social-profile{font-size:14px;color:var(--sm-muted)!important;flex-shrink:0;align-self:flex-start;padding:1px 0 4px 4px}.bb-social-author-updates{display:flex;flex-direction:column;gap:9px}.bb-social-update{display:flex;gap:9px;min-width:0;align-items:flex-start}.bb-social-media{display:block;position:relative;overflow:hidden;border-radius:7px;background:var(--sm-raised);aspect-ratio:16/9;isolation:isolate}.bb-social-media>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.bb-social-media:hover>img{transform:scale(1.04)}.bb-social-media-fallback{display:none;position:absolute;inset:0;align-items:center;justify-content:center;font-size:9px;line-height:1.5;color:var(--sm-muted);padding:4px}.bb-social-media.is-missing>img{display:none}.bb-social-media.is-missing .bb-social-media-fallback{display:flex}.bb-social-update>.bb-social-media{width:34%;max-width:98px;flex-shrink:0;margin:0}.bb-social-update-text{flex:1;min-width:0}.bb-social-update-text h4{font:inherit;font-size:12px;font-weight:500;line-height:1.55;margin:0 0 4px;color:var(--sm-text)}.bb-social-update-text h4 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.bb-social-update-text time{font-size:10px;color:var(--sm-muted);line-height:1.4;display:block}.bb-social-duration{position:absolute;right:3px;bottom:3px;background:rgb(20 20 20 / 75%);color:#e6e6e6;font-size:9px;line-height:1.3;padding:1px 3px;border-radius:3px;font-variant-numeric:tabular-nums}.bb-social-play{position:absolute;left:5px;bottom:4px;color:#e6e6e6;font-size:9px;line-height:1.3;text-shadow:0 1px 3px #141414}.bb-social-author-foot{border-top:1px solid var(--sm-border);margin-top:12px;padding-top:8px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;font-size:9px;color:var(--sm-muted);line-height:1.5}.bb-social-pending{padding:18px 0 22px;color:var(--sm-muted);font-size:11px;line-height:1.7}.bb-social-pending p{margin:0 0 3px;color:var(--sm-text)}.bb-social-pending span{font-size:10px}
/* Articles stay inside the publisher's card, with image on the left. */
.bb-social-wechat .bb-social-update{gap:10px;align-items:center}.bb-social-wechat .bb-social-update+.bb-social-update{padding-top:9px;border-top:1px solid var(--sm-border)}.bb-social-wechat .bb-social-update>.bb-social-media,.bb-social-article-cover{width:56px;height:51px;aspect-ratio:auto;flex-shrink:0;border-radius:6px;background:var(--sm-raised);display:grid;place-items:center;margin:0;color:var(--sm-muted)!important}.bb-social-article-cover svg{width:20px;height:20px;opacity:.65}.bb-social-wechat .bb-social-update-text h4{font-size:12px;line-height:1.6}
/* Post and note cards keep an author signature on every item. */
.bb-social-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:16px}.bb-social-filter{appearance:none;max-width:100%;padding:7px 12px;min-height:36px;border:1px solid var(--sm-border);border-radius:30px;background:transparent;color:var(--sm-muted);font:inherit;font-size:11px;line-height:1.5;overflow-wrap:anywhere;cursor:pointer}.bb-social-filter[aria-pressed=true]{background:var(--sm-text);border-color:var(--sm-text);color:var(--sm-paper);font-weight:500}.dark .bb-social-filter[aria-pressed=true]{background:var(--bb-text);color:var(--bb-bg);border-color:var(--bb-text)}.bb-social-filter:hover{border-color:var(--sm-muted)}.bb-social-authors{display:contents}.bb-social-authors>summary{list-style:none;cursor:pointer;font-size:11px;color:var(--sm-muted);padding:8px 4px;min-height:36px;display:flex;gap:8px;align-items:center}.bb-social-authors>summary::-webkit-details-marker{display:none}.bb-social-authors>div{flex-basis:100%;display:flex;gap:7px;flex-wrap:wrap;padding:10px 0 3px;border-top:1px solid var(--sm-border)}.bb-social-authors:not([open])>div{display:none}.bb-social-byline{display:flex;align-items:center;gap:7px;min-width:0;font-size:10px;color:var(--sm-muted);line-height:1.5}.bb-social-byline .bb-social-avatar{width:25px;height:25px}.bb-social-byline .bb-social-avatar svg{width:15px;height:15px}.bb-social-author-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.bb-social-byline time{margin-left:auto;white-space:nowrap;flex-shrink:0;font-size:10px}.bb-social-x .bb-social-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bb-social-x .bb-social-card{padding:15px;background:var(--sm-paper);border:1px solid var(--sm-border)}.bb-social-x .bb-social-byline{margin-bottom:12px}.bb-social-x .bb-social-author-name{font-size:12px;font-weight:600;color:var(--sm-text)}.bb-social-tweet{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;font-size:13px;line-height:1.8;overflow-wrap:anywhere;min-height:7.2em}.bb-social-tweet-foot{display:flex;justify-content:space-between;gap:8px;color:var(--sm-muted);font-size:10px;margin-top:13px;flex-wrap:wrap}.bb-social-x .bb-social-media{margin-top:12px;aspect-ratio:2/1}.bb-social-xhs .bb-social-card{background:var(--sm-paper)}.bb-social-xhs .bb-social-media{aspect-ratio:3/4;border-radius:12px;margin:0}.bb-social-xhs .bb-social-story{padding:10px 10px 12px}.bb-social-xhs .bb-social-story h3{font-size:13px;line-height:1.6;font-weight:500;margin:0 0 9px;color:var(--sm-text)}.bb-social-xhs .bb-social-story h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.bb-social-more>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:10px;min-height:36px;margin-top:13px;font-size:11px;color:var(--sm-muted);cursor:pointer}.bb-social-more>summary::-webkit-details-marker{display:none}.bb-social-more[open]>summary>span:last-child{transform:rotate(45deg)}.bb-social-section:not([data-social-filtered=true]):has(.bb-social-more:not([open])) .bb-social-card:nth-child(n+9){display:none}.bb-social-x:not([data-social-filtered=true]):has(.bb-social-more:not([open])) .bb-social-card:nth-child(n+7){display:none}.bb-social-note{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:10px;color:var(--sm-muted);font-size:10px;line-height:1.8}.bb-social-empty,.bb-social-filter-empty{padding:24px;background:var(--sm-surface);border-radius:14px;line-height:1.9;color:var(--sm-muted);font-size:12px}.bb-social-empty{display:flex;align-items:center;gap:18px;min-height:130px}.bb-social-empty h3{font-size:16px;color:var(--sm-text);font-weight:500;margin:0 0 6px}.bb-social-empty p{margin:0}.bb-social-empty-symbol{display:grid;place-items:center;width:48px;height:60px;background:var(--sm-raised);border-radius:10px;flex-shrink:0}.bb-social-empty-symbol svg{width:24px;height:24px}.bb-social-section a:hover{text-decoration:none}.bb-social-update-text h4 a:hover,.bb-social-author-head h3 a:hover,.bb-social-author-name a:hover,.bb-social-tweet-foot a:hover{text-decoration:underline;text-underline-offset:3px}.bb-social-section :is(a,button,summary):focus-visible{outline:1px solid var(--sm-focus);outline-offset:3px;border-radius:4px}
@media(min-width:1600px){.bb-social-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.bb-social-x .bb-social-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bb-social-section:not([data-social-filtered=true]):has(.bb-social-more:not([open])) .bb-social-card:nth-child(-n+10){display:block}.bb-social-x:not([data-social-filtered=true]):has(.bb-social-more:not([open])) .bb-social-card:nth-child(n+9){display:none}}
@media(max-width:1279px){.bb-social-grid,.bb-social-x .bb-social-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bb-social-section:not([data-social-filtered=true]):has(.bb-social-more:not([open])) .bb-social-card:nth-child(n+7){display:none}}
@media(max-width:1023px){.bb-social-grid,.bb-social-x .bb-social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-social-section:not([data-social-filtered=true]):has(.bb-social-more:not([open])) .bb-social-card:nth-child(n+5){display:none}}
@media(max-width:767px){.bb-social-section{margin:26px 0 32px;scroll-margin-top:84px}.bb-social-heading{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:14px}.bb-social-heading h2{font-size:21px}.bb-social-grid{gap:10px}.bb-social-author-card{padding:12px 10px 9px}.bb-social-note{font-size:9px}.bb-social-x .bb-social-card{padding:12px}.bb-social-x .bb-social-byline{gap:5px;flex-wrap:wrap}.bb-social-byline time{font-size:9px}.bb-social-tweet{font-size:12px}.bb-social-xhs .bb-social-story{padding:9px}.bb-social-wechat .bb-social-update>.bb-social-media,.bb-social-article-cover{width:46px;height:46px}.bb-social-empty{padding:22px 18px}}
@media(max-width:479px){.bb-social-grid,.bb-social-x .bb-social-grid{grid-template-columns:minmax(0,1fr)}.bb-social-section:not([data-social-filtered=true]):has(.bb-social-more:not([open])) .bb-social-card:nth-child(n+3){display:none}.bb-social-author-card{padding:14px}.bb-social-update>.bb-social-media{width:96px}.bb-social-author-info h3{font-size:15px}.bb-social-update-text h4,.bb-social-wechat .bb-social-update-text h4{font-size:13px}.bb-social-wechat .bb-social-update>.bb-social-media,.bb-social-article-cover{width:58px;height:54px}.bb-social-x .bb-social-card{padding:15px}.bb-social-x .bb-social-byline{flex-wrap:nowrap}.bb-social-tweet{font-size:13px}.bb-social-xhs .bb-social-media{aspect-ratio:4/3}}
@media(prefers-reduced-motion:reduce){.bb-social-media>img{transition:none}}
.bb-social-section .bb-social-card[data-social-clamped=true]{display:none!important}
.bb-social-filter:focus-visible{outline:0;border-color:var(--sm-focus);box-shadow:inset 0 0 0 1px var(--sm-focus)}
.bb-social-section .bb-social-filter:focus-visible{outline:0!important;outline-offset:0;border-color:var(--sm-focus);box-shadow:inset 0 0 0 1px var(--sm-focus)}
/* Match the existing author-card elevation and preserve three aligned update slots. */
.bb-social-section .bb-social-card{background:var(--sm-paper);box-shadow:0 8px 24px rgb(0 0 0 / 6%)}
.bb-social-section .bb-social-author-card{height:326px;display:flex;flex-direction:column}
.bb-social-author-head{flex-shrink:0;min-height:44px}
.bb-social-section .bb-social-author-updates{flex:1;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:8px;min-height:0}
.bb-social-author-updates .bb-social-update{min-height:0;align-items:center}
.bb-social-author-foot{margin-top:10px;flex-shrink:0}
.bb-social-author-card .bb-social-pending{flex:1;display:flex;flex-direction:column;justify-content:center}
.bb-social-section .bb-social-card:hover{box-shadow:0 12px 28px rgb(0 0 0 / 9%)}
.dark .bb-social-section .bb-social-card{background:var(--bb-surface);box-shadow:0 8px 24px rgb(0 0 0 / 12%)}
.bb-social-x .bb-social-card{height:326px;display:flex;flex-direction:column;border:0}
.bb-social-x .bb-social-tweet{flex:1;min-height:0}
.bb-social-x .bb-social-tweet-foot{margin-top:12px;flex-shrink:0}
.bb-social-x .bb-social-media{display:block;height:88px;aspect-ratio:auto;flex-shrink:0}
.bb-social-xhs .bb-social-story h3{min-height:3.2em}
/* X horizontal masonry: justified variable-width rows with equal-height cards. */
.bb-social-x .bb-social-card{height:326px;min-height:0;display:flex;flex-direction:column;padding:16px}
.bb-social-x .bb-social-grid{position:relative}
.bb-social-x .bb-social-grid[data-social-masonry]>.bb-social-card{position:absolute;margin:0}
.bb-social-x .bb-social-tweet{display:-webkit-box;-webkit-box-orient:vertical;flex:1;min-height:0;overflow:hidden;-webkit-line-clamp:7;line-height:1.85}
.bb-social-x .bb-social-card:has(.bb-social-media) .bb-social-tweet{-webkit-line-clamp:3}
.bb-social-x .bb-social-media{height:104px;flex:0 0 104px;aspect-ratio:auto;margin-top:10px}
.bb-social-x .bb-social-tweet-foot{margin-top:8px;padding-top:8px;border-top:1px solid var(--sm-border)}
.bb-social-translation{display:block;font-size:10px;line-height:1.6;font-weight:400;color:var(--sm-muted)}
.bb-social-x .bb-social-translation{margin-top:8px}
.bb-social-update-meta{display:flex;align-items:center;flex-wrap:wrap;gap:2px 8px;margin-top:3px}
.bb-social-update-meta time{margin:0}
@media(max-width:767px){.bb-social-x .bb-social-card{padding:14px}.bb-social-update-meta{gap:1px 6px}}

/* Compact horizontal X cards: half-height, image left and translated copy right. */
.bb-social-x{--sm-x-card-height:143px}
.bb-social-x .bb-social-card{height:var(--sm-x-card-height);padding:12px}
.bb-social-x .bb-social-byline{flex-wrap:nowrap;margin-bottom:8px;flex-shrink:0}
.bb-social-x .bb-social-tweet-body{display:flex;gap:10px;flex:1;min-height:0}
.bb-social-x .bb-social-tweet-copy{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}
.bb-social-x .bb-social-tweet,.bb-social-x .bb-social-card:has(.bb-social-media) .bb-social-tweet{-webkit-line-clamp:3;line-height:1.6;font-size:12px}
.bb-social-x .bb-social-tweet-body>.bb-social-media{flex:0 0 28%;max-width:112px;height:auto;margin:0;aspect-ratio:auto}
.bb-social-x .bb-social-translation{margin-top:3px;font-size:9px;line-height:1.4;flex-shrink:0}
.bb-social-x .bb-social-tweet-foot{margin-top:4px;padding-top:4px;flex-wrap:nowrap;line-height:1.4;font-size:9px}
.bb-social-x .bb-social-tweet-foot>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-social-x .bb-social-tweet-foot>a{flex-shrink:0;white-space:nowrap}
.bb-social-x .bb-social-tweet-copy>.bb-social-tweet{flex:0 1 auto;max-height:57.6px}
.bb-social-x .bb-social-tweet-copy>.bb-social-translation{margin-top:auto;padding-top:3px}


.bb-social-x .bb-social-tweet-foot>.bb-social-translation{margin:0;padding:0}
.bb-social-x .bb-social-tweet-foot>a{margin-left:auto}
/* X uses three default rows; JS handles responsive limits beyond legacy nth-child fallbacks. */
.bb-social-x .bb-social-card[data-social-clamped=false]:not([hidden]){display:flex!important}

/* X timeline: three horizontal tracks, contained scrolling and familiar identity styling. */
.bb-social-x .bb-social-grid{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:14px;scroll-padding:2px}
.bb-social-x .bb-social-card{border:0;border-radius:14px;box-shadow:0 3px 12px rgb(0 0 0 / 4%)}
.bb-social-x .bb-social-card:hover{box-shadow:0 5px 16px rgb(0 0 0 / 7%)}
.bb-social-x .bb-social-byline{gap:8px;margin-bottom:7px;align-items:center}
.bb-social-x .bb-social-avatar{width:30px;height:30px}
.bb-social-x .bb-social-author-name{line-height:1.3;min-width:0;font-size:12px;font-weight:600}
.bb-social-x-handle{display:block;font-size:10px;font-weight:400;color:var(--sm-muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-social-x .bb-social-byline time{margin-left:auto;font-size:9px;white-space:nowrap;align-self:flex-start;padding-top:2px}
.bb-social-x .bb-social-tweet,.bb-social-x .bb-social-card:has(.bb-social-media) .bb-social-tweet{-webkit-line-clamp:2;line-height:1.65}
.bb-social-x .bb-social-tweet-foot{border-top:0;padding-top:2px;margin-top:4px}
.bb-social-scroll-tools{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;color:var(--sm-text);font-size:12px;font-weight:600;gap:12px}
.bb-social-scroll-tools small{font-size:10px;font-weight:400;color:var(--sm-muted);margin-left:10px}
.bb-social-scroll-tools>div{display:flex;gap:7px}
.bb-social-scroll-tools button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--sm-border);border-radius:50%;color:var(--sm-text);background:transparent;font-size:16px;cursor:pointer}
.bb-social-scroll-tools button:hover{background:var(--sm-raised)}
@media(max-width:767px){.bb-social-scroll-tools button{width:36px;height:36px}}

.bb-social-x .bb-social-grid::-webkit-scrollbar{display:none;width:0;height:0}
.bb-social-x .bb-social-grid{cursor:grab;user-select:none;-webkit-user-select:none}
.bb-social-x .bb-social-grid.is-dragging,.bb-social-x .bb-social-grid.is-dragging *{cursor:grabbing!important}
.bb-social-x .bb-social-grid img{-webkit-user-drag:none}

/* Fit short posts to two or three lines without changing the shared card height. */
.bb-social-x .bb-social-tweet,.bb-social-x .bb-social-card:has(.bb-social-media) .bb-social-tweet{-webkit-line-clamp:3}
.bb-social-x .bb-social-author-name>a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Author lists fit their actual updates, without reserved empty slots or status footer. */
.bb-social-section .bb-social-author-card{height:auto;padding-bottom:14px}
.bb-social-section .bb-social-author-updates{flex:0 0 auto;display:flex;flex-direction:column;gap:12px}
.bb-social-author-updates .bb-social-update{flex:0 0 auto;min-height:54px}
.bb-social-author-card .bb-social-pending{flex:0 0 auto;padding:12px 0}

/* Author feeds: a shared heading, inline filters and a public full-list link. */
.bb-social-heading{align-items:flex-start;gap:12px 20px;flex-wrap:nowrap}
.bb-social-heading h2{flex-shrink:0;margin:0;line-height:30px}
.bb-social-heading .bb-social-manage{margin-left:auto;line-height:30px;flex-shrink:0}
.bb-social-heading .bb-social-filters{flex:1;min-width:0;margin:0;gap:6px 8px}
.bb-social-heading .bb-social-filter{border:0;border-radius:6px;min-height:30px;padding:5px 10px;font-size:11px;line-height:20px;background:transparent;color:var(--sm-muted)}
.bb-social-heading .bb-social-filter:hover{background:var(--sm-surface);color:var(--sm-text)}
.bb-social-heading .bb-social-filter[aria-pressed=true]{background:var(--sm-raised);color:var(--sm-text);font-weight:600}
.bb-social-section[data-social-archive=true]{margin-top:0}
.bb-social-x[data-social-archive=true] .bb-social-grid{display:grid;overflow:visible;grid-template-columns:repeat(3,minmax(0,1fr));height:auto;touch-action:auto}
.bb-social-x[data-social-archive=true] .bb-social-grid>.bb-social-card{position:relative;width:auto;left:auto;top:auto}
@media(max-width:1023px){.bb-social-x[data-social-archive=true] .bb-social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.bb-social-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.bb-social-heading h2{grid-column:1;grid-row:1}.bb-social-heading .bb-social-manage{grid-column:2;grid-row:1}.bb-social-heading .bb-social-filters{grid-column:1/-1;grid-row:2;width:100%}.bb-social-heading .bb-social-filter{min-height:32px}.bb-social-x[data-social-archive=true] .bb-social-grid{grid-template-columns:minmax(0,1fr)}}
.bb-social-scroll-tools{justify-content:flex-end}
.dark .bb-social-heading .bb-social-filter[aria-pressed=true]{background:var(--bb-text);color:var(--bb-bg)}
@media(max-width:767px){.bb-social-heading .bb-social-filter{min-height:36px}}

/* Direct platform follow links, with no simulated local subscription state. */
.bb-social-bili .bb-social-profile,.bb-social-youtube .bb-social-profile{font-size:11px;line-height:20px;padding:3px 9px;border-radius:6px;background:var(--sm-surface);align-self:center;white-space:nowrap}
.bb-social-bili .bb-social-profile:hover,.bb-social-youtube .bb-social-profile:hover{background:var(--sm-raised);color:var(--sm-text)!important}
@media(max-width:767px){.bb-social-bili .bb-social-profile,.bb-social-youtube .bb-social-profile{min-height:36px;display:flex;align-items:center}}
/* Narrow edge fades blend into the existing page surface in either theme. */
.bb-social-x[data-social-archive=false] .bb-social-grid{
    --sm-edge-fade:24px;
    -webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--sm-edge-fade),#000 calc(100% - var(--sm-edge-fade)),transparent 100%);
    mask-image:linear-gradient(to right,transparent 0,#000 var(--sm-edge-fade),#000 calc(100% - var(--sm-edge-fade)),transparent 100%);
}
@media(max-width:767px){.bb-social-x[data-social-archive=false] .bb-social-grid{--sm-edge-fade:16px}}

/* Share the existing navigation-section archive action typography and alignment. */
.bb-social-heading .bb-social-manage.aixzd-section-more{font-size:13px;font-weight:400;line-height:normal;align-self:center;gap:4px;color:#6b7280!important}
.dark .bb-social-heading .bb-social-manage.aixzd-section-more{color:var(--bb-text-muted)!important}
@media(max-width:767px){.bb-social-heading .bb-social-manage.aixzd-section-more{font-size:12px;min-height:36px}}
.bb-social-heading .bb-social-sort-hint{font-size:11px;font-weight:400;line-height:1.5;color:var(--sm-muted);white-space:nowrap}
@media(max-width:767px){.bb-social-heading h2:has(.bb-social-sort-hint){column-gap:8px;row-gap:2px}.bb-social-heading .bb-social-sort-hint{font-size:10px}}

.bb-social-heading h2:has(.bb-social-sort-hint){align-items:baseline}

/* X authors sit immediately below its title; controls share the title row. */
.bb-social-x .bb-social-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 12px;align-items:center;margin-bottom:12px}
.bb-social-x .bb-social-heading h2{grid-column:1;grid-row:1}
.bb-social-x .bb-social-heading .bb-social-filters{grid-column:1/-1;grid-row:2;width:100%;margin:0}
.bb-social-x .bb-social-heading .bb-social-manage{grid-column:3;grid-row:1;margin:0}
.bb-social-x .bb-social-heading .bb-social-scroll-tools{grid-column:2;grid-row:1;margin:0}
