.netherese-feed {
    color: #171c1a;
    display: grid;
    gap: 16px;
    grid-template-columns: 260px minmax(560px, 1fr) 252px;
    margin: 0 auto;
    max-width: 1500px;
    padding: 12px 18px 30px;
}

.netherese-feed__rail {
    align-self: start;
    display: grid;
    gap: 14px;
    grid-column: 1;
    position: sticky;
    top: 130px;
}

.netherese-feed__list {
    align-self: start;
    display: grid;
    grid-column: 2;
}

.netherese-feed__aside {
    align-self: start;
    display: grid;
    gap: 14px;
    grid-column: 3;
    position: sticky;
    top: 130px;
}

.netherese-feed__header {
    align-items: center;
    background: #ffffff;
    border: 1px solid #deded7;
    border-radius: 7px 7px 0 0;
    display: flex;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 12px 0 16px;
}

.netherese-feed__tabs {
    align-items: center;
    display: flex;
    gap: 24px;
}

.netherese-feed__tab {
    align-items: center;
    color: #171c1a;
    display: inline-flex;
    font-size: 14px;
    font-weight: 650;
    gap: 7px;
    height: 48px;
    line-height: 1;
    text-decoration: none;
}

.netherese-feed__tab .icon {
    color: #3b5f49;
    font-size: 15px;
}

.netherese-feed__tab.is-active {
    box-shadow: inset 0 -2px 0 #1f5b3e;
    color: #0f3327;
}

.netherese-create-topic {
    align-items: center;
    background: #164c35;
    border: 1px solid #113a29;
    border-radius: 6px;
    box-shadow: 0 6px 14px rgba(19, 63, 46, 0.16);
    color: #ffffff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    text-decoration: none;
}

.netherese-create-topic:hover {
    background: #1f6045;
    color: #ffffff;
    text-decoration: none;
}

.netherese-topic-card {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #deded7;
    border-top: 0;
    display: grid;
    gap: 0;
    grid-template-columns: 76px minmax(0, 1fr) 188px 110px;
    min-height: 96px;
}

.netherese-topic-card:last-child {
    border-radius: 0 0 7px 7px;
}

.netherese-topic-card:hover {
    background: #fbfbf8;
}

.netherese-topic-card__votes {
    align-items: center;
    border-right: 1px solid #e3e3dc;
    display: grid;
    gap: 1px;
    justify-items: center;
    padding: 9px 0;
}

.netherese-topic-card__votes form,
.netherese-topic-card__footer form {
    margin: 0;
}

.netherese-topic-card__votes strong {
    color: #1d2520;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.15;
}

.netherese-topic-card__vote {
    align-items: center;
    background: transparent;
    border: 0;
    color: #68716c;
    cursor: pointer;
    display: inline-flex;
    height: 24px;
    justify-content: center;
    padding: 0;
    width: 28px;
}

.netherese-topic-card__vote:hover {
    color: #164c35;
}

.netherese-topic-card__body {
    min-width: 0;
    padding: 14px 16px 12px;
}

.netherese-topic-card h3 {
    font-size: 17px;
    font-weight: 750;
    line-height: 1.25;
    margin: 0 0 5px;
}

.netherese-topic-card h3 a {
    color: #171c1a;
    text-decoration: none;
}

.netherese-topic-card h3 a:hover {
    color: #133f2e;
}

.netherese-topic-card p {
    color: #555f59;
    font-size: 13px;
    line-height: 1.35;
    margin: 0 0 8px;
}

