.pst-feed__wrapper {
    display: grid;
    max-width: 945px;
    grid-template-columns: 620px 310px;
    grid-template-areas: "feed sidebar";
    gap: 0 15px;
    margin: 20px auto;
}

@media (max-width:945px) {
    .pst-feed__wrapper {
        max-width: 945px;
        width: 100%;
        grid-template-columns: 100%;
        gap: 0;
        margin: 20px auto;
    }

    .pst-feed__sidebar {
        display: none;
    }
}

.pst-feed {
    /* display: grid; */
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    /* border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12); */
}

.pst-feed__sidebar {
    margin: 40px 0 0 0;
}

.pst-feed__sidebar-block {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: #141517;
    margin-bottom: 12px;
    padding: 16px;
    & > .pst-author-recommendations {
        padding: 0;
    }
}

.pst-feed__sidebar-block-content {
    display: block;
    gap: 10px;
    & > p {
        font-size: 14px;
    }
    & > *:not(:last-child) {
        margin: 0 0 12px 0;
    }
}

.pst-feed__sidebar-block-button-wrapper {
    display: flex;
    width: 100%;
    & > .bttn {
        margin: 0 auto;
    }
}

.pst-feed-feature-card {
    display: grid;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.pst-feed-feature-card__image {
    width: 100%;
    display: block;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.pst-feed-feature-card__eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
}

.pst-feed-feature-card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.pst-feed-feature-card__meta,
.pst-feed-feature-card__stat {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.pst-feed-feature-card__badge {
    display: inline-flex;
}

.pst-feed-feature-card__avatar {
    display: inline-flex;
    width: fit-content;
}

.pst-feed-feature-card:hover .pst-feed-feature-card__title {
    text-decoration: underline;
}

.post_modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background: rgba(9, 11, 20, 0.7);
}

.post_modal.hidden {
    display: none;
}

.post_modal-content {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-height: calc(100vh);
    max-height: calc(100dvh);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 30px;
    padding: 30px;
    margin: 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.post_modal-body {
    box-sizing: border-box;
    min-height: 120px;
    margin: 0 auto;
    width: min(664px, calc(100vw - 24px));
    border-radius: 22px;
    padding: 22px;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 480px) {
    .post_modal-content {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
        padding: 0;
    }

    .post_modal-body {
        padding: 0;
        margin: 0;
        width: 100%;
        border-radius: 0;
        border: 0;
        min-height: 100dvh;
    }

    .pst-member-post-single.pst-feed .pst-feed-item {
        padding: 0 16px!important;
    }

    .pst-member-post-comments {
        padding: 0 16px;

        & .pst-member-post-comment-form__submit {
            margin: 3px;
        }
    }
}

/* .post_modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
} */

body.postModalOpen {
    overflow: hidden;
}


.pst-feed__header {
    margin-top: 16px;
}

.single-member_posts .pst-feed__header {
    margin-top: 0;
    margin-bottom: 12px;
}

.pst-feed__status {
    min-height: 24px;
    margin: 20px 0;
    color: #666;
    font-size: 14px;
    text-align: center;
}

.pst-feed__status.is-loading::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -2px;
    animation: pst-feed-spin 0.75s linear infinite;
}

.pst-feed-item {
    position: relative;
    overflow: hidden;
    padding: 16px 16px 10px 16px;
    &:not(:last-of-type) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (min-width: 481px) {
    .pst-feed-item:hover {
        background-color: rgba(255, 255, 255, 0.12);
        border-radius: 22px;
    }
}

.pst-feed-item.has-open-options {
    overflow: visible;
}

.pst-member-post-single.pst-feed .pst-feed-item {
    padding: 16px 0 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    &:hover {
        background-color: transparent;
        border-radius: 0;
    }
}

.pst-feed-item__link {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.pst-feed-item__author-avatar,
.pst-feed-item__author-name,
.pst-feed-item__date,
.pst-feed-item__body-control {
    position: relative;
    z-index: 2;
}

.pst-feed-item__header,
.pst-member-post-comment__header {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
}

@media (max-width:480px) {
    .post_modal-body .pst-feed-item__header {
        display: none
    }
}

.pst-feed-item__author-avatar,
.pst-feed-item__author-avatar img,
.pst-member-post-comment__author-avatar,
.pst-member-post-comment__author-avatar img {
    grid-area: avatar;
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.pst-feed-item__author,
.pst-member-post-comment__author {
    display: grid;
    grid-template-columns: 26px auto 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "avatar name info";
    /* align-items: center; */
    gap: 12px;
    min-width: 0;
}

@media (max-width: 520px) {

}

.pst-feed-item__author-name-wrap,
.pst-member-post-comment__author-name-wrap {
    grid-area: name;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pst-feed-item__author-name,
.pst-feed-item__title,
.pst-member-post-comment__author-name,
.pst-member-post-comment__title {
    display: flex;
    align-items: center;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.pst-feed-item__title {
    /* text-overflow: ellipsis; */
    /* white-space: nowrap; */
    /* overflow: hidden; */
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .pst-feed-item__title {
    max-width: 100%;
    /* text-overflow: ellipsis!important;
    white-space: nowrap!important;
    overflow: hidden!important; */
}
}

.pst-feed-item__source {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 3px;
}

.pst-feed-item__author-info-wrap,
.pst-member-post-comment__author-info-wrap {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 12px;
    text-decoration: none;
    grid-area: info;
    gap: 6px;
    & > .pst-feed-item__date,
        .pst-member-post-comment__date {
        color: inherit;
    }
    & > .pst-feed-item__type,
        .pst-member-post-comment__type {
        background-color: #282828;
        border-radius: 20px;
        padding: 1px 6px;
        color: #919191;
    }
    & > .pst-feed-item__source {
        color: inherit;
    }
}

@media (max-width: 420px) {
    .pst-feed-item__type,
    .pst-member-post-comment__type {
        display: none;
    }
}

.pst-feed-item__media {
    display: block;
    background: rgb(32, 32, 32);
    border-radius: 8px;
    overflow: hidden;
    width: 500px;
    margin: 0 auto 14px;
}

.pst-feed-item__media img {
    display: block;
    width: 100%;
    height: auto;
}

.pst-feed-item__body {
    display: block;
    line-height: 1.4;
}

.pst-feed-item .pst-feed-item__body a {
    position: relative;
    z-index: 1;
    color: var(--blue);
}

.pst-feed-item__body-date {
    display: block;
    margin-bottom: 14px;
    font-size: 14px;
    color: #777;
}

.pst-feed-item__body-controls {
    display: flex;
    flex-direction: row;
    gap: 3px;
}

.pst-feed-item__body-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 32px;
    cursor: pointer;
    transition: box-shadow .2s ease 0s;
    background-color: transparent;
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 11px;
    margin: 2px 0;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle;
}

.pst-feed-item__body-control.feed-love.loved {
    color: #e04545;
}

.pst-feed-item__body-control.feed-love[aria-busy="true"] {
    pointer-events: none;
    opacity: 0.7;
}

@media (min-width: 480px) {
    .pst-feed-item__body-control:hover {
        box-shadow: inset 0 0 0 128px rgba(255,255,255,.1);
    }

    .pst-feed-item__body {
        padding: 16px 0 14px;
        & p {
            margin: 0;
        }
    }

    .pst-feed-item__description > p {
        margin: 0;
    }

    .pst-feed-item__description > p:last-of-type {
        margin-bottom: 8px;
    }

    .pst-feed-item__description > :first-child {
        margin-top: 0;
    }

    .pst-feed-item__description > :last-child {
        margin-bottom: 8px!important;
    }
}

@media (max-width:480px) {
    .pst-feed-item {
        padding: 12px 6px 10px 6px;
    }
    
    .pst-feed-item__description > p:last-of-type {
        margin-bottom: 8px;
    }

    .pst-feed-item__description > :last-child {
        margin-bottom: 8px!important;
    }
}

@keyframes pst-feed-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Reporting */

.pst-feed-item__header-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pst-feed-item__post-options {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 3;
}

.pst-feed-item__post-options-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    &:hover {
        background-color: rgba(255, 255, 255, 0.12);
    }
}

.pst-feed-item__post-options-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.pst-feed-item__post-options-dropdown {
    display: none;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px;
    border-radius: 8px;
    background-color: #141517;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 20;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.pst-feed-item__post-options.is-open > .pst-feed-item__post-options-dropdown {
    display: block;
}

.pst-feed-item__post-options-dropdown[hidden] {
    display: none;
}

.pst-feed-item__post-options-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    &:hover {
        background-color: rgba(255, 255, 255, 0.12);
    }
}

.pst-feed-item__post-options-dropdown-item.dropdown-item--report,
.pst-feed-item__post-options-dropdown-item.dropdown-item--delete {
    color: #f85149;
}

.pst-feed-item__post-options-dropdown-item:disabled {
    cursor: default;
    opacity: 0.75;
}


@media (max-width: 480px) {
    .pst-feed-item__post-options-dropdown {
        min-width: 190px;
    }

    .pst-feed-item__post-options-dropdown-item {
        font-size: 16px;
        padding: 8px 12px;
    }
}

/* Member Posts */

.pst-member-post-form {
    width: 100%;
    max-width: 620px;
    margin: 0 auto 12px auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0 0 16px 0;
    & > .upload_warning {
        max-width: 100%!important;
    }
}

@media (max-width: 480px) {
    .pst-member-post-form {
        padding: 16px 8px;
    }
}

.pst-member-post-form__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pst-member-post-form__input-wrapper {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pst-member-post-form__input-wrapper.is-drag-over {
    background-color: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.9);
}

.pst-member-post-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 100px;
    resize: vertical;
    border-radius: 22px;
    padding: 18px 18px 12px 18px;
    font-size: 14px;
    background-color: transparent;
}

.pst-member-post-form__media {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px 10px;
}

.pst-member-post-form__media:empty {
    display: none;
}

.pst-member-post-form__media-item {
    position: relative;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.pst-member-post-form__media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pst-member-post-form__media-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.pst-member-post-form__toolbar {
    padding: 3px 12px 12px 12px;
    & > label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 20px;
        cursor: pointer;
    }
}

@media (min-width:480px) {
    .pst-member-post-form__toolbar > label:hover {
        background-color: rgba(255, 255, 255, 0.12);
    }
}

.pst-member-post-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pst-member-post-form__limit,
.pst-member-post-form__login {
    color: inherit;
    font-size: 14px;
    opacity: 0.72;
}

.pst-member-post-form__limit {
    margin-bottom: 22px;
    margin-left: 10px;
    font-size: 12px;
}

.pst-member-post-form__message {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.pst-member-post-form__message--success {
    background: rgb(0, 102, 255);
    color: #fff;
}

.pst-member-post-form__message--error {
    background: rgba(248, 81, 73, 0.14);
    color: #f85149;
}

.pst-member-post-status-bar {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 100002;
    width: min(520px, calc(100% - 32px));
    margin: 0;
    padding: 14px 18px;
    text-align: center;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition: opacity 300ms ease, transform 300ms ease;
}

.pst-member-post-status-bar.is-fading {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
}

.pst-member-post-form__submit {
    gap: 0.5em;
}

@media (max-width: 560px) {
    .pst-member-post-form__actions {
        align-items: stretch;
        /* flex-direction: column; */
    }
}

.pst-member-post-form__header {
    display: grid;
    grid-template-columns: 26px auto 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "avatar name info";
    /* align-items: center; */
    gap: 12px;
    margin-bottom: 14px;
}

.pst-member-post-feed__body {
    & p {
        margin: 0 0 12px;
    }
    /* display: grid;
    grid-template-columns: 38px 1fr;
    gap: 8px;
    grid-template-areas: "margin content";
    & * {
        grid-area: content;
    } */
}

.pst-member-post-media {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
}

.pst-member-post-media--count-2,
.pst-member-post-media--count-3,
.pst-member-post-media--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    & .pst-member-post-media__image { 
        object-fit: cover;
        width: 100%!important;
        height: 100%!important;
    }
}

.pst-member-post-media--count-2,
.pst-member-post-media--count-4 {
    & > .pst-member-post-media__item {
        aspect-ratio: 1 / 1;
    }
}

.pst-member-post-media--count-3 {
    & > .pst-member-post-media__item {
        aspect-ratio: 1 / 1;
        &:nth-of-type(1) {
            aspect-ratio: auto;
            grid-row: 1 / span 2;
        }
    }
}

.pst-member-post-media--count-lots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    & .pst-member-post-media__image {
        object-fit: cover;
        width: 100%!important;
        height: 100%!important;
    }
    & > .pst-member-post-media__item {
        aspect-ratio: 1 / 1;
        overflow: hidden;
        &:nth-of-type(4)[data-remaining]::before {
            content: attr(data-remaining);
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background-color: rgba(0, 0, 0, 0.32);
            width: 100%;
            height: 100%;
            text-shadow: 0 0 4px rgba(0,0,0,0.5);
            font-size: 14px;
            font-weight: 600;
            pointer-events: none;
            z-index: 3;
        }
    }
}

.pst-member-post-media__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: rgb(32, 32, 32);
}

