/* Social inherits the dashboard's light/dark palette and typography. */
.dashboard-shell .social-layout { display: grid; grid-template-columns: minmax(0, 710px) minmax(230px, 310px); gap: 30px; align-items: start; max-width: 1080px; margin: 0 auto; }
.dashboard-shell .social-layout.is-guest { grid-template-columns: minmax(0, 710px); justify-content: center; }
.dashboard-shell .social-main { min-width: 0; background: var(--shell-panel); border-radius: 20px; overflow: clip; }
.dashboard-shell .social-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 26px 20px; }
.dashboard-shell .social-heading h2 { font-size: 21px; font-weight: 650; letter-spacing: -.6px; margin: 0 0 5px; color: var(--shell-text); }
.dashboard-shell .social-heading p, .dashboard-shell .social-discover p { color: var(--shell-muted); font-size: 13px; line-height: 1.6; margin: 0; }
.dashboard-shell .social-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--shell-raised); overflow-x: auto; }
.dashboard-shell .social-tabs button { flex: 1; white-space: nowrap; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--shell-muted); background: transparent; padding: 15px 9px; font-size: 13px; font-weight: 600; cursor: pointer; }
.dashboard-shell .social-tabs button[aria-pressed="true"] { color: var(--shell-text); border-bottom-color: var(--shell-accent); }
.dashboard-shell .social-tabs button:hover { background: var(--shell-raised); }
.dashboard-shell .social-search { display: flex; align-items: center; gap: 10px; margin: 20px 24px; padding: 7px 12px; background: var(--shell-raised); border-radius: 12px; }
.dashboard-shell .social-search input { min-width: 0; flex: 1; width: 100%; background: transparent; border: 0; box-shadow: none; padding: 7px 0; color: var(--shell-text); font-size: 13px; }
.dashboard-shell .social-search i { color: var(--shell-muted); font-size: 19px; }
.dashboard-shell .social-search input::placeholder, .dashboard-shell #social-input::placeholder { color: var(--shell-muted); opacity: 1; }
.dashboard-shell .social-composer { display: flex; align-items: flex-start; gap: 13px; padding: 5px 24px 24px; border-bottom: 7px solid var(--shell-bg); }
.dashboard-shell .social-compose-fields { flex: 1; min-width: 0; }
.dashboard-shell .social-compose-label { display: block; font-weight: 600; font-size: 13px; margin: 3px 0 8px; color: var(--shell-text); }
.dashboard-shell #social-input { resize: vertical; min-height: 74px; max-height: 300px; width: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: var(--shell-text); font-size: 15px; line-height: 1.6; }
.dashboard-shell .social-compose-footer { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.dashboard-shell #social-count { margin-left: auto; color: var(--shell-muted); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 11px; }
.dashboard-shell #social-count.over-limit { color: #d44848; font-weight: 700; }
.dashboard-shell .social-primary { border: 0; border-radius: 11px; background: var(--shell-accent); color: #282317; padding: 10px 20px; font-size: 13px; font-weight: 650; cursor: pointer; min-height: 40px; }
.dashboard-shell .social-primary:disabled { opacity: .5; cursor: default; }
.dashboard-shell .social-primary:hover:not(:disabled) { filter: brightness(1.06); }
.dashboard-shell .social-post { padding: 22px 24px 16px; border-bottom: 1px solid var(--shell-raised); scroll-margin-top: 90px; }
.dashboard-shell .social-post-header { display: flex; gap: 12px; align-items: flex-start; }
.dashboard-shell .social-avatar { width: 42px; height: 42px; min-width: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; background: var(--shell-raised); color: var(--shell-text); overflow: hidden; }
.dashboard-shell .social-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dashboard-shell .social-avatar-link { padding: 0; background: none; border: 0; cursor: pointer; border-radius: 50%; flex: 0 0 auto; }
.dashboard-shell .social-author { flex: 1; min-width: 0; line-height: 1.45; }
.dashboard-shell .social-name { display: block; max-width: 100%; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 650; padding: 0; border: 0; background: transparent; color: var(--shell-text); cursor: pointer; }
.dashboard-shell .social-handle { display: block; font-size: 12px; color: var(--shell-muted); overflow-wrap: anywhere; }
.dashboard-shell .social-date { color: var(--shell-muted); white-space: nowrap; font-size: 11px; text-decoration: none; padding-top: 3px; }
.dashboard-shell .social-post-body { margin: 12px 0 15px 54px; font-size: 14px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--shell-text); }
.dashboard-shell .social-actions { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-left: 45px; }
.dashboard-shell .social-action, .dashboard-shell .social-icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 9px; min-width: 36px; min-height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--shell-muted); cursor: pointer; font-size: 12px; }
.dashboard-shell .social-action i, .dashboard-shell .social-icon-button i { font-size: 19px; }
.dashboard-shell .social-action:hover, .dashboard-shell .social-icon-button:hover { background: var(--shell-raised); color: var(--shell-text); }
.dashboard-shell .social-action[aria-pressed="true"] { color: var(--shell-accent-text); background: var(--shell-raised); }
.dashboard-shell .social-action[data-action="like"][aria-pressed="true"] { color: #d55269; }
.dashboard-shell .social-menu { position: relative; }
.dashboard-shell .social-menu summary { list-style: none; }
.dashboard-shell .social-menu summary::-webkit-details-marker { display: none; }
.dashboard-shell .social-menu-content { position: absolute; right: 0; top: 39px; z-index: 5; width: 170px; padding: 7px; border: 1px solid var(--shell-hover); border-radius: 12px; background: var(--shell-panel); }
.dashboard-shell .social-menu-content button { display: block; width: 100%; text-align: left; }
.dashboard-shell .social-text-button, .dashboard-shell .social-more { border: 0; background: transparent; color: var(--shell-text); font-size: 12px; font-weight: 600; padding: 9px; cursor: pointer; border-radius: 8px; text-decoration: none; }
.dashboard-shell .social-text-button:hover, .dashboard-shell .social-more:hover { background: var(--shell-raised); }
.dashboard-shell .social-more { display: block; margin: 15px auto; padding: 12px 25px; }
.dashboard-shell .social-empty { padding: 42px 25px; text-align: center; }
.dashboard-shell .social-empty h3 { font-size: 18px; margin: 0 0 9px; color: var(--shell-text); }
.dashboard-shell .social-empty p { max-width: 350px; margin: 0 auto 16px; font-size: 13px; color: var(--shell-muted); }
.dashboard-shell .social-notice { margin: 14px 24px; padding: 12px 15px; background: var(--shell-raised); color: var(--shell-text); border-radius: 10px; overflow-wrap: anywhere; font-size: 13px; }
.dashboard-shell .social-aside { position: sticky; top: 100px; min-width: 0; }
.dashboard-shell .social-account { padding: 22px; background: var(--shell-panel); border-radius: 20px; margin-bottom: 28px; }
.dashboard-shell .social-account .social-name { margin-top: 10px; }
.dashboard-shell .social-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; color: var(--shell-muted); font-size: 12px; }
.dashboard-shell .social-stats strong { color: var(--shell-text); }
.dashboard-shell .social-discover { padding: 0 4px; }
.dashboard-shell .social-discover h3 { margin: 0 0 7px; font-size: 17px; font-weight: 650; letter-spacing: -.3px; color: var(--shell-text); }
.dashboard-shell .social-person { display: flex; align-items: center; gap: 10px; margin-top: 18px; min-width: 0; }
.dashboard-shell .social-person .social-avatar { width: 34px; height: 34px; min-width: 34px; font-size: 14px; }
.dashboard-shell .social-person .social-name { font-size: 12px; }
.dashboard-shell .social-follow { padding: 7px 12px; border-radius: 9px; border: 0; color: var(--shell-text); background: var(--shell-raised); font-size: 11px; font-weight: 650; cursor: pointer; min-height: 36px; }
.dashboard-shell .social-follow[aria-pressed="true"] { color: var(--shell-accent-text); }
.dashboard-shell .social-footnote { padding: 0 4px; margin: 28px 0; font-size: 11px; line-height: 1.8; color: var(--shell-muted); }
.dashboard-shell .social-profile { padding: 10px 24px 24px; border-bottom: 1px solid var(--shell-raised); }
.dashboard-shell .social-profile h3 { font-size: 20px; margin: 12px 0 0; color: var(--shell-text); }
.dashboard-shell .social-profile p { font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--shell-muted); margin: 14px 0; }
.dashboard-shell .social-back { margin: 0 15px 10px; }
.dashboard-shell .social-thread-label { padding: 16px 24px 0; color: var(--shell-muted); font-size: 12px; }
.dashboard-shell #social-people-results { padding: 0 24px 24px; border-bottom: 1px solid var(--shell-raised); }
.dashboard-shell #social-people-results h3 { font-size: 15px; margin: 0; }
.dashboard-shell .social-repost-note { margin: 0 0 10px 54px; font-size: 11px; color: var(--shell-muted); }
.dashboard-shell .social-dialog { width: min(430px, calc(100vw - 32px)); max-height: 85dvh; margin: auto; padding: 28px; border: 1px solid var(--shell-hover); border-radius: 18px; background: var(--shell-panel); color: var(--shell-text); }
.dashboard-shell .social-dialog::backdrop { background: rgb(0 0 0 / .45); }
.dashboard-shell .social-dialog h3 { margin: 0 0 12px; font-size: 20px; }
.dashboard-shell .social-dialog p, .dashboard-shell .social-dialog label { font-size: 13px; color: var(--shell-muted); }
.dashboard-shell .social-dialog select { width: 100%; margin: 10px 0; padding: 12px; background: var(--shell-raised); color: var(--shell-text); border: 0; border-radius: 9px; }
.dashboard-shell .social-dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.dashboard-shell #dashboard-social [hidden], .dashboard-shell #social-dialog [hidden] { display: none !important; }
@media (max-width: 1150px) {
  .dashboard-shell .social-layout { grid-template-columns: minmax(0, 1fr); max-width: 730px; }
  .dashboard-shell .social-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .dashboard-shell .social-account { margin: 0; }
  .dashboard-shell .social-footnote { grid-column: 1 / -1; margin: 0 0 15px; }
}
@media (max-width: 600px) {
  .dashboard-shell .social-main { border-radius: 15px; }
  .dashboard-shell .social-heading { padding: 20px 16px 16px; }
  .dashboard-shell .social-heading h2 { font-size: 19px; }
  .dashboard-shell .social-heading p { font-size: 12px; }
  .dashboard-shell .social-tabs { padding: 0 8px; gap: 0; }
  .dashboard-shell .social-tabs button { min-width: 0; white-space: normal; font-size: 12px; line-height: 1.4; padding: 13px 6px; }
  .dashboard-shell .social-search { margin: 16px; }
  .dashboard-shell .social-composer { padding: 4px 16px 20px; gap: 10px; }
  .dashboard-shell .social-composer .social-avatar { width: 32px; height: 32px; min-width: 32px; font-size: 14px; }
  .dashboard-shell .social-compose-footer { flex-wrap: wrap; gap: 8px; }
  .dashboard-shell #social-count { margin-left: 0; margin-right: auto; }
  .dashboard-shell .social-post { padding: 18px 16px 12px; }
  .dashboard-shell .social-post-body { margin-left: 0; }
  .dashboard-shell .social-actions { margin-left: -7px; }
  .dashboard-shell .social-aside { grid-template-columns: 1fr; padding: 0 8px; }
  .dashboard-shell .social-notice { margin: 12px 16px; }
  .dashboard-shell .social-profile { padding: 10px 16px 20px; }
}

