.bsf-feed {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.bsf-brand-header {
    margin: 0 0 12px;
    padding: 0 0 7px;
    border-bottom: 1px solid rgba(127, 127, 127, .18);
    font-size: 11px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
    color: inherit;
}

.bsf-brand-header-link {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.bsf-brand-header-link:hover,
.bsf-brand-header-link:focus-visible {
    color: inherit;
    text-decoration: none;
    opacity: .8;
}

.bsf-brand-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: #1185fe;
}

.bsf-brand-title {
    min-width: 0;
}

.bsf-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: inherit;
    text-decoration: none;
}

.bsf-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    object-fit: cover;
}

.bsf-profile-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.bsf-profile-text span {
    opacity: .68;
    overflow-wrap: anywhere;
}

.bsf-post {
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(127, 127, 127, .25);
}

.bsf-post:first-child {
    padding-top: 0;
}

.bsf-repost-profile {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    margin: 0 0 8px;
    color: inherit;
    font-size: .84em;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: none;
    opacity: .72;
}

.bsf-repost-profile:hover,
.bsf-repost-profile:focus-visible {
    color: inherit;
    text-decoration: none;
    opacity: .95;
}

.bsf-repost-avatar {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    object-fit: cover;
}

.bsf-repost-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bsf-image-link,
.bsf-video-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 9px;
    overflow: hidden;
    border-radius: 8px;
}

.bsf-thumbnail,
.bsf-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    border-radius: 8px;
}

.bsf-thumbnail {
    object-fit: cover;
}

.bsf-video {
    min-height: 120px;
    max-height: 480px;
    background: #000;
    object-fit: contain;
}

.bsf-video-error {
    background-size: cover;
    background-position: center;
}

.bsf-text {
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.45;
}

.bsf-text a {
    overflow-wrap: anywhere;
}

.bsf-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px 10px;
    margin-top: 7px;
    font-size: .75em;
    line-height: 1.25;
    color: inherit;
    opacity: .58;
}

.bsf-meta a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.bsf-stats {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-size: .92em;
    opacity: .72;
}

.bsf-stats > span {
    white-space: nowrap;
}

.bsf-view-profile {
    display: inline-block;
    margin-top: 10px;
}

.bsf-error,
.bsf-empty {
    font-size: .9em;
}

.bsf-video-fallback {
    display: none;
    padding: 7px 9px;
    font-size: .78em;
    line-height: 1.25;
    text-align: center;
    color: inherit;
    background: rgba(127, 127, 127, .09);
    text-decoration: none;
}

.bsf-video-wrap.bsf-video-failed .bsf-video-fallback {
    display: block;
}

.bsf-video-wrap.bsf-video-failed .bsf-video {
    border-radius: 8px 8px 0 0;
}

.bsf-post-link {
    margin-left: auto;
    white-space: nowrap;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    opacity: .86;
}

.bsf-post-link:hover,
.bsf-post-link:focus-visible,
.bsf-video-fallback:hover,
.bsf-video-fallback:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Bluesky-style external webpage/article cards. */
.bsf-external-card {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 1px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(127, 127, 127, .35);
    border-radius: 10px;
    color: inherit;
    background: rgba(127, 127, 127, .035);
    text-decoration: none;
}

.bsf-external-card:hover,
.bsf-external-card:focus-visible {
    color: inherit;
    text-decoration: none;
    border-color: rgba(127, 127, 127, .58);
    background: rgba(127, 127, 127, .065);
}

.bsf-external-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1.91 / 1;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(127, 127, 127, .28);
}

.bsf-external-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    padding: 10px 11px 9px;
}

.bsf-external-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: .94em;
    line-height: 1.28;
    font-weight: 700;
}

.bsf-external-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: .82em;
    line-height: 1.35;
    opacity: .78;
}

.bsf-external-domain {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    font-size: .74em;
    line-height: 1.2;
    opacity: .66;
}

.bsf-external-domain > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bsf-external-domain-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
}