.pst-member-post-media__image {
    display: block;
    width: 100%;
    height: auto;
}

.pst-member-post-media__link {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.pst-member-post-media__link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: -3px;
}

.pst-member-post-comments {
    margin: 16px 0;
    & > .must-log-in {
        text-align: center;
        font-size: 14px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 30px;
        padding: 15px;
    }
}

.pst-member-post-comment-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 5px 5px 15px;
    border-radius: 30px;
    margin-bottom: 10px;

    & > p {
        margin: 0;
    }

    & label {
        display: none;
    }
    & .pst-member-post-comment-form__textarea {
        resize: none;
        height: auto;
        background-color: transparent;
        padding: 12px 12px 12px 3px;
        font-size: 85%;
        max-height: 200px;
        overflow: auto;
        field-sizing: content;
        outline: none;
        flex-basis: calc(100% - 140px);
    }
}

.pst-member-post-comment-form__message {
    margin: 0 0 3px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.25;
}

.pst-member-post-comment-form__message.is-error {
    color: rgba(255, 255, 255, 0.68);
}



.pst-member-post-comments__list {
    margin: 0;
    padding: 0;
}

.pst-member-post-comment__children {
    margin: 5px 0;
}

.pst-member-post-comment {
    position: relative;
    /* overflow: hidden; */
    padding: 16px 0 10px 0;
    &:not(:last-of-type) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}

