.bluesky-embed {
    --max-feed-height: initial;
    --font-size: 20px;
}

.bluesky-embed.s-1pz15a1 {
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    border: 1px solid var(--divider);
    border-radius: 8px;
    background: var(--background-primary);
    min-width: 250px;
    /*max-width: 550px;*/
    width: 100%;
    overflow: hidden;
    color: var(--text-primary);
    font-weight: 400;
    font-size: calc(var(--font-size) * 0.875);
    line-height: calc(var(--font-size) * 1.25);
    font-family: var(--font-family);

    :where(*),
    :where(*::before),
    :where(*::after) {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    :where(a) {
        color: inherit;
        text-decoration: none;
    }

    :where(.icon) {
        flex-shrink: 0;
        width: 1em;
        height: 1em;
    }
}

.external-embed.s-au8a8u {
    display: block;
    border: 1px solid var(--divider);
    border-radius: 6px;
    overflow: hidden;

    &:hover {
        border-color: var(--divider-hover);
    }
}

.thumbnail.s-au8a8u {
    display: block;
    background: #000000;
    aspect-ratio: 1.91;
    width: 100%;
}

.meta.s-au8a8u {
    padding: 12px;
}

.title.s-au8a8u {
    display: -webkit-box;
    overflow: hidden;
    font-weight: 700;
    white-space: pre-wrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: break-word;

    &:empty {
        display: none;
    }
}
.description.s-au8a8u {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: calc(var(--font-size) * 0.8125);
    white-space: pre-wrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: break-word;

    &:empty {
        display: none;
    }
}

.domain.s-au8a8u {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0 0;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: calc(var(--font-size) * 0.75);
}

.feed-embed.s-1c1phtf {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    padding: 12px;

    &:hover {
        border-color: var(--divider-hover);
    }
}

.main.s-1c1phtf {
    display: flex;
    gap: 12px;
}

.avatar-wrapper.s-1c1phtf {
    margin: 2px 0 0 0;
    border-radius: 6px;
    background: var(--background-secondary);
    width: 36px;
    height: 36px;
    overflow: hidden;
}
.avatar.s-1c1phtf {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name.s-1c1phtf {
    font-weight: 700;
}

.creator.s-1c1phtf {
    color: var(--text-secondary);
    font-size: calc(var(--font-size) * 0.8125);
}

.description.s-1c1phtf {
    display: -webkit-box;
    overflow: hidden;
    font-size: calc(var(--font-size) * 0.8125);
    white-space: pre-wrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: break-word;

    &:empty {
        display: none;
    }
}

.is-bordered.s-1d339cy {
    border: 1px solid var(--divider);
    border-radius: 6px;
    overflow: hidden;
}
.is-aligned.s-1d339cy {
    align-self: baseline;
    max-width: 100%;
}

.grid.s-1d339cy {
    display: flex;
    gap: 2px;
}
.col.s-1d339cy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.square.s-1d339cy {
    aspect-ratio: 1;
}
.wide.s-1d339cy {
    aspect-ratio: 1.5;
}

.item.s-1d339cy {
    position: relative;
    flex-grow: 1;
    flex-shrink: 0;
}

.single-item.s-1d339cy {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    .image:where(.s-1d339cy) {
        object-fit: contain;
    }
}
.is-standalone.s-1d339cy {
    min-width: 64px;
    max-width: 100%;
    min-height: 64px;
    /*max-height: 320px;*/
    max-height: 600px;
}

.image.s-1d339cy {
    position: absolute;
    inset: 0;
    background: #000000;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-size: 0px;
}

.placeholder.s-1d339cy {
    width: 100vw;
    height: 100vh;
}

.list-embed.s-1mo1e33 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    padding: 12px;

    &:hover {
        border-color: var(--divider-hover);
    }
}

.main.s-1mo1e33 {
    display: flex;
    gap: 12px;
}

.avatar-wrapper.s-1mo1e33 {
    margin: 2px 0 0 0;
    border-radius: 6px;
    background: var(--background-secondary);
    width: 36px;
    height: 36px;
    overflow: hidden;
}
.avatar.s-1mo1e33 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name.s-1mo1e33 {
    font-weight: 700;
}

.creator.s-1mo1e33 {
    color: var(--text-secondary);
    font-size: calc(var(--font-size) * 0.8125);
}

.description.s-1mo1e33 {
    display: -webkit-box;
    overflow: hidden;
    font-size: calc(var(--font-size) * 0.8125);
    white-space: pre-wrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: break-word;

    &:empty {
        display: none;
    }
}

.video-embed.s-1h3cnsw {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.is-bordered.s-1h3cnsw {
    border: 1px solid var(--divider);
    border-radius: 6px;
}
.is-standalone.s-1h3cnsw {
    align-self: baseline;
    aspect-ratio: auto;
    max-width: 100%;
}

.constrainer.s-1h3cnsw {
    min-width: 64px;
    max-width: 100%;
    min-height: 64px;
    /*max-height: 320px;*/
    max-height: 600px;
}

.thumbnail.s-1h3cnsw {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.placeholder.s-1h3cnsw {
    width: 100vw;
    height: 100vh;
}

.play.s-1h3cnsw {
    display: grid;
    position: absolute;
    top: 50%;
    left: 50%;
    place-items: center;
    translate: -50% -50%;
    border-radius: 50%;
    background: rgba(64, 64, 64, 0.6);
    aspect-ratio: 1 / 1;
    height: 40%;
    max-height: 48px;
    color: #ffffff;
    font-size: 20px;

    .icon:where(.s-1h3cnsw) {
        width: 40%;
        height: 40%;
    }

    .is-standalone:where(.s-1h3cnsw) &:hover {
        background: rgba(64, 64, 64, 0.8);
    }
}

.quote-embed.s-vbjlyj {
    display: block;
    border: 1px solid var(--divider);
    border-radius: 6px;
    overflow: hidden;

    &:hover {
        border-color: var(--divider-hover);
    }
}

.meta.s-vbjlyj {
    display: flex;
    padding: 12px 12px 0 12px;
    color: var(--text-secondary);

    .avatar-wrapper:where(.s-vbjlyj) {
        flex-shrink: 0;
        margin: 0 8px 0 0;
        border-radius: 9999px;
        background: var(--background-secondary);
        width: 20px;
        height: 20px;
        overflow: hidden;
    }
    .avatar:where(.s-vbjlyj) {
        width: 100%;
        height: 100%;
    }

    .name-wrapper:where(.s-vbjlyj) {
        display: flex;
        gap: 4px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .display-name-wrapper:where(.s-vbjlyj) {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .display-name:where(.s-vbjlyj) {
        color: var(--text-primary);
        font-weight: 700;
    }
    .handle:where(.s-vbjlyj) {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dot:where(.s-vbjlyj) {
        flex-shrink: 0;
        margin: 0 6px;
    }

    .date:where(.s-vbjlyj) {
        white-space: nowrap;
    }
}

.body.s-vbjlyj {
    display: flex;
    align-items: flex-start;
}

.aside.s-vbjlyj {
    flex-grow: 1;
    flex-basis: 0;
    margin: 8px 0 12px 12px;
    max-width: 20%;
}

.text.s-vbjlyj {
    display: -webkit-box;
    margin: 8px 12px 12px 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    flex-grow: 4;
    flex-basis: 0px;
    min-width: 0px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.divide.s-vbjlyj {
    padding: 6px 0;
}

.starterpack-embed.s-whpa2l {
    display: block;
    border: 1px solid var(--divider);
    border-radius: 6px;
    overflow: hidden;

    &:hover {
        border-color: var(--divider-hover);
    }
}

.banner.s-whpa2l {
    display: block;
    aspect-ratio: 1.91;
    width: 100%;
}

.meta.s-whpa2l {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}

.main.s-whpa2l {
    display: flex;
    gap: 12px;
}

.avatar.s-whpa2l {
    margin: 2px;
    width: 36px;
    height: 36px;
}

.name.s-whpa2l {
    font-weight: 700;
}

.creator.s-whpa2l {
    color: var(--text-secondary);
    font-size: calc(var(--font-size) * 0.8125);
}

.description.s-whpa2l {
    display: -webkit-box;
    overflow: hidden;
    font-size: calc(var(--font-size) * 0.8125);
    white-space: pre-wrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: break-word;

    &:empty {
        display: none;
    }
}

.embeds.s-1nks9gp {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 0 0;
}

.message.s-1nks9gp {
    border: 1px solid var(--divider);
    border-radius: 6px;
    padding: 12px;
    color: var(--text-secondary);
}

.rich-text.s-10xqaeb {
    overflow: hidden;
    white-space: pre-wrap;
    overflow-wrap: break-word;

    &:empty {
        display: none;
    }
}
.is-large.s-10xqaeb {
    font-size: calc(var(--font-size) * 1);
    line-height: calc(var(--font-size) * 1.5);
}

.link.s-10xqaeb,
.mention.s-10xqaeb,
.hashtag.s-10xqaeb {
    color: var(--text-link);

    &:hover {
        text-decoration: underline;
    }
}

.feed-post.s-1c3lek9 {
    padding: 0 16px;
}
.is-leaf.s-1c3lek9 {
    border-bottom: 1px solid var(--divider);
}

.ascendant-line-wrapper.s-1c3lek9 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 36px;

    .line:where(.s-1c3lek9) {
        position: absolute;
        top: 0;
        bottom: 4px;
        flex-grow: 1;
        border-left: 2px solid var(--divider);
    }
}
.descendant-line.s-1c3lek9 {
    flex-grow: 1;
    margin-top: 4px;
    border-left: 2px solid var(--divider);
}

.contexts.s-1c3lek9 {
    display: flex;
    position: relative;
    flex-direction: column;
    padding: 8px 0 4px 0;
}
.context.s-1c3lek9 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.25rem;

    .aside:where(.s-1c3lek9) {
        display: flex;
        flex-shrink: 0;
        justify-content: flex-end;
        width: 36px;
    }

    .main:where(.s-1c3lek9) {
        display: flex;
        min-width: 0px;

        &:hover {
            text-decoration-line: underline;
        }
    }

    .name:where(.s-1c3lek9) {
        overflow: hidden;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .affix:where(.s-1c3lek9) {
        flex-shrink: 0;
        white-space: pre;
    }
}

.content.s-1c3lek9 {
    display: flex;
    gap: 12px;

    .aside:where(.s-1c3lek9) {
        display: flex;
        flex-shrink: 0;
        flex-direction: column;
        align-items: center;
    }

    .main:where(.s-1c3lek9) {
        flex-grow: 1;
        padding-bottom: 12px;
        min-width: 0;
    }
}

.avatar-wrapper.s-1c3lek9 {
    display: block;
    border-radius: 9999px;
    background: var(--background-secondary);
    width: 36px;
    height: 36px;
    overflow: hidden;

    &:hover {
        filter: brightness(0.85);
    }
}
.avatar.s-1c3lek9 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meta.s-1c3lek9 {
    display: flex;
    align-items: center;
    margin: 0 0 2px 0;
    color: var(--text-secondary);

    .name-wrapper:where(.s-1c3lek9) {
        display: flex;
        gap: 4px;
        max-width: 100%;
        overflow: hidden;
        color: inherit;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .display-name-wrapper:where(.s-1c3lek9) {
        overflow: hidden;
        text-overflow: ellipsis;

        .name-wrapper:where(.s-1c3lek9):hover & {
            text-decoration: underline;
        }
    }

    .display-name:where(.s-1c3lek9) {
        color: var(--text-primary);
        font-weight: 700;
    }

    .handle:where(.s-1c3lek9) {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dot:where(.s-1c3lek9) {
        flex-shrink: 0;
        margin: 0 6px;
    }

    .date:where(.s-1c3lek9) {
        color: inherit;
        text-decoration: none;
        white-space: nowrap;

        &:hover {
            text-decoration: underline;
        }
    }
}

.reply-context.s-1c3lek9 {
    overflow: hidden;
    color: var(--text-secondary);
    font-size: calc(var(--font-size) * 0.8125);
    text-overflow: ellipsis;
    white-space: nowrap;

    a:where(.s-1c3lek9) {
        color: inherit;
        font-weight: 500;

        &:hover {
            text-decoration: underline;
        }
    }
}

.metrics.s-1c3lek9 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    color: var(--text-secondary);
}
.stat.s-1c3lek9 {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0px;
    max-width: 100%;

    .count:where(.s-1c3lek9) {
        padding-right: 8px;
        overflow: hidden;
        font-size: 0.8125rem;
        line-height: 1.25rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.profile-feed-header.s-1xh30xs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    container-type: inline-size;
    border-bottom: 1px solid var(--divider);
    padding: 12px 16px;
}

.title.s-1xh30xs {
    padding: 4px 0;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    font-size: calc(var(--font-size) * 1);
    line-height: calc(var(--font-size) * 1.5);
    text-overflow: ellipsis;
    white-space: nowrap;

    &:hover {
        text-decoration: underline;
    }
}

.logo.s-1xh30xs {
    width: 24px;
    height: 24px;
}

.message.s-f12rvk {
    margin: 0 auto;
    padding: 32px 16px;
    max-width: 380px;
    color: var(--text-secondary);
    text-align: center;
}

.feed.s-f12rvk {
    max-height: var(--max-feed-height);
    overflow-y: auto;
}
.end-marker.s-f12rvk {
    display: grid;
    place-items: center;
    height: 48px;

    .dot:where(.s-f12rvk) {
        border-radius: 50%;
        background: var(--text-secondary);
        width: 4px;
        height: 4px;
    }
}

/* custom */
.block-loaded {
    display: none;
}

bluesky-profile-feed .bluesky-embed.s-1pz15a1 {
    max-width: initial;
    background: transparent;
    border: transparent;
    height: 100%;
}
bluesky-profile-feed .feed.s-f12rvk {
    max-height: initial;
}