.netherese-topic-card__flairs {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.netherese-topic-card__flair,
.netherese-topic-card__pill {
    border-radius: 5px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 8px;
}

.netherese-topic-card__flair {
    background: var(--flair-color, #3f7248);
    color: #ffffff;
}

.netherese-topic-card__pill {
    background: #ecebe5;
    color: #555f59;
}

.netherese-topic-card__byline {
    border-left: 1px solid #e3e3dc;
    color: #26382f;
    font-size: 13px;
    line-height: 1.35;
    padding: 18px 14px;
}

.netherese-topic-card__byline span {
    color: #66706a;
    display: block;
    margin-top: 3px;
}

.netherese-topic-card__footer {
    align-items: center;
    color: #66706a;
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    padding: 0 16px 0 8px;
}

.netherese-icon-button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #b58a00;
    cursor: pointer;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    padding: 0;
    width: 30px;
}

.netherese-comment-count {
    align-items: center;
    color: #36413b;
    display: inline-flex;
    gap: 5px;
    text-decoration: none;
}

.netherese-feed__empty {
    background: #ffffff;
    border: 1px solid #deded7;
    border-radius: 0 0 7px 7px;
    margin: 0;
    padding: 18px;
}

.netherese-active-filter {
    align-items: center;
    background: #fbfbf8;
    border-color: #deded7;
    border-style: solid;
    border-width: 0 1px;
    color: #4b554f;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    padding: 10px 14px;
}

.netherese-active-filter strong {
    color: #163f2e;
}

.netherese-active-filter a {
    color: #164c35;
    font-weight: 700;
    text-decoration: none;
}

.netherese-side-nav {
    border-bottom: 1px solid #deded7;
    display: grid;
    gap: 3px;
    padding: 2px 12px 16px 0;
}

.netherese-side-nav:last-of-type {
    border-bottom: 0;
}

.netherese-side-nav h3 {
    color: #6c746f;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    margin: 0 0 6px 14px;
    text-transform: uppercase;
}

.netherese-side-nav a {
    align-items: center;
    border-left: 3px solid transparent;
    border-radius: 0 6px 6px 0;
    color: #202721;
    display: grid;
    font-size: 14px;
    gap: 10px;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    min-height: 34px;
    padding: 0 11px 0 14px;
    text-decoration: none;
}

.netherese-side-nav a:hover,
.netherese-side-nav a.is-active {
    background: #ecebe5;
    border-left-color: #8a6a28;
}

.netherese-side-nav .icon {
    color: #1e2a24;
    font-size: 15px;
}

.netherese-side-nav em,
.netherese-widget em {
    color: #66706a;
    font-style: normal;
}

.netherese-version {
    color: #6c746f;
    display: grid;
    font-size: 12px;
    gap: 2px;
    margin: auto 0 0 14px;
    padding-top: 84px;
}

.netherese-widget {
    background: #ffffff;
    border: 1px solid #deded7;
    border-radius: 7px;
    box-shadow: 0 1px 2px rgba(23, 28, 26, 0.035);
    padding: 14px 16px;
}

.netherese-widget h3 {
    align-items: center;
    color: #334039;
    display: flex;
    font-size: 12px;
    font-weight: 750;
    justify-content: space-between;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.netherese-widget a {
    align-items: center;
    color: #242c27;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    line-height: 1;
    padding: 5px 0;
    text-decoration: none;
}

.netherese-widget a span {
    background: #ededeb;
    border-radius: 5px;
    padding: 4px 7px;
}

.netherese-widget a em {
    background: #ededeb;
    border-radius: 999px;
    min-width: 28px;
    padding: 4px 7px;
    text-align: center;
}

.netherese-widget a.is-active span,
.netherese-widget a.is-active em {
    background: #dfe8df;
    color: #133f2e;
}

.netherese-widget__empty {
    color: #66706a;
    font-size: 13px;
    margin: 0;
}

.netherese-filters {
    display: grid;
    gap: 12px;
}

.netherese-filter-toggle,
.netherese-select-row,
.netherese-stats div {
    align-items: center;
    background: transparent;
    border: 0;
    color: #4b554f;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    padding: 0;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.netherese-filter-toggle,
.netherese-select-row {
    cursor: pointer;
}

.netherese-filter-toggle:hover,
.netherese-select-row:hover {
    color: #133f2e;
    text-decoration: none;
}

.netherese-toggle {
    background: #a5a8a5;
    border-radius: 999px;
    display: inline-block;
    height: 18px;
    position: relative;
    width: 34px;
}

.netherese-toggle::after {
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    content: "";
    height: 14px;
    left: 2px;
    position: absolute;
    top: 2px;
    width: 14px;
}

.netherese-toggle.is-on {
    background: #2f6b4d;
}

.netherese-toggle.is-on::after {
    left: 18px;
}

.netherese-select-row strong {
    align-items: center;
    border: 1px solid #deded7;
    border-radius: 6px;
    color: #28322c;
    display: inline-flex;
    font-weight: 500;
    gap: 8px;
    min-width: 82px;
    padding: 8px 9px;
}

.netherese-topic-card__vote .icon,
.netherese-icon-button .icon {
    pointer-events: none;
}

[data-netherese-vote].is-selected .netherese-topic-card__vote,
.netherese-icon-button.is-saved {
    color: #164c35;
}

[data-netherese-vote].is-loading .netherese-topic-card__vote,
[data-netherese-save].is-loading .netherese-icon-button {
    opacity: 0.45;
}

[data-netherese-vote].has-error .netherese-topic-card__vote,
.netherese-icon-button.has-error {
    color: #8f4f46;
}

.netherese-stats {
    gap: 8px;
}

.netherese-stats div {
    padding: 3px 0;
}

.netherese-stats div span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.netherese-stats strong {
    color: #68716c;
    font-weight: 500;
}

.netherese-stats strong.is-green {
    color: #2f8b48;
}

.netherese-stats footer {
    border-top: 1px solid #deded7;
    color: #68716c;
    font-size: 13px;
    margin: 10px -16px -14px;
    padding: 12px 16px;
}

@media (max-width: 1180px) {
    .netherese-feed {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .netherese-feed__aside {
        display: none;
    }
}

@media (max-width: 860px) {
    .netherese-feed {
        display: grid;
        gap: 0;
        grid-template-columns: minmax(0, 1fr);
        padding: 0;
    }

    .netherese-feed__rail {
        display: none;
    }

    .netherese-feed__list {
        display: block;
        grid-column: 1;
        min-width: 0;
    }

    .netherese-feed__header {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
        min-height: 48px;
        padding: 0 8px;
    }

    .netherese-feed__tabs {
        flex: 1 1 auto;
        gap: 2px;
        min-width: 0;
    }

    .netherese-feed__tab {
        flex: 1 1 0;
        font-size: 12px;
        gap: 4px;
        height: 46px;
        justify-content: center;
        min-width: 0;
        padding: 0 2px;
    }

    .netherese-create-topic {
        flex: 0 0 auto;
        font-size: 0;
        gap: 0;
        height: 34px;
        margin-left: 6px;
        padding: 0;
        width: 38px;
    }

    .netherese-create-topic::before {
        content: "+";
        font-size: 22px;
        font-weight: 600;
        line-height: 1;
    }

    .netherese-create-topic .icon {
        display: none;
    }

    .netherese-topic-card {
        border-left: 0;
        border-right: 0;
        display: grid;
        grid-template-areas:
            "votes body"
            "votes footer";
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: 0;
    }

    .netherese-active-filter {
        border-left: 0;
        border-right: 0;
    }

    .netherese-topic-card__votes {
        grid-area: votes;
        padding: 10px 0;
    }

    .netherese-topic-card__body {
        grid-area: body;
        padding: 11px 12px 8px;
    }

    .netherese-topic-card h3 {
        font-size: 15px;
        line-height: 1.3;
    }

    .netherese-topic-card p {
        font-size: 12px;
        margin-bottom: 7px;
    }

    .netherese-topic-card__byline {
        display: none;
    }

    .netherese-topic-card__footer {
        display: flex;
        gap: 12px;
        grid-area: footer;
        justify-content: flex-start;
        padding: 0 12px 11px;
    }

    .netherese-topic-card__flair,
    .netherese-topic-card__pill {
        font-size: 11px;
        padding: 4px 6px;
    }
}

@media (max-width: 420px) {
    .netherese-feed__tab {
        font-size: 0;
    }

    .netherese-feed__tab .icon {
        font-size: 16px;
        margin: 0;
    }
}