/* .pst-member-post-comment:not([data-comment-depth="0"])::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    left: -20px;
    top: 0;
} */

.pst-member-post-comment:not([data-comment-depth="0"])::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 28px;
    /* background-color: rgba(255, 255, 255, 0.2); */
    border-left: 1px solid #505050;
    border-bottom: 1px solid #505050;
    border-radius: 0 0 0 8px;
    left: -28px;
    top: 0;
}

.pst-member-post-comment:not([data-comment-depth="0"])::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 100%;
    border-left: 1px solid #505050;
    left: -28px;
    top: 0;
}

.pst-member-post-comment:not([data-comment-depth="0"]):last-child::after {
    display: none;
}

.pst-member-post-comment__content {
    font-size: 14px;
}

.pst-member-post-comment__reply-composer {
    margin: 12px 0 4px;
}

.pst-member-post-comment-form--reply {
    margin-bottom: 0;
}

.pst-member-post-comments .comment-reply-title,
.pst-member-post-comments #cancel-comment-reply-link {
    display: none;
}

.comment-reply-link {
    font-size: 14px;
    font-weight: 600;
}


.pst-member-post-feed__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    & > p {
        font-weight: 700;
    }
    & > span {
        font-size: 14px;
    }
    & > * {
        margin: 0;
    }
}

