body#dw_app.dw_unified_ui_root .dw-feed {
    display: grid;
    width: 100%;
    max-width: 720px;
    min-width: 0;
    gap: 12px;
    margin: 0 auto;
    color: var(--item_block_color);
}

body#dw_app.dw_unified_ui_root .dw-feed,
body#dw_app.dw_unified_ui_root .dw-feed * {
    box-sizing: border-box;
}

body#dw_app.dw_unified_ui_root .dw-feed .item_block {
    margin: 0;
}

body#dw_app.dw_unified_ui_root .dw-feed__header {
    overflow: hidden;
    padding: 20px 20px 0;
    border: 1px solid var(--item_block_border);
    background: var(--item_block_background);
}

body#dw_app.dw_unified_ui_root .dw-feed__heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

body#dw_app.dw_unified_ui_root .dw-feed__heading > div {
    min-width: 0;
}

body#dw_app.dw_unified_ui_root .dw-feed__heading h1 {
    margin: 0;
    color: var(--item_block_head_color);
    font-size: 24px;
    line-height: 1.2;
}

body#dw_app.dw_unified_ui_root .dw-feed__heading p {
    max-width: 500px;
    margin: 7px 0 0;
    color: var(--color_secondary);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body#dw_app.dw_unified_ui_root .dw-feed__publish {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 5px;
    color: var(--btn-second-font-color);
    background: var(--btn-second-bg-color);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body#dw_app.dw_unified_ui_root .dw-feed__publish svg {
    width: 17px;
    height: 17px;
}

body#dw_app.dw_unified_ui_root .dw-feed__filters {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin: 18px -20px 0;
    padding: 0 20px;
    border-top: 1px solid var(--item_block_border);
    scrollbar-width: thin;
}

body#dw_app.dw_unified_ui_root .dw-feed__filters a {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    padding: 0 13px;
    color: var(--color_secondary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

body#dw_app.dw_unified_ui_root .dw-feed__filters a::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: transparent;
}

body#dw_app.dw_unified_ui_root .dw-feed__filters a:hover,
body#dw_app.dw_unified_ui_root .dw-feed__filters a.is-active {
    color: var(--item_block_head_color);
}

body#dw_app.dw_unified_ui_root .dw-feed__filters a.is-active::after {
    background: var(--btn-second-bg-color);
}

body#dw_app.dw_unified_ui_root .dw-feed__list {
    display: grid;
    min-width: 0;
    gap: 12px;
}

body#dw_app.dw_unified_ui_root .dw-feed__list .dw_wall_post {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body#dw_app.dw_unified_ui_root .dw-feed__list .dw_wall_post_text {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

body#dw_app.dw_unified_ui_root .dw-feed__empty {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 35px 20px;
    border: 1px solid var(--item_block_border);
    color: var(--color_secondary);
    text-align: center;
}

body#dw_app.dw_unified_ui_root .dw-feed__empty[hidden] {
    display: none;
}

body#dw_app.dw_unified_ui_root .dw-feed__empty strong {
    color: var(--item_block_head_color);
    font-size: 17px;
}

body#dw_app.dw_unified_ui_root .dw-feed__loader,
body#dw_app.dw_unified_ui_root .dw-feed__end {
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    color: var(--color_secondary);
    font-size: 12px;
    text-align: center;
}

body#dw_app.dw_unified_ui_root .dw-feed__loader {
    display: flex;
}

body#dw_app.dw_unified_ui_root .dw-feed__loader[hidden],
body#dw_app.dw_unified_ui_root .dw-feed__end[hidden] {
    display: none;
}

body#dw_app.dw_unified_ui_root .dw-feed__loader span {
    width: 16px;
    height: 16px;
    border: 2px solid var(--item_block_border);
    border-top-color: var(--btn-second-bg-color);
    border-radius: 50%;
    animation: dw-feed-spin 700ms linear infinite;
}

body#dw_app.dw_unified_ui_root .dw-feed__more {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--item_block_border);
    border-radius: 5px;
    color: var(--item_block_head_color);
    background: var(--item_block_background);
    font-weight: 700;
    cursor: pointer;
}

body#dw_app.dw_unified_ui_root .dw-feed__more[hidden] {
    display: none;
}

body#dw_app.dw_unified_ui_root .dw-feed__sentinel {
    width: 100%;
    height: 1px;
}

@keyframes dw-feed-spin {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 720px) {
    body#dw_app.dw_unified_ui_root .dw-feed {
        gap: 8px;
        overflow-x: hidden;
    }

    body#dw_app.dw_unified_ui_root .dw-feed__header {
        padding: 16px 14px 0;
    }

    body#dw_app.dw_unified_ui_root .dw-feed__heading {
        gap: 10px;
    }

    body#dw_app.dw_unified_ui_root .dw-feed__heading h1 {
        font-size: 21px;
    }

    body#dw_app.dw_unified_ui_root .dw-feed__heading p {
        font-size: 12px;
    }

    body#dw_app.dw_unified_ui_root .dw-feed__publish {
        width: 38px;
        min-width: 38px;
        padding: 0;
        justify-content: center;
    }

    body#dw_app.dw_unified_ui_root .dw-feed__publish span {
        display: none;
    }

    body#dw_app.dw_unified_ui_root .dw-feed__filters {
        margin-right: -14px;
        margin-left: -14px;
        padding: 0 14px;
    }

    body#dw_app.dw_unified_ui_root .dw-feed__filters a {
        min-height: 42px;
        padding: 0 11px;
    }

    body#dw_app.dw_unified_ui_root .dw-feed__list {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body#dw_app.dw_unified_ui_root .dw-feed__loader span {
        animation: none;
    }
}