/* Give the introduction, writing surface and conversation their own rhythm. */
.dashboard-shell .social-layout { grid-template-columns: minmax(0, 710px) minmax(280px, 320px); gap: 28px; }
.dashboard-shell .social-main { background: transparent; overflow: visible; }
.dashboard-shell .social-heading { padding: 4px 0 24px; align-items: flex-start; }
.dashboard-shell .social-heading h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.8px; margin-bottom: 9px; }
.dashboard-shell .social-heading p { font-size: 13px; }
.dashboard-shell #social-refresh { background: var(--shell-panel); flex-shrink: 0; }
.dashboard-shell .social-tabs { padding: 0; gap: 16px; border-bottom-color: var(--shell-hover); }
.dashboard-shell .social-tabs button { flex: 0 1 auto; padding: 12px 5px; }
.dashboard-shell .social-search { margin: 18px 0; background: var(--shell-panel); border-radius: 12px; }
.dashboard-shell .social-search:focus-within { outline: 2px solid var(--shell-accent); outline-offset: 2px; }
.dashboard-shell .social-composer { padding: 20px; margin-bottom: 24px; border: 1px solid var(--shell-hover); border-radius: 16px; background: var(--shell-panel); }
.dashboard-shell .social-compose-label { margin: 1px 0 10px; }
.dashboard-shell #social-input { display: block; min-height: 26px; max-height: 220px; resize: none; font-size: 14px; }
.dashboard-shell #social-input:focus-visible { outline: none; }
.dashboard-shell .social-composer:focus-within { border-color: var(--shell-accent); }
.dashboard-shell .social-compose-footer { border-top: 1px solid var(--shell-raised); padding-top: 12px; margin-top: 12px; }
.dashboard-shell .social-post { padding: 22px; margin-bottom: 14px; background: var(--shell-panel); border: 1px solid var(--shell-raised); border-radius: 16px; }
.dashboard-shell .social-post-body { margin-top: 16px; margin-bottom: 20px; }
.dashboard-shell .social-actions { justify-content: flex-start; gap: 18px; padding-top: 10px; border-top: 1px solid var(--shell-raised); }
.dashboard-shell .social-action[data-action="bookmark"] { margin-left: auto; }
.dashboard-shell .social-vector-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.dashboard-shell .social-account { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 14px; padding: 22px; margin-bottom: 20px; border-radius: 16px; }
.dashboard-shell .social-account .social-name { margin: 0; }
.dashboard-shell .social-stats { gap: 8px; }
.dashboard-shell .social-account .social-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--shell-raised); font-size: 11px; }
.dashboard-shell .social-account .social-stats strong { display: block; font-size: 19px; font-weight: 650; margin-bottom: 2px; }
.dashboard-shell .social-discover { padding: 22px; border-radius: 16px; background: var(--shell-panel); }
.dashboard-shell .social-discover h3 { font-size: 16px; }
.dashboard-shell .social-discover > p { font-size: 12px; }
.dashboard-shell .social-person { gap: 10px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--shell-raised); }
.dashboard-shell .social-person:last-child { padding-bottom: 0; border-bottom: 0; }
.dashboard-shell .social-person:first-child { margin-top: 4px; }
.dashboard-shell .social-person .social-author { overflow: hidden; }
.dashboard-shell .social-person .social-handle, .dashboard-shell .social-account .social-handle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-shell .social-follow { flex-shrink: 0; padding: 7px 10px; }
.dashboard-shell .social-follow:hover { background: var(--shell-hover); }
.dashboard-shell .social-footnote { margin: 18px 0; padding: 0 12px; }
.dashboard-shell #dashboard-social :is(button, a, summary):focus-visible { outline: 2px solid var(--shell-accent); outline-offset: 3px; }
@media (max-width: 1150px) {
    .dashboard-shell .social-layout { grid-template-columns: minmax(0, 1fr); max-width: 730px; }
    .dashboard-shell .social-account { align-self: start; margin: 0; }
}
@media (max-width: 600px) {
    .dashboard-shell .social-heading { padding: 0 0 20px; gap: 10px; }
    .dashboard-shell .social-heading h2 { font-size: 22px; }
    .dashboard-shell .social-tabs { gap: 3px; }
    .dashboard-shell .social-tabs button { flex: 1; padding: 12px 4px; font-size: 11px; }
    .dashboard-shell .social-composer { padding: 16px; }
    .dashboard-shell .social-post { padding: 16px; }
    .dashboard-shell .social-actions { gap: 8px; margin-left: 0; }
    .dashboard-shell .social-aside { padding: 0; gap: 16px; }
    .dashboard-shell .social-discover { padding: 20px; }
    .dashboard-shell .social-date { font-size: 10px; }
    .dashboard-shell .social-post-header { gap: 9px; }
}
.dashboard-shell #social-search { background: transparent; border-radius: 0; }