.pst-member-post-feed__sentinel {
    width: 100%;
    height: 1px;
}

.pst-member-post-feed__loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    color: #aaa;
    font-size: 14px;
}

.pst-member-post-feed__loader[hidden] {
    display: none;
}

.pst-member-post-feed__loader.is-error .fa-spinner {
    display: none;
}


/* controls */

.pst-feed__controls {
    display: grid;
    grid-template-columns: 1fr 50px;
    width: 100%;
    margin-bottom: 12px;
}

.pst-feed__tabs {
    display: flex;
}

.pst-feed__tab-button {
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    flex-grow: 1;
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    border: 0;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    &.active {
        font-weight: 600;
        color: #fff;
    }
}

.pst-feed__options {
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    flex-grow: 1;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

@media (max-width: 480px) {
    .pst-feed__tab-button,
    .pst-feed__options {
        &:hover {
            background-color: rgba(255, 255, 255, 0.12);
        }
    }
}

div[data-pst-feed-options-content] h3 {
    margin: 0;
}

.pst-feed__options-list {
    margin-bottom: 16px;
}

.pst-feed__options-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    & > input[type=checkbox] {
        appearance: none;
        display: block;
        width: 32px;
        height: 20px;
        background-color: #6c6c6c;
        border-radius: 10px;
        padding: 2px;
        &::before {
            content: "";
            display: block;
            position: absolute;
            width: 16px;
            height: 16px;
            background-color: #000;
            border-radius: 8px;
            transition: all 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
        }
        &:checked {
            background-color: var(--blue);
            &::before {
                background-color: #fff;
                transform: translateX(12px);
            }
        }
    }
}

.pst-feed__options-topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pst-feed__options-topic {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    max-width: 100%;
    padding: 6px 8px 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background-color: #141517;
    color: var(--button-text-invert);
    transition: opacity 0.2s ease;
}

.pst-feed__options-topic[hidden] {
    display: none;
}

.pst-feed__options-topic-name {
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pst-feed__options-topic-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.66);
    cursor: pointer;
    font-size: 12px;
}

.pst-feed__options-topic-remove:hover,
.pst-feed__options-topic-remove:focus-visible {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.pst-feed__options-topic-remove:disabled {
    cursor: wait;
}

.pst-feed__options-topics-intro,
.pst-feed__options-topics-empty,
.pst-feed__options-topics-status {
    margin: -4px 0 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.45;
}

.pst-feed__options-topics-empty,
.pst-feed__options-topics-status {
    margin-top: 8px;
    margin-bottom: 0;
}

.pst-feed__options-topics-status:empty {
    display: none;
}

.pst-feed__options-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pst-feed__options-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.pst-feed__options-footer button {
    flex-shrink: 0;
}

.pst-feed__options-footer button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.pst-feed__options-list-item > input:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}