/* Media, connections and live activity share the Social surface. */
.dashboard-shell .social-stat { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dashboard-shell .social-stat:hover { color: var(--shell-accent-text); }
.dashboard-shell .social-attach-row { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dashboard-shell .social-attach-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--shell-muted); cursor: pointer; }
.dashboard-shell .social-attach-button:hover:not(:disabled) { background: var(--shell-raised); color: var(--shell-text); }
.dashboard-shell .social-attach-button:focus-visible { outline: 2px solid var(--shell-accent); outline-offset: 2px; }
.dashboard-shell .social-attach-button:disabled { opacity: .5; cursor: default; }
.dashboard-shell .social-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 12px 0; }
.dashboard-shell .social-media-item { min-width: 0; border-radius: 12px; overflow: hidden; background: var(--shell-raised); }
.dashboard-shell .social-media :is(img, video) { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #151517; }
.dashboard-shell #social-attachments .social-media :is(img, video) { max-height: 180px; }
.dashboard-shell .social-media-error { padding: 16px; font-size: 12px; color: var(--shell-muted); }
.dashboard-shell .social-online { display: block; color: var(--shell-accent-text); font-size: 11px; }
.dashboard-shell .social-private { padding: 12px; background: var(--shell-raised); border-radius: 10px; }
.dashboard-shell .social-live-update { display: block; width: 100%; border: 0; padding: 14px; margin-bottom: 14px; border-radius: 12px; background: var(--shell-raised); color: var(--shell-accent-text); font-weight: 600; cursor: pointer; }
.dashboard-shell .social-share-link { width: 100%; margin: 12px 0; padding: 12px; color: var(--shell-text); background: var(--shell-raised); border: 0; border-radius: 8px; }
.dashboard-shell #social-tools-dialog { width: min(520px, calc(100vw - 32px)); }
.dashboard-shell #social-tools-dialog .social-person { padding-block: 14px; }
.dashboard-shell .social-discover > .social-text-button { margin-top: 18px; padding-inline: 0; color: var(--shell-accent-text); }
@media (max-width: 600px) { .dashboard-shell .social-media { grid-template-columns: 1fr; } }
.dashboard-shell #social-tools-dialog .social-person.has-remove { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px 10px; }
.dashboard-shell .social-remove-follower { grid-column: 2 / -1; justify-self: start; padding: 3px 0; color: var(--shell-muted); font-weight: 500; }

/* Alternate feed presentation and expanded social profiles. */
.dashboard-shell .social-view-switch { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border: 1px solid var(--shell-hover); border-radius: 12px; background: var(--shell-panel); }
.dashboard-shell .social-main > .social-view-switch { align-self: flex-start; }
.dashboard-shell .hub-tab[data-tab-panel="social"] .social-layout.is-profile { height: auto; min-height: 100%; align-items: start; }
.dashboard-shell .is-profile .social-list { flex: none; max-height: none; overflow: visible; }
.dashboard-shell :is(.is-profile, .is-shorts) :is(.social-heading, .social-search) { display: none; }
.dashboard-shell .social-view-switch button { border: 0; border-radius: 8px; padding: 10px 22px; min-height: 42px; background: transparent; color: var(--shell-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.dashboard-shell .social-view-switch button[aria-pressed="true"] { background: var(--shell-text); color: var(--shell-panel); }
.dashboard-shell .social-open-profile { grid-column: 1 / -1; text-align: center; border-top: 1px solid var(--shell-raised); padding: 14px 0 0; color: var(--shell-accent-text); }
.dashboard-shell .social-profile { position: relative; padding: 0 28px; margin-bottom: 24px; border: 1px solid var(--shell-hover); border-radius: 18px; background: var(--shell-panel); overflow: hidden; }
.dashboard-shell .social-profile-cover { height: 112px; margin: 0 -28px; background: linear-gradient(115deg, var(--shell-raised), var(--shell-hover)); border-bottom: 1px solid var(--shell-hover); }
.dashboard-shell .social-profile-heading { position: relative; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-top: -32px; }
.dashboard-shell .social-profile-heading > .social-avatar { width: 96px; height: 96px; min-width: 96px; font-size: 36px; border: 5px solid var(--shell-panel); border-radius: 24px; }
.dashboard-shell .social-profile-identity { flex: 1; min-width: 0; padding-bottom: 4px; }
.dashboard-shell .social-profile h3 { font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; margin: 12px 0 4px; }
.dashboard-shell .social-profile-heading > :is(a, button) { margin: 8px 0; }
.dashboard-shell .social-profile p { font-size: 14px; line-height: 1.7; margin: 22px 0; }
.dashboard-shell .social-profile .social-stats { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0; }
.dashboard-shell .social-profile .social-stat strong { font-size: 19px; margin-right: 4px; }
.dashboard-shell .social-profile-tabs { display: flex; gap: 24px; border-top: 1px solid var(--shell-raised); }
.dashboard-shell .social-profile-tabs button { padding: 16px 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--shell-muted); }
.dashboard-shell .social-profile-tabs button[aria-pressed="true"] { border-bottom-color: var(--shell-accent); color: var(--shell-text); }
.dashboard-shell .social-timeline { display: contents; }
.dashboard-shell .is-shorts .social-main > .social-timeline { display: grid; grid-template-columns: 40px minmax(0, 430px); gap: 12px; align-items: start; align-content: start; width: 100%; max-width: 482px; margin: 12px auto 0; min-height: 0; flex: 1 1 auto; }
.dashboard-shell .is-shorts .social-timeline > :is(.social-list, .social-empty) { grid-column: 2; grid-row: 1; min-width: 0; }
.dashboard-shell .is-shorts .social-timeline > .social-list:empty { display: none; }
.dashboard-shell .social-shorts-help { display: flex; flex-direction: column; align-items: center; gap: 8px; grid-column: 1; grid-row: 1; align-self: center; color: var(--shell-muted); }
.dashboard-shell .social-shorts-help button { flex-shrink: 0; background: var(--shell-panel); }
.dashboard-shell .is-shorts #social-list:not(:empty) { height: min(780px, calc(100dvh - 240px)); min-height: 420px; width: 100%; max-width: 430px; margin: 0 auto; overflow-y: auto; overscroll-behavior-y: contain; scroll-snap-type: y mandatory; border-radius: 18px; scrollbar-width: none; }
.dashboard-shell .is-shorts #social-list::-webkit-scrollbar { display: none; }
.dashboard-shell .social-short { position: relative; isolation: isolate; height: 100%; min-height: 0; box-sizing: border-box; scroll-snap-align: start; scroll-snap-stop: always; margin: 0; padding: 0; border: 0; border-radius: 0; background: #09090b; color: #fff; }
.dashboard-shell .social-short::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgb(0 0 0 / .65), transparent 28%, transparent 50%, rgb(0 0 0 / .7)); }
.dashboard-shell .social-short .social-post-header { position: absolute; z-index: 3; top: 18px; left: 18px; right: 14px; align-items: center; }
.dashboard-shell .social-short :is(.social-name, .social-handle, .social-date, .social-menu summary) { color: #fff; text-shadow: 0 1px 4px #000; }
.dashboard-shell .social-short :is(.social-online, .social-repost-note, .social-date) { display: none; }
.dashboard-shell .social-short .social-avatar { border: 1px solid rgb(255 255 255 / .65); }
.dashboard-shell .social-short .social-media { position: absolute; inset: 0; display: block; margin: 0; }
.dashboard-shell .social-short .social-media-item { height: 100%; border-radius: 0; background: #09090b; }
.dashboard-shell .social-short .social-media video { height: 100%; max-height: none; object-fit: contain; background: #09090b; cursor: pointer; }
.dashboard-shell .social-short .social-media-error { position: relative; z-index: 2; padding-top: 45%; color: #fff; }
.dashboard-shell .social-short .social-post-body { position: absolute; z-index: 2; bottom: 38px; left: 18px; right: 80px; margin: 0; max-height: 6em; overflow-y: auto; font-size: 14px; line-height: 1.5; color: #fff; text-shadow: 0 1px 4px #000; }
.dashboard-shell .social-short .social-actions { position: absolute; z-index: 2; right: 10px; bottom: 42px; display: flex; flex-direction: column; gap: 12px; border: 0; padding: 0; margin: 0; }
.dashboard-shell .social-short .social-action { flex-direction: column; gap: 3px; min-width: 48px; min-height: 48px; padding: 5px; color: #fff; background: rgb(0 0 0 / .2); border-radius: 12px; text-shadow: 0 1px 4px #000; }
.dashboard-shell .social-short .social-action[data-action="bookmark"] { margin: 0; }
.dashboard-shell .social-short .social-action[data-action="like"] { order: -2; }
.dashboard-shell .social-short .social-action[data-action="reply"] { order: -1; }
.dashboard-shell .social-short .social-action[aria-pressed="true"] { color: #ffe28b; }
.dashboard-shell .social-short .social-action[data-action="like"][aria-pressed="true"] { color: #ff506e; }
.dashboard-shell .social-short .social-action .social-vector-icon { width: 27px; height: 27px; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .4)); }
.dashboard-shell .social-short-controls { position: absolute; z-index: 2; top: 82px; left: 18px; display: flex; gap: 8px; }
.dashboard-shell .social-short-control { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgb(255 255 255 / .25); border-radius: 50%; color: #fff; background: rgb(0 0 0 / .35); cursor: pointer; }
.dashboard-shell .social-short-progress { position: absolute; z-index: 2; bottom: 10px; left: 16px; width: calc(100% - 32px); height: 16px; margin: 0; padding: 0; accent-color: #fff; cursor: pointer; }
body.dashboard-shell.omo-design .social-short-progress { accent-color: #fff; }
.dashboard-shell .social-short :is(.social-action, .social-short-control):hover { background: rgb(255 255 255 / .2); }
@media (max-width: 600px) {
    .dashboard-shell .social-view-switch { display: flex; }
    .dashboard-shell .social-view-switch button { flex: 1; }
    .dashboard-shell .social-profile { padding: 0 18px; }
    .dashboard-shell .social-profile-cover { margin: 0 -18px; height: 90px; }
    .dashboard-shell .social-profile-heading { gap: 12px; align-items: center; }
    .dashboard-shell .social-profile-heading > .social-avatar { width: 80px; height: 80px; min-width: 80px; }
    .dashboard-shell .social-profile-identity { flex-basis: calc(100% - 96px); padding-top: 32px; }
    .dashboard-shell .social-profile h3 { font-size: 22px; }
    .dashboard-shell .social-profile .social-stats { gap: 16px; }
    .dashboard-shell .social-profile-tabs { gap: 22px; }
    .dashboard-shell .is-shorts #social-list:not(:empty) { height: 76dvh; }
}
.dashboard-shell #social-refresh { margin-inline-start: auto; }
.dashboard-shell .social-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dashboard-shell .social-toolbar .social-view-switch { margin: 0; }
.dashboard-shell .social-main { grid-column: 1; grid-row: 1; }
.dashboard-shell .social-aside { display: block; grid-column: 2; grid-row: 1; }
.dashboard-shell .social-community-toggle { display: none; }
@media (max-width: 900px) {
  .dashboard-shell .social-layout { gap: 16px; }
  .dashboard-shell .social-main { grid-column: 1; grid-row: 2; }
  .dashboard-shell .social-aside { grid-column: 1; grid-row: 1; position: sticky; top: 0; z-index: 5; background: var(--shell-bg); border-radius: 12px; }
  .dashboard-shell .social-community-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 12px; background: var(--shell-raised); color: var(--shell-text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
  .dashboard-shell .social-community-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
  .dashboard-shell .social-community-toggle[aria-expanded="false"] + #social-community-content { display: none; }
  .dashboard-shell #social-community-content { max-height: min(60dvh, 480px); overflow-y: auto; overscroll-behavior: contain; padding-top: 12px; }
  .dashboard-shell #social-community-content .social-account { display: none; }
  .dashboard-shell #social-community-content .social-discover > h3 { display: none; }
  .dashboard-shell #social-community-content .social-discover { padding: 16px; }
  .dashboard-shell .is-guest .social-main { grid-row: 1; }
}
