/* SCSS */
/* SCSS */
/* ===== Usage ===== */
.forum {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

@media only screen and (min-width: 1168px) {
    .forum {
        padding: 0.5rem;
    }
}

.forum__adbanner {
    padding: 0 0.5rem;
    order: 2;
}

.forum__header {
    padding: 0 0.5rem;
}

.forum__header-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.forum__quote {
    border: 1px solid var(--clr-neutral-80);
    background: var(--clr-neutral-85);
    position: relative;
    margin: 1rem 0.5rem !important;
}

@media only screen and (min-width: 576px) {
    .forum__quote {
        margin: 1rem !important;
    }
}

.forum__quote-author {
    font-weight: 600;
    color: var(--clr-neutral-20) !important;
    font-style: italic;
}

    .forum__quote-author:hover {
        text-decoration: underline;
    }

.forum__quote-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 250px;
    overflow: hidden;
    padding: 1rem;
}

.forum__quote-expand {
    position: absolute;
    bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    left: calc(50% - 35px);
    border: 1px solid var(--clr-neutral-50);
    background: var(--clr-surface);
    color: var(--clr-neutral-30);
}

.forum__quote-bg {
    width: 100%;
    height: 25%;
    background: linear-gradient(to bottom, transparent, var(--clr-surface));
    position: absolute;
    bottom: 0;
}

.forum__title {
    text-wrap: none;
    font-size: 24px;
    display: inline;
    font-weight: 600;
}

.forum__category {
    display: flex;
    gap: 0.5rem;
    color: var(--clr-secondary);
    font-weight: 600;
    font-size: 14px;
}

    .forum__category > a:hover {
        text-decoration: underline;
    }

.forum__category-image {
    width: 30px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    flex-shrink: 0;
}

.forum__category-wrapper {
    position: relative;
}

    .forum__category-wrapper .svg-wrapper {
        width: 28px;
        height: 28px;
        padding: 0.25rem;
    }

.forum__search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forum__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 3;
}

.report-list {
    display: none;
    flex-direction: column;
    background: var(--clr-surface);
    padding: 0.5rem 0;
    border: 1px solid var(--clr-neutral-70);
}

.report-list__item {
    padding: 0 0.5rem;
    border-top: 1px solid var(--clr-neutral-70);
}

    .report-list__item:first-child {
        border-top: 0;
    }

    .report-list__item > label {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        padding: 0.5rem 0.25rem;
    }

        .report-list__item > label > input {
            width: 1rem;
            height: 1rem;
        }

.report-list__image {
    height: 60px;
    width: 60px;
    border-radius: 50%;
}

.report-list__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.report-list__svg {
    width: 24px;
    height: 24px;
    padding: 0.25rem;
    margin-left: auto;
}

.main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media only screen and (min-width: 1168px) {
    .main__bottomrow {
        display: grid !important;
        gap: 0.75rem;
        grid-template-columns: 1fr auto;
    }

        .main__bottomrow .section__title {
            grid-column: span 2;
        }
}

.main .entity {
    padding: 0 0.5rem;
}

.main__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main__bottomrow {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thread {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "author" "header" "main" "footer";
    position: relative;
    background: var(--clr-neutral-85);
    border-top: 1px solid var(--clr-neutral-80);
    border-bottom: 1px solid var(--clr-neutral-80);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.11);
}

    .thread > * {
        padding: 0.5rem;
    }

.thread__header {
    position: relative;
    width: 100%;
    grid-column: 1;
    grid-row: 2;
    -moz-column-gap: 0.75rem;
    column-gap: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--clr-neutral-80);
    font-size: 13px;
}

@media only screen and (max-width: 575.98px) {
    .thread__header {
        -moz-column-gap: 0.5rem;
        column-gap: 0.5rem;
        flex-wrap: wrap;
    }
}

.thread__author {
    grid-column: 1;
    grid-row: 1;
}

.thread__published {
    font-size: 13px;
}

.thread__count {
    margin-left: auto;
}

.thread__main {
    grid-column: 1;
    grid-row: 3;
    background: var(--clr-post);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    font-size: 0.9375rem;
    padding: 0 !important;
    word-break: break-word;
}

    .thread__main > * {
        padding: 0 0.5rem;
    }

@media only screen and (min-width: 768px) {
    .thread__main > * {
        padding: 0 0.75rem;
    }
}

.thread__main > *:first-child {
    padding-top: 0.5rem;
}

@media only screen and (min-width: 768px) {
    .thread__main > *:first-child {
        padding-top: 0.75rem;
    }
}

.thread__main > *:last-child {
    padding-bottom: 0.5rem;
}

@media only screen and (min-width: 768px) {
    .thread__main > *:last-child {
        padding-bottom: 0.75rem;
    }
}

.thread__main ol,
.thread__main ul {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.5rem;
}

.thread__main a {
    color: #0078c5;
}

    .thread__main a:hover {
        text-decoration: underline;
    }

/* ── Social-embed containment ────────────────────────────────────────────
   The site-wide reset caps img/video/canvas at 100% but not iframes, and the
   Instagram/Twitter embed scripts swap their blockquotes for iframes carrying
   inline px min-widths (~326px) — which WIN over max-width when they conflict,
   so the embed spilled out of the ~330px post column. Cap every replaced
   element, and zero the embeds' min-width so max-width can actually bite. */
.thread__main iframe,
.thread__main embed,
.thread__main object {
    max-width: 100%;
}

.thread__main .instagram-media,
.thread__main .twitter-tweet {
    min-width: 0 !important;
    max-width: 100% !important;
    /* width too: embed.js measures at render time and pins pixel widths on the
       iframe, so min/max alone still overflowed a 360px viewport. */
    width: 100% !important;
}

/* Backstop: anything that still forces a pixel width scrolls inside the post
   body instead of blowing out the card. Safe to scope here — the post action
   menus live in .thread__content-footer, a SIBLING of .thread__content, so no
   popup gets clipped. */
.thread__content {
    overflow-x: auto;
}

@media only screen and (min-width: 768px) {
    .thread__main {
        padding: 1rem;
    }
}

.thread__content {
    position: relative;
}

    .thread__content > *:first-child {
        margin-top: 0 !important;
    }

    .thread__content > *:last-child {
        margin-bottom: 0 !important;
    }

    .thread__content > p, .thread__content > div, .thread__content > blockquote, .thread__content > ul,
    .thread__content li {
        margin: 1rem 0;
    }

    .thread__content > ul, .thread__content > ol {
        padding-left: 1.5rem;
    }

.thread__members-only::before {
    content: " ";
    display: block;
    width: 100%;
    padding: 1rem;
}

.thread__members-only::after {
    content: "Members Only";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--clr-secondary-2);
    color: var(--clr-secondary);
    padding: 0.25rem;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thread__paragraph {
    text-align: center;
}

.thread__edited, .thread__tags {
    padding-top: 0.5rem;
    color: var(--clr-neutral-30);
    align-self: stretch;
}

.thread__edited {
    font-size: 0.75rem;
}

.thread__footer {
    grid-column: 1;
    grid-row: 4;
    position: relative;
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--clr-neutral-80);
}

.thread .mature-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.thread .hidden-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.thread__datetime-popup {
    display: none;
    position: absolute;
    top: -1.5rem;
    text-wrap: nowrap;
    z-index: 9;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    color: var(--clr-white);
}

.thread__datetime:hover + .thread__datetime-popup {
    display: flex;
}

.thread__ip {
    font-size: 13px;
    display: flex;
    gap: 0.25rem;
    margin-right: auto;
}

.thread .author {
    border-bottom: 1px solid var(--clr-neutral-80);
}

.thread .author__wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

    .thread .author__wrapper > *:first-child {
        grid-column: 1;
        grid-row: span 2;
    }

.thread .author__name {
    font-size: 14px;
    font-weight: 600;
}

.thread .author__info {
    grid-column: 2;
    grid-row: span 2;
}

.thread .author__username {
    font-size: 13px;
    color: var(--clr-neutral-30);
}

.thread .author__image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.thread .author__image-wrapper {
    position: relative;
}

.thread .author__badges {
    margin-left: auto;
    font-size: 0.75rem;
}

.thread .author__group, .thread .author__streak {
    font-size: 0.75rem;
}

.thread .author__group {
    font-weight: 600;
}

@media only screen and (min-width: 768px) {
    .thread .author__group {
        justify-content: center;
    }
}

.thread__signature {
    padding: 0;
    height: 200px;
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
    background: url("/assets/img/post-footer/theme1-bg.png") var(--clr-white);
    background-size: contain;
}

@media only screen and (min-width: 768px) {
    .thread__signature {
        gap: 3rem;
        padding: 0 3rem;
    }
}

.thread__signature img {
    height: 200px;
}

.thread__signature-content {
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 1rem 0;
    font-size: 12px;
    overflow: hidden;
}

@media only screen and (min-width: 768px) {
    .thread__signature-content {
        font-size: 14px;
    }
}

.thread__signature-content p {
    border: 10px solid #c1b5a8;
    padding: 0.5rem;
    background: var(--clr-surface);
    border-radius: 0.5rem;
    position: relative;
    font-weight: 600;
}

    .thread__signature-content p::before, .thread__signature-content p::after {
        content: "";
        height: calc(200px - 100% - 4.875rem);
        width: 10px;
        background: #c1b5a8;
        position: absolute;
        top: calc(100% + 10px);
        z-index: 0;
    }

    .thread__signature-content p::before {
        left: 2rem;
    }

    .thread__signature-content p::after {
        right: 2rem;
    }

textarea,
input {
    padding: 2px;
}

.dropdown {
    position: relative;
}

.dropdown__btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-transform: uppercase;
    font-size: 12px;
}

    .dropdown__btn svg {
        fill: currentColor;
        color: var(--clr-neutral-30);
        width: 20px;
        height: 20px;
    }

.dropdown__menu {
    border-radius: 0.25rem;
    top: 1.5rem;
    right: 1rem;
    position: absolute;
    background: var(--clr-neutral-85);
    border: 1px solid var(--clr-neutral-70);
    padding: 0.25rem 0.5rem;
    display: none;
    flex-direction: column;
    z-index: 9;
}

    .dropdown__menu svg {
        color: var(--clr-black);
        fill: currentColor;
    }

.dropdown__item {
    display: flex;
    flex-wrap: nowrap;
    font-size: 14px;
    color: var(--clr-black);
    gap: 0.5rem;
    color: var(--clr-black);
    text-wrap: nowrap;
    text-align: left;
    padding: 0.125rem;
    border-bottom: 1px solid var(--clr-neutral-70);
    text-transform: capitalize;
}

    .dropdown__item:last-child {
        border-bottom: 0;
    }

    .dropdown__item:hover {
        text-decoration: underline;
    }

    .dropdown__item .svg-wrapper {
        width: 24px;
        height: 24px;
        padding: 0.25rem;
        flex-shrink: 0;
    }

.modnote {
    display: flex;
    flex-direction: column;
    background: var(--clr-secondary);
    padding: 0.25rem;
    margin: 1rem;
    border-radius: 0.5rem;
}

.modnote__header {
    font-weight: 600;
    font-size: 1rem;
    color: var(--clr-always-white) !important;
    padding: 0.5rem;
}

.modnote__main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #ffffcc;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.modnote__warning {
    grid-row: span 2;
    width: 30px;
}

.modnote__title {
    color: black;
    font-size: 1rem;
    font-weight: 600;
}

.modnote__content {
    color: black;
}

.bottom__reactions, .bottom__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
}

@media only screen and (min-width: 360px) {
    .bottom__reactions, .bottom__actions {
        gap: 0.5rem;
    }
}

.bottom .actions__item {
    display: flex;
    gap: 0.125rem;
    align-items: center;
    font-size: 12px;
    text-transform: uppercase;
    padding: 0 0.125rem;
    cursor: pointer;
}

    .bottom .actions__item .svg-wrapper {
        width: 28px;
        height: 28px;
        padding: 6px;
        border-radius: 50%;
        color: var(--clr-always-white);
    }

        .bottom .actions__item .svg-wrapper svg {
            fill: currentColor;
        }

.bottom .actions__vote .svg-wrapper {
    background: #5cb85c;
}

.bottom .actions__like .svg-wrapper {
    background: var(--clr-info);
}

.bottom .actions__like:hover > .reactions__hovermenu {
    display: flex;
}

.bottom .actions__reply .svg-wrapper {
    background: var(--clr-success);
}

.bottom .actions__reply-item {
    font-size: 14px;
    padding: 0.25rem 0.5rem;
    color: var(--clr-black);
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid var(--clr-neutral-70);
}

.bottom .actions__reply-menu {
    display: none;
    position: absolute;
    flex-direction: column;
    bottom: 2rem;
    right: 0;
    border: 1px solid var(--clr-neutral-30);
    border-radius: 0.25rem;
    z-index: 3;
    background: var(--clr-surface);
    overflow: hidden;
}

.bottom .actions__quote .svg-wrapper {
    background: rgb(60, 134, 158);
}

.reactions__wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.reactions > *:not(:first-child) {
    margin-left: -1.125rem;
}

.reactions__report {
    align-self: center;
    display: flex;
    align-items: center;
    color: var(--clr-always-white);
    margin-left: 0.25rem;
    margin-right: auto;
    gap: 0.125rem;
    padding: 0.25rem;
    padding-right: 0.5rem;
    border-radius: 1rem;
    background: var(--clr-secondary);
    cursor: pointer;
}

@media only screen and (max-width: 359.98px) {
    .reactions__report {
        padding-right: 0.25rem;
    }

    .reactions__report-svg {
        display: none;
    }
}

.reactions__report-svg {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 0.25rem;
}

    .reactions__report-svg > svg {
        fill: currentColor;
    }

.reactions__report-count {
    font-size: 14px;
    font-weight: 600;
}

.reactions__hovermenu {
    position: absolute;
    top: -1.25rem;
    right: 1.5rem;
    display: none;
    gap: 0.25rem;
    background: #fff;
    border: 1px solid var(--clr-neutral-70);
    padding: 0.25rem 6px;
    border-radius: 1.25rem;
}

.reactions__hovermenu-item {
    width: 27px;
    height: 27px;
    -o-object-fit: none;
    object-fit: none;
}

    .reactions__hovermenu-item:hover {
        scale: 1.15;
    }

.reactions__hovermenu-like {
    -o-object-position: 0 -1px;
    object-position: 0 -1px;
}

.reactions__hovermenu-love {
    -o-object-position: 0 -28px;
    object-position: 0 -28px;
}

.reactions__hovermenu-haha {
    -o-object-position: 0 -55px;
    object-position: 0 -55px;
}

.reactions__hovermenu-shock {
    -o-object-position: 0 -82px;
    object-position: 0 -82px;
}

.reactions__hovermenu-wow {
    -o-object-position: 0 -109px;
    object-position: 0 -109px;
}

.reactions__hovermenu-angry {
    -o-object-position: 0 -136px;
    object-position: 0 -136px;
}

.reactions__hovermenu-sad {
    -o-object-position: 0 -163px;
    object-position: 0 -163px;
}

.reactions__like, .reactions__love, .reactions__wow, .reactions__haha, .reactions__shock, .reactions__sad, .reactions__angry {
    height: 27px;
    width: 27px;
    -o-object-fit: none;
    object-fit: none;
}

.reactions__like {
    -o-object-position: 0 -1px !important;
    object-position: 0 -1px !important;
}

.reactions__love {
    -o-object-position: 0 -28px !important;
    object-position: 0 -28px !important;
}

.reactions__haha {
    -o-object-position: 0 -55px !important;
    object-position: 0 -55px !important;
}

.reactions__shock {
    -o-object-position: 0 -82px !important;
    object-position: 0 -82px !important;
}

.reactions__wow {
    -o-object-position: 0 -109px !important;
    object-position: 0 -109px !important;
}

.reactions__angry {
    -o-object-position: 0 -136px !important;
    object-position: 0 -136px !important;
}

.reactions__sad {
    -o-object-position: 0 -163px !important;
    object-position: 0 -163px !important;
}

.reactions__count {
    margin: 0.25rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--clr-neutral-30);
}

.reactions .svg-wrapper {
    width: 28px;
    height: 28px;
    padding: 0.5rem;
}

    .reactions .svg-wrapper svg {
        fill: currentColor;
        color: #5cb85c;
    }

.related {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick__wrapper > form {
    display: flex;
    flex-direction: column;
}

    .quick__wrapper > form > * {
        padding: 0.5rem 0;
    }

        .quick__wrapper > form > *:first-child {
            padding: 0;
            padding-bottom: 1rem;
        }

.quick__emojis {
    flex-shrink: 0;
    margin: 0 1rem;
    cursor: pointer;
    background: var(--clr-info);
}

.sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar__search {
    align-self: flex-end;
    width: 100%;
}

.sidebar__info {
    display: flex;
    flex-direction: column;
}

.sidebar__recommended {
    display: flex;
    flex-direction: column;
}

.sidebar__title {
    background: var(--clr-neutral-75);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem;
}

.sidebar__started, .sidebar__replied {
    color: var(--clr-neutral-50);
}

.sidebar__recommended, .sidebar__jump {
    background: var(--clr-surface);
}

.sidebar .count__wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 14px;
}

.sidebar__category {
    display: flex;
    padding-top: 0.5rem;
}

.sidebar__category-item {
    width: 50%;
    text-align: center;
}

    .sidebar__category-item:hover {
        background: var(--clr-on-primary-2);
    }

.sidebar__ad {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mature-content-overlay {
    grid-column: 1;
    grid-row: 3/-1;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: repeating-linear-gradient(45deg, var(--clr-neutral-90), var(--clr-neutral-85) 10px, var(--clr-neutral-80) 10px, var(--clr-neutral-75) 20px);
    padding: 2rem 1rem;
    align-items: center;
    justify-content: start;
    z-index: 1;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .mature-content-overlay {
        grid-column: 2;
        grid-row: 2/-1;
    }
}

.mature-content-warning {
    color: var(--clr-secondary);
    font-weight: 600;
}

.mature-content-confirm {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.topics {
    border-bottom: 1px solid var(--clr-neutral-80);
}

.topics__wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 14px;
}

.topics__item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--clr-neutral-80);
}

    .topics__item:first-child {
        border-top: none;
    }

.topics__title {
    width: 100%;
    grid-column: span 2;
    font-weight: 600;
}

.topics__posted {
    font-weight: 400;
    color: var(--clr-neutral-50);
    grid-column: 1;
}

.topics__author {
    color: var(--clr-info);
    grid-column: 2;
}

    .topics__author svg {
        fill: currentColor;
        scale: 0.5;
    }

.tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: var(--clr-neutral-80);
}

.tabs__label {
    text-align: center;
    border-top-right-radius: 0.25rem;
    border-top-left-radius: 0.25rem;
    padding: 0.5rem;
    font-weight: 600;
    width: 50%;
    cursor: pointer;
    font-size: 14px;
}

.tabs__radio {
    display: none;
}

.tabs__content {
    background: var(--clr-surface);
    padding: 0.5rem;
    order: 1;
    width: 100%;
    line-height: 1.5;
    display: none;
}

.tabs__radio:checked + .tabs__label {
    background: var(--clr-surface);
}

    .tabs__radio:checked + .tabs__label + .tabs__content {
        display: initial;
    }

.count {
    background: var(--clr-surface);
}

.isbanned__message {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-danger);
}

.topic {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    gap: 1rem;
}

.topic__image {
    min-height: 120px;
    -o-object-fit: cover;
    object-fit: cover;
    margin: 0 auto;
    width: 100%;
}

.topic__image-cover {
    grid-area: image;
    margin-right: auto;
    border: 1px solid var(--clr-neutral-60);
    border-radius: 50%;
}

    .topic__image-cover img {
        -o-object-fit: cover;
        object-fit: cover;
        border-radius: 50%;
        width: 80px;
        height: 80px;
    }

@media only screen and (min-width: 576px) {
    .topic__image-cover img {
        width: 125px;
        height: 125px;
    }
}

.topic__rules {
    display: none;
    flex-direction: column;
    font-size: 14px;
    width: 100%;
}

.topic__rules-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--clr-neutral-90);
    border: 1px solid var(--clr-neutral-80);
}

.topic__rules-head {
    font-weight: 600;
    font-size: 14px;
    color: var(--clr-neutral-30);
    border-bottom: 1px solid var(--clr-neutral-70);
    padding-bottom: 0.25rem;
}

.topic__rules-main ol {
    padding-left: 1.5rem;
}

    .topic__rules-main ol li {
        margin: 0.5rem 0;
        padding-left: 0.25rem;
    }

.topic__rules-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-right: 0.25rem;
}

    .topic__rules-item > p {
        font-weight: 600;
        color: var(--clr-neutral-20);
    }

    .topic__rules-item .svg-wrapper {
        width: 24px;
        height: 24px;
        padding: 0.25rem;
    }

.topic__links {
    display: none;
    flex-direction: column;
    font-size: 14px;
    width: 100%;
}

.topic__links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--clr-neutral-90);
    border: 1px solid var(--clr-neutral-80);
}

.topic__links-head {
    font-weight: 600;
    font-size: 14px;
    color: var(--clr-neutral-30);
    border-bottom: 1px solid var(--clr-neutral-70);
    padding-bottom: 0.25rem;
}

.topic__links-main ul {
    padding-left: 1.5rem;
}

    .topic__links-main ul li {
        margin: 0.25rem 0;
    }

        .topic__links-main ul li a {
            color: var(--clr-link);
        }

.topic__updated {
    grid-area: updated;
    font-size: 12px;
    color: var(--clr-neutral-40);
}

.topic__stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    grid-area: stats;
}

.topic__stats-followers, .topic__stats-topics, .topic__stats-rank, .topic__stats-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: capitalize;
    gap: 0.125rem;
}

.topic__stats-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-neutral-40);
}

.topic__stats-count {
    display: flex;
    font-weight: 600;
}

.topic__actions {
    display: flex;
    gap: 0.5rem;
    grid-area: action;
    margin-left: auto;
}

@media only screen and (min-width: 576px) {
    .topic__actions {
        margin-left: 0;
        gap: 1rem;
    }
}

.topic__actions > .svg-wrapper {
    height: 32px;
    width: 32px;
    padding: 5px;
    border: 1px solid var(--clr-neutral-50);
    border-radius: 50%;
    color: var(--clr-neutral-20);
}

.topic__type {
    font-size: 14px;
    padding: 0.125rem 0.5rem;
    text-transform: capitalize;
    border: 1px solid var(--clr-neutral-70);
    border-radius: 1rem;
    vertical-align: super;
}

.topic__title {
    grid-area: title;
}

    .topic__title h1 {
        display: inline;
    }

.topic__title-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "image action" "title title" "description description" "stats stats" "updated updated";
    align-items: start;
    padding: 0.5rem 0;
    gap: 0.5rem;
}

@media only screen and (min-width: 576px) {
    .topic__title-wrapper {
        padding: 0.75rem 0;
        display: grid;
        align-items: start;
        grid-template-areas: "image title action" "image description description" "image stats stats" "image updated updated";
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto 1fr;
    }
}

.topic__header .forum__action {
    padding: 1rem 0.5rem;
}

.topic__subtitle {
    grid-area: description;
    font-size: 14px;
}

.topic__content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .topic__content .forum-stats__footer {
        padding: 0 0.25rem;
    }

    .topic__content .forum-stats__footer-actions {
        flex-direction: row !important;
    }

@media only screen and (min-width: 576px) {
    .topic__content .pagination2 {
        padding: 0;
    }
}

.topic__table {
    margin: 0 0.5rem;
}

.topic__trash {
    align-self: flex-start;
    margin: 0 0.5rem;
}

@media only screen and (min-width: 576px) {
    .topic__trash {
        margin: 0;
    }
}

.topic__trash .svg-wrapper {
    width: 28px;
    height: 28px;
    padding: 0.25rem;
    color: var(--clr-always-white);
}

    .topic__trash .svg-wrapper svg {
        fill: currentColor;
    }

.topic__selectall {
    padding: 0 0.25rem;
    display: flex;
    align-items: end;
    gap: 0.25rem;
    font-size: 14px;
}

@media only screen and (min-width: 576px) {
    .topic__selectall {
        padding: 0;
    }
}

.topic__selectall > input {
    width: 1rem;
    height: 1rem;
}

.no-banner .topic__image-cover {
    margin-top: 0;
}

@media only screen and (min-width: 360px) {
    .thread .author__image {
        width: 60px;
        height: 60px;
    }
}

@media only screen and (min-width: 768px) {
    .thread .author__image {
        width: 100px;
        height: 100px;
    }

    .pagination__text {
        display: block;
        margin: 0 2px;
    }

    .forum__share {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        justify-content: right;
    }

    .forum__category {
        grid-column: 1;
        grid-row: 2;
    }

    .forum__title {
        grid-column: 1;
        grid-row: 3;
    }

    .forum__signature {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        justify-content: right;
    }

    .thread {
        grid-template-columns: 150px 1fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas: "author header" "author main" "author footer";
        align-items: start;
        border: 1px solid var(--clr-neutral-80);
    }

    .thread__author {
        grid-area: author;
    }

    .thread__header {
        grid-area: header;
    }

    .thread__main {
        height: 100%;
        grid-area: main;
    }

    .thread__footer {
        grid-area: footer;
    }

    .thread .author {
        align-self: stretch;
        border: none;
        border-right: 1px solid var(--clr-neutral-80);
    }

    .thread .author__wrapper {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .thread__posted {
        border-bottom: 1px solid var(--clr-neutral-80);
    }

    .thread__content {
        border: none;
    }

    .thread__bottom {
        border-top: 1px solid var(--clr-neutral-80);
    }

    .main__content {
        border-top: none;
        border-bottom: none;
    }

    .main .thread {
        padding: 0;
    }
}

.isbanned .thread {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
}

@media only screen and (min-width: 576px) {
    .isbanned .thread {
        align-items: stretch;
    }
}

.isbanned .thread__count {
    margin-left: 0;
    margin: 0 auto;
}

@media only screen and (min-width: 576px) {
    .isbanned .thread__count {
        margin: 0;
        margin-left: auto;
    }
}

.isbanned .thread__author {
    border: none;
    grid-column: 1;
    grid-row: 1;
}

.isbanned .thread__header {
    border-bottom: 0;
    grid-column: 2;
    grid-row: 1;
}

@media only screen and (max-width: 575.98px) {
    .isbanned .thread__header {
        justify-content: space-between;
    }
}

.isbanned .thread__published, .isbanned .thread__main, .isbanned .thread__footer,
.isbanned .thread .badge {
    display: none;
}

.isbanned .thread .author__wrapper {
    gap: 0;
}

.isbanned .thread .author__group {
    font-weight: 400;
}

.isbanned .thread .author__badges, .isbanned .thread .author__streak, .isbanned .thread .author__image-wrapper, .isbanned .thread .author__username {
    display: none;
}

.isbanned__message {
    margin: auto;
}

.isbanned .hidden-overlay {
    display: none;
}

@media only screen and (min-width: 992px) {
    .forum__content {
        display: grid;
        gap: 1rem;
        grid-template-columns: minmax(100px, 1fr) 336px;
    }

    .forum__pagination {
        grid-column: 1;
        grid-row: 1;
    }

    .forum__main {
        grid-column: 1;
        grid-row: 2;
    }

    .forum__search {
        grid-column: 2;
    }

    .forum .sidebar {
        grid-column: 2;
        grid-row: 2;
    }

    .topic {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr 336px;
    }

    .topic__header {
        grid-column: span 2;
    }
}

@media only screen and (max-width: 575.98px) {
    .forum__pagination {
        font-size: 0.75rem;
    }
}

.dark-theme .halloffame {
    background: var(--clr-body);
}

.halloffame {
    background: url("https://www.indiaforums.com/content/img/topcontributor.jpg");
    padding: 1rem;
}

.halloffame__title {
    padding: 0.5rem;
    background: var(--clr-body);
}

.halloffame__container {
    padding: 1rem 0;
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    grid-template-columns: repeat(1, 1fr);
}

@media only screen and (min-width: 360px) {
    .halloffame__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 768px) {
    .halloffame__container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (min-width: 992px) {
    .halloffame__container {
        grid-template-columns: repeat(6, 1fr);
    }
}

.halloffame__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    background: var(--clr-surface);
    border-radius: 0.5rem;
    overflow: hidden;
    padding: 0.5rem;
}

.halloffame__rank {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 0.5rem;
    padding: 0 1.5rem 0 0.75rem;
    background: var(--clr-secondary-2);
    color: var(--clr-on-secondary-2);
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}

.halloffame__image {
    border-radius: 50%;
    width: 75%;
}

.halloffame__name {
    color: var(--clr-secondary);
    font-weight: 600;
    font-size: 1rem;
}

.halloffame__username {
    font-size: 13px;
}

.halloffame__likes {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-secondary);
}

.quickjump {
    margin: 1rem 0;
    border-top: 1px solid var(--clr-neutral-70);
    border-bottom: 1px solid var(--clr-neutral-70);
    padding: 1rem;
}

.quickjump__container {
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

@media only screen and (min-width: 576px) {
    .quickjump__container {
        flex-direction: row;
        justify-content: space-between;
    }

        .quickjump__container > * {
            text-overflow: ellipsis;
            overflow: hidden;
            min-width: 50px;
        }

            .quickjump__container > *:focus {
                border-color: #66afe9;
                outline: 0;
                box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
            }

            .quickjump__container > *:first-child {
                flex: 1;
            }

            .quickjump__container > *:nth-child(2) {
                flex: 1;
            }
}

@media only screen and (min-width: 992px) {
    .forum-index__content .layout-main-sidebar {
        grid-template-columns: 1fr 320px;
    }
}

@media only screen and (min-width: 1168px) {
    .forum-index__content .layout-main-sidebar {
        gap: 0.75rem;
    }
}

.forum-index__content .action-tab-2 {
    margin: 1rem 0;
}

.forum-index__title {
    padding: 0 1rem;
}

.forum-index__category {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    text-align: center;
    color: var(--clr-on-secondary);
}

.forum-index__category-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: start;
    gap: 0.5rem;
}

@media only screen and (min-width: 576px) {
    .forum-index__category-wrapper {
        gap: 1rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

.forum-index__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forum-index__forums {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    background: var(--clr-surface);
}

    .forum-index__forums > *:last-child {
        border-bottom: 0;
    }

.forum-index__forums-head {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    gap: 1rem;
    background: var(--clr-surface);
    border-bottom: 0;
    border-top: 0;
}

    .forum-index__forums-head .topic__filter {
        flex: 1;
        width: 100%;
        min-width: 150px;
        max-width: 100%;
    }

    .forum-index__forums-head .topic__filter-button {
        background: var(--clr-surface);
        border-radius: 0.25rem;
        font-size: 14px;
        margin: 0;
        border: 1px solid var(--clr-neutral-70);
    }

@media only screen and (min-width: 768px) {
    .forum-index__forums-head .topic__filter {
        margin-left: auto;
        width: auto;
        max-width: 300px;
    }
}

@media only screen and (min-width: 768px) {
    .forum-index__forums-head {
        align-items: center;
        flex-direction: row;
        padding: 1rem;
    }
}

.forum-index__forums-footer {
    display: flex;
    justify-content: center;
    padding-bottom: 0.5rem;
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-neutral-70);
    padding-top: 0.5rem;
}

.forum-index__forums-action {
    display: flex;
    justify-content: space-between;
    padding: 0 0.25rem;
    background: var(--clr-surface);
    font-size: 14px;
}

    .forum-index__forums-action .active {
        margin-bottom: -1px;
        color: var(--clr-secondary);
        font-weight: 600;
        background: var(--clr-surface);
        border: 1px solid var(--clr-neutral-70);
        border-bottom: 0;
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
    }

@media only screen and (min-width: 576px) {
    .forum-index__forums-action {
        padding: 0 2rem;
        font-size: 18px;
    }
}

.forum-index__forums-action2 {
    display: flex;
    background: var(--clr-surface);
    border: 1px solid var(--clr-neutral-70);
}

    .forum-index__forums-action2 .active {
        position: relative;
        color: var(--clr-on-secondary);
        background: var(--clr-secondary);
        border: 1px solid var(--clr-neutral-70);
        border-bottom: 0;
    }

        .forum-index__forums-action2 .active:hover {
            color: var(--clr-on-secondary) !important;
        }

        .forum-index__forums-action2 .active:after {
            content: "";
            position: absolute;
            bottom: -0.5rem;
            left: calc(50% - 0.5rem);
            border-style: solid;
            border-width: 0.5rem 0.5rem 0 0.5rem;
            border-color: var(--clr-secondary) transparent transparent transparent;
        }

    .forum-index__forums-action2 .forum-index__forums-tab {
        width: 100%;
        font-weight: 600;
        margin-top: 0;
        font-size: 14px;
        border-right: 1px solid var(--clr-neutral-70);
    }

        .forum-index__forums-action2 .forum-index__forums-tab:last-child {
            border-right: 0;
        }

        .forum-index__forums-action2 .forum-index__forums-tab:hover {
            color: var(--clr-secondary);
        }

.forum-index__forums-wrapper {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--clr-neutral-70);
    background: var(--clr-surface);
}

.forum-index__forums-tab {
    padding: 0.25rem 0.5rem;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

@media only screen and (max-width: 359.98px) {
    .forum-index__forums-tab {
        font-size: 12px;
    }
}

@media only screen and (min-width: 360px) {
    .forum-index__forums-tab {
        width: 100%;
    }
}

@media only screen and (min-width: 576px) {
    .forum-index__forums-tab {
        font-size: 20px;
        padding: 0.75rem 1rem;
    }
}

.forum-index__forums-tab:hover {
    color: var(--clr-secondary);
}

.forum-index__viewmore {
    align-self: center;
    background: var(--clr-neutral-50);
    color: var(--clr-always-white);
    text-transform: uppercase;
}

    .forum-index__viewmore:hover {
        background: var(--clr-neutral-40);
    }

.forum-index__sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.forum-index__search {
    display: flex;
    gap: 0.25rem;
}

.forum-index__topics-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
    padding: 0.5rem;
}

.forum-maincategory {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--clr-neutral-70);
    background: var(--clr-surface);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.11);
}

.forum-maincategory__header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    background: var(--clr-surface);
    color: var(--clr-on-surface);
    padding: 0.75rem;
    gap: 0.75rem;
}

    .forum-maincategory__header .svg-wrapper {
        grid-column: 3;
    }

.forum-maincategory .svg-wrapper {
    cursor: pointer;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    width: 28px;
    height: 28px;
    padding: 0.5rem;
    transition: transform 0.25s ease;
    color: var(--clr-always-white);
}

    .forum-maincategory .svg-wrapper svg {
        margin-top: 0.125rem;
        fill: currentColor;
        height: 100%;
        width: 100%;
    }

.forum-maincategory__image {
    width: 80px;
    aspect-ratio: 16/9;
    -o-object-fit: cover;
    object-fit: cover;
}

.forum-maincategory__info {
    color: var(--clr-always-white);
    text-transform: capitalize;
}

.forum-maincategory__genre {
    font-weight: 400;
}

.forum-maincategory__content {
    display: none;
    flex-direction: column;
    box-shadow: 0 3px 5px 3px var(--clr-neutral-85);
}

    .forum-maincategory__content .category__filter {
        margin: 0.25rem 0 0.5rem 0.25rem;
    }

.forum-maincategory__main {
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;
}

.forum-maincategory__wrapper {
    flex-direction: column;
}

.forum-maincategory__footer {
    text-align: center;
    justify-content: center;
    padding: 0.25rem;
    border-top: 1px solid var(--clr-neutral-70);
}

.forum-maincategory__seemore {
    font-weight: 600;
    color: var(--clr-secondary);
}

@media only screen and (min-width: 576px) {
    .forum-maincategory {
        position: relative;
    }

    .forum-maincategory__content {
        width: 100%;
        position: absolute;
        top: 100%;
        z-index: 9;
        background: var(--clr-surface);
        border: 1px solid var(--clr-neutral-70);
        border-top: 0;
        border-radius: -0.5rem;
    }
}

.forum-item {
    display: grid;
    border-top: 1px solid var(--clr-neutral-70);
    padding: 0.5rem;
    grid-template-columns: 50px 1fr;
    gap: 0.25rem;
    -moz-column-gap: 0.5rem;
    column-gap: 0.5rem;
}

.forum-item__image {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
    grid-column: 1;
    grid-row: span 2;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 50%;
}

.forum-item__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.forum-item__wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.forum-item__description {
    font-size: 13px;
}

.forum-item__locked {
    display: inline-flex !important;
    align-items: start;
    justify-content: center;
    width: 1.25rem;
    padding: 0 0.25rem;
    border: 1px solid var(--clr-neutral-50);
    font-size: 12px;
    border-radius: 50%;
    color: var(--clr-neutral-50);
}

.forum-item__name {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-secondary);
    text-transform: capitalize;
    gap: 0.25rem;
}

    .forum-item__name .svg-wrapper {
        width: 24px;
        height: 24px;
        padding: 0.25rem;
        background: #0078c5;
        flex-shrink: 0;
        border-radius: 50%;
    }

        .forum-item__name .svg-wrapper svg {
            fill: currentColor;
            color: var(--clr-neutral-70);
        }

.forum-item .chaska__stat {
    grid-column: 2;
    grid-row: 1;
}

.forum-item__stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    grid-column: 1;
    grid-row: 2;
    font-weight: 600;
    font-size: 14px;
}

.forum-item__discussions, .forum-item__followers {
    display: flex;
    flex-direction: column;
}

    .forum-item__discussions::after, .forum-item__followers::after {
        letter-spacing: 0;
        font-size: 10px;
    }

    .forum-item__discussions::after {
        content: "Topics";
    }

    .forum-item__followers::after {
        content: "Followers";
    }

.forum-item__followbtn {
    align-self: center;
    justify-self: right;
    grid-column: 2;
    grid-row: 2;
    text-align: center;
    color: var(--clr-secondary);
    font-size: 11px;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    background: var(--clr-surface);
    border: 1px solid var(--clr-secondary);
    border-radius: 0.25rem;
    text-transform: uppercase;
}

    .forum-item__followbtn:hover {
        background: var(--clr-secondary);
        color: var(--clr-on-secondary);
    }

.forum-item-lg {
    display: grid;
    border-bottom: 1px solid var(--clr-neutral-70);
    padding: 0.5rem;
    grid-template-columns: 50px 1fr;
    gap: 0.25rem;
    -moz-column-gap: 0.5rem;
    column-gap: 0.5rem;
}

@media only screen and (min-width: 768px) {
    .forum-item-lg {
        grid-template-columns: 50px 1fr;
        align-items: center;
    }
}

.forum-item-lg .forum-item__image {
    width: 50px;
    height: 50px;
    grid-column: 1;
    grid-row: span 2;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 50%;
}

@media only screen and (min-width: 768px) {
    .forum-item-lg .forum-item__image {
        grid-column: 1;
        grid-row: 1;
    }
}

.forum-item-lg .forum-item__content {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    grid-column: 2;
}

    .forum-item-lg .forum-item__content .chaska__stat {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        font-size: 13px;
        grid-column: 1;
        grid-row: 2;
        font-weight: 600;
    }

        .forum-item-lg .forum-item__content .chaska__stat::after {
            content: "Rank";
            letter-spacing: 0;
            font-size: 10px;
            grid-column: span 2;
            justify-self: center;
        }

@media only screen and (min-width: 768px) {
    .forum-item-lg .forum-item__content {
        grid-template-columns: 1fr 35px 150px;
        align-items: center;
        gap: 1.25rem;
    }

        .forum-item-lg .forum-item__content .chaska__stat {
            font-size: 14px;
            grid-row: 1;
            grid-column: 2;
        }
}

.forum-item-lg .forum-item__wrapper {
    grid-row: 1;
    grid-column: span 3;
}

@media only screen and (min-width: 768px) {
    .forum-item-lg .forum-item__wrapper {
        grid-row: 1;
        grid-column: 1;
    }
}

.forum-item-lg .forum-item__name {
    grid-column: 1;
    grid-row: 1;
    font-weight: 600;
    color: var(--clr-secondary);
    text-transform: capitalize;
    gap: 0.25rem;
}

    .forum-item-lg .forum-item__name > * {
        display: inline;
    }

    .forum-item-lg .forum-item__name .svg-wrapper {
        width: 24px;
        height: 24px;
        padding: 0.25rem;
        background: #0078c5;
        flex-shrink: 0;
        border-radius: 50%;
    }

        .forum-item-lg .forum-item__name .svg-wrapper svg {
            fill: currentColor;
            color: var(--clr-neutral-70);
        }

@media only screen and (min-width: 768px) {
    .forum-item-lg .forum-item__name {
        font-size: 16px;
    }
}

.forum-item-lg .forum-item__stats {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    font-size: 14px;
    gap: 1rem;
}

@media only screen and (min-width: 768px) {
    .forum-item-lg .forum-item__stats {
        gap: 2rem;
        grid-row: 1;
        grid-column: 3;
        margin-left: auto;
    }
}

@media only screen and (min-width: 768px) {
    .forum-item-lg .forum-item__stats {
        font-size: 16px;
    }
}

.forum-item-lg .forum-item__discussions,
.forum-item-lg .forum-item__followers {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .forum-item-lg .forum-item__discussions::after,
    .forum-item-lg .forum-item__followers::after {
        letter-spacing: 0;
        font-size: 10px;
    }

    .forum-item-lg .forum-item__discussions::after {
        content: "Topics";
    }

    .forum-item-lg .forum-item__followers::after {
        content: "Followers";
    }

.forum-item-lg .forum-item__followbtn {
    align-self: center;
    justify-self: right;
    grid-column: 3;
    grid-row: 2;
    text-align: center;
    color: var(--clr-secondary);
    font-size: 11px;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    background: var(--clr-surface);
    border: 1px solid var(--clr-secondary);
    border-radius: 0.25rem;
    text-transform: uppercase;
}

    .forum-item-lg .forum-item__followbtn:hover {
        background: var(--clr-secondary);
        color: var(--clr-on-secondary);
    }

@media only screen and (min-width: 768px) {
    .forum-item-lg .forum-item__followbtn {
        grid-column: 4;
        grid-row: 1;
    }
}

@media only screen and (min-width: 576px) {
    .forum-item-lg {
        padding: 0.5rem 1rem;
    }
}

.forum-stats {
    display: flex;
    flex-direction: column;
    background: var(--clr-surface);
    border: 1px solid var(--clr-neutral-80);
    gap: 0 !important;
}

.forum-stats__header {
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid var(--clr-neutral-70);
    flex-wrap: wrap;
}

    .forum-stats__header .open {
        transform: rotate(180deg);
    }

.forum-stats__svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-right: 0.125rem;
    color: var(--clr-always-white);
}

    .forum-stats__svg svg {
        margin-top: 0.125rem;
        fill: currentColor;
        transition: transform 0.5s ease;
    }

.forum-stats__head {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    align-items: center;
    gap: 0.5rem;
    justify-content: start;
}

@media only screen and (min-width: 576px) {
    .forum-stats__head {
        gap: 1rem;
    }
}

.forum-stats__head-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
    gap: 0.25rem;
}

@media only screen and (min-width: 576px) {
    .forum-stats__head-item {
        padding: 0 0.5rem;
    }
}

.forum-stats__head-title {
    font-size: 13px;
    color: var(--clr-neutral-50);
}

.forum-stats__head-count {
    display: flex;
    gap: 0.125rem;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
}

@media only screen and (min-width: 576px) {
    .forum-stats__head-count {
        font-size: 1.125rem;
    }
}

.forum-stats__head-image {
    border-radius: 50%;
    width: 28px;
    height: 28px;
}

.forum-stats__summarize {
    color: var(--clr-on-secondary-2);
}

.forum-stats__main {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid var(--clr-neutral-70);
    padding: 0.5rem 0;
}

    .forum-stats__main > * {
        padding: 0 0.5rem;
    }

.forum-stats__posters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.forum-stats__posters-title {
    font-weight: 600;
    font-size: 14px;
}

.forum-stats__posters-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.forum-stats__posters-item {
    position: relative;
    padding: 0.5rem;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
}

.forum-stats__posters-image {
    width: 36px;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.forum-stats__posters-count {
    position: absolute;
    top: 0.25rem;
    right: calc(50% - 26px);
    text-align: center;
    font-size: 10px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-neutral-20);
    border-radius: 0.25rem;
    padding: 0.125rem 0.25rem;
}

.forum-stats__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--clr-neutral-70);
}

.forum-stats__links-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.forum-stats__links-title {
    font-weight: 600;
    font-size: 14px;
}

.forum-stats__links-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .forum-stats__links-item a {
        text-wrap: wrap;
        color: #0078c5;
    }

.forum-stats__links-count {
    width: 30px;
    font-size: 12px;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    padding: 0.25rem;
}

.forum-stats__footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
}

.forum-stats__footer-actions {
    gap: 0.5rem;
    flex-direction: column !important;
}

@media only screen and (min-width: 576px) {
    .forum-stats__footer-actions {
        align-self: stretch;
        flex-direction: row !important;
    }
}

.forum-stats__footer-left {
    display: flex;
    flex-direction: column;
    align-items: start;
}

    .forum-stats__footer-left > *:nth-child(2) {
        align-self: start;
    }

.forum-stats__footer-right {
    position: relative;
    font-size: 14px;
}

    .forum-stats__footer-right > select {
        padding-right: 1.25rem;
    }

.forum-stats__selection {
    text-transform: capitalize;
    padding: 0.125rem 0.75rem;
    margin: 0 0.5rem;
}

.forum-poll {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--clr-neutral-80);
    background: var(--clr-surface);
}

.forum-poll__results-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.forum-poll__result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    width: 100%;
}

    .forum-poll__result-item .result-bar {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        background: var(--clr-body);
        overflow: hidden;
        width: 100%;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

        .forum-poll__result-item .result-bar:hover {
            background-color: var(--clr-neutral-85);
        }

        .forum-poll__result-item .result-bar input[type=radio]:checked ~ .result-score {
            color: var(--clr-success);
        }

        .forum-poll__result-item .result-bar::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: var(--result-percentage);
            transition: width 1s ease-out;
            z-index: 0;
        }

        .forum-poll__result-item .result-bar::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            height: 4px;
            width: var(--result-percentage);
            background-color: rgb(107, 190, 102);
            transition: width 1s ease-out;
        }

    .forum-poll__result-item .result-title {
        position: relative;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 14px;
        z-index: 1;
        width: 80%;
    }

        .forum-poll__result-item .result-title input[type=radio] {
            flex-shrink: 0;
        }

        .forum-poll__result-item .result-title label {
            cursor: pointer;
        }

    .forum-poll__result-item .result-score {
        position: relative;
        display: flex;
        gap: 0.5rem;
        align-items: center;
        z-index: 1;
    }

        .forum-poll__result-item .result-score .result-percentage {
            min-width: 4rem;
            font-size: 14px;
            text-align: right;
            font-weight: 600;
            color: var(--clr-success);
        }

.forum-poll__question {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.forum-poll__pill {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.forum-poll__head {
    position: relative;
}

.hidden-post {
    position: relative;
}

    .hidden-post .thread__main {
        height: 0;
        overflow: hidden;
    }

.hidden-overlay {
    grid-column: 1;
    grid-row: 3/-1;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: repeating-linear-gradient(45deg, #1a1a2e, #23233a 10px, #2a2a3f 10px, #1f1f33 20px);
    padding: 2rem 1rem;
    align-items: center;
    justify-content: start;
    z-index: 1;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .hidden-overlay {
        grid-column: 2;
        grid-row: 2/-1;
    }
}

.hidden-warning {
    color: var(--clr-secondary);
    font-weight: 600;
}

.hidden-confirm {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.emojis {
    display: flex;
    flex-direction: column;
    background: var(--clr-surface);
    max-width: 600px;
    border-radius: 0.5rem;
    width: 100%;
}

.emojis__overlay {
    position: fixed;
    padding: 1rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9 !important;
    padding: 1rem;
}

.emojis__header {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--clr-neutral-70);
    font-weight: 400;
    text-transform: uppercase;
}

    .emojis__header .svg-wrapper {
        margin-left: auto;
        width: 24px;
        height: 24px;
        padding: 0.25rem;
        cursor: pointer;
    }

.emojis__main {
    padding: 1rem;
    max-height: 75vh;
    overflow-y: auto;
}

    .emojis__main table {
        border: 1px solid #e6e6e6;
        border-collapse: collapse;
        width: 100%;
        font-size: 14px;
    }

    .emojis__main thead {
        background: var(--clr-neutral-80);
    }

    .emojis__main tbody a {
        color: #0078c5;
        cursor: pointer;
    }

        .emojis__main tbody a:hover {
            text-decoration: underline;
        }

    .emojis__main tbody tr td:first-child {
        text-align: center;
    }

    .emojis__main td,
    .emojis__main th {
        padding: 0.5rem 1rem;
        border: 1px solid var(--clr-neutral-70);
    }

.team__overlay {
    position: fixed;
    padding: 1rem;
    display: none;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9;
}

.team__content {
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 600px;
    z-index: 9 !important;
    background: var(--clr-surface);
}

.team__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--clr-neutral-70);
    padding: 1rem;
}

.team__svg {
    display: flex;
    align-items: center;
    height: 28px;
    width: 28px;
    padding: 0.5rem;
    cursor: pointer;
}

.team__main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .team__main .team {
        max-width: 100%;
        font-size: 1rem;
    }

    .team__main > form {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        max-height: 40vh;
        overflow-y: auto;
    }

        .team__main > form label {
            display: flex;
            gap: 0.25rem;
            align-items: center;
        }

            .team__main > form label .capsule {
                font-size: 14px;
                margin-left: auto;
                background: rgba(0, 0, 0, 0.1);
            }

.forum__locked:before {
    content: url('data:image/svg+xml,<svg id="lock" viewBox="0 0 94.38 122.88" xmlns="http://www.w3.org/2000/svg"><g><path fill="black" d="M8.723,45.706h2.894v-8.729c0-10.139,3.987-19.368,10.412-26.069C28.479,4.177,37.386,0,47.19,0 c9.805,0,18.711,4.177,25.163,10.907c6.424,6.701,10.411,15.931,10.411,26.069v8.729h2.894c2.401,0,4.583,0.98,6.162,2.56 s2.56,3.761,2.56,6.162v59.73c0,2.401-0.98,4.583-2.56,6.162s-3.761,2.56-6.162,2.56H8.723c-2.402,0-4.583-0.98-6.163-2.56 S0,116.56,0,114.158v-59.73c0-2.401,0.981-4.583,2.56-6.162C4.14,46.687,6.321,45.706,8.723,45.706L8.723,45.706z M44,87.301 L39.81,98.28h14.762l-3.884-11.13c2.465-1.27,4.15-3.84,4.15-6.803c0-4.223-3.425-7.647-7.647-7.647 c-4.223,0-7.648,3.425-7.648,7.647C39.542,83.432,41.369,86.091,44,87.301L44,87.301z M17.753,45.706h58.875v-8.729 c0-8.511-3.326-16.236-8.686-21.826C62.61,9.589,55.265,6.137,47.19,6.137S31.77,9.589,26.438,15.15 c-5.359,5.59-8.686,13.315-8.686,21.826V45.706L17.753,45.706z M85.658,51.843H8.723c-0.708,0-1.353,0.292-1.823,0.762 c-0.47,0.47-0.762,1.116-0.762,1.823v59.73c0,0.707,0.292,1.353,0.762,1.822c0.47,0.471,1.116,0.762,1.823,0.762h76.936 c0.708,0,1.354-0.291,1.823-0.762c0.47-0.47,0.762-1.115,0.762-1.822v-59.73c0-0.707-0.292-1.353-0.762-1.823 C87.011,52.135,86.366,51.843,85.658,51.843L85.658,51.843z" /></g></svg>');
    width: 24px;
    height: 24px;
    display: inline-block;
    padding: 0.25rem;
}

.softban-popover {
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-neutral-80);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    max-height: 75vh;
    overflow-y: hidden;
}

.softban-popover__overlay {
    position: fixed;
    padding: 1rem;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9;
}

.softban-popover__header {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--clr-neutral-70);
}

    .softban-popover__header .svg-wrapper {
        margin-left: auto;
        width: 24px;
        height: 24px;
        padding: 0.25rem;
    }

.softban-popover__body {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
}

.softban-popover__user {
    font-weight: 600;
}

.softban-popover__section-title {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    padding: 0.75rem;
    background: var(--clr-neutral-80);
    border-radius: 0.25rem;
}

.softban-popover__list {
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

.softban-popover__list-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

@media only screen and (min-width: 576px) {
    .softban-popover__list-item {
        gap: 1rem;
        flex-direction: row;
        align-items: center;
    }
}

.softban-popover__list-item:last-child {
    border-bottom: none;
}

.softban-popover textarea {
    min-height: 75px;
}

.softban-popover__ban-name {
    font-weight: 600;
}

.softban-popover__ban-details {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    flex: 1;
}

.softban-popover__ban-duration {
    font-size: 12px;
    color: var(--clr-secondary);
}

.softban-popover__ban-reason {
    font-size: 12px;
    color: var(--clr-neutral-30);
}

.softban-popover__edit-btn, .softban-popover__remove-btn {
    background: none;
    border: none;
    color: #007bff;
    font-size: 12px;
    cursor: pointer;
}

    .softban-popover__edit-btn:hover, .softban-popover__remove-btn:hover {
        text-decoration: underline;
    }

.softban-popover__add-ban {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.softban-popover__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.softban-popover__form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.softban-popover__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-neutral-30);
}

.softban-popover__current-forum {
    font-weight: 600;
}

.softban-popover__dropdown, .softban-popover__input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.softban-popover__actions {
    display: flex;
    gap: 0.5rem;
}

.softban-popover__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.softban-popover__history-link {
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
}

    .softban-popover__history-link:hover {
        text-decoration: underline;
    }

.category__related {
    display: flex;
    flex-direction: column;
    background: var(--clr-surface);
    border: 1px solid var(--clr-neutral-80);
    padding: 0.75rem 0.5rem;
    gap: 0.5rem;
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
}

.category__related-container {
    display: flex;
    flex-direction: column;
}

.category__related-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    align-items: start;
    gap: 0.25rem;
    -moz-column-gap: 0.5rem;
    column-gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--clr-neutral-80);
}

    .category__related-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.category__related-image {
    grid-row: span 2;
    grid-column: 2;
    overflow: hidden;
}

    .category__related-image img {
        width: 60px;
        aspect-ratio: 1/1;
        border-radius: 0.5rem;
        -o-object-fit: cover;
        object-fit: cover;
    }

.category__related-forum {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 12px;
    color: var(--clr-neutral-30);
    grid-column: 1;
}

    .category__related-forum img {
        width: 24px;
        aspect-ratio: 1/1;
        border-radius: 50%;
    }

.category__related-title {
    font-size: 14px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    grid-column: 1;
}

.category__related-stats {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 0.5rem;
    color: var(--clr-neutral-30);
    grid-column: span 2;
}

    .category__related-stats .topic-card__last-reply {
        margin-left: auto;
    }

        .category__related-stats .topic-card__last-reply div {
            background: none;
        }

    .category__related-stats > * {
        display: flex;
        align-items: center;
    }

    .category__related-stats .svg-wrapper {
        width: 24px;
        height: 24px;
        padding: 0.25rem;
    }

    .category__related-stats a.svg-wrapper {
        width: 20px;
        height: 20px;
        color: var(--clr-neutral-30);
    }

        .category__related-stats a.svg-wrapper svg {
            transform: rotate(270deg);
        }

.category__related .pill-outline-secondary {
    align-self: center;
}

.report-card {
    width: 70%;
    display: flex;
    align-items: flex-start;
    position: relative;
    background: var(--clr-surface);
    border: 1px solid var(--clr-neutral-70);
    border-radius: 6px;
    padding: 12px 16px;
    margin: 12px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
}

.report-card__category, .report-card__subcategory, .report-card__description {
    font-size: 14px;
    margin: 0 0 6px;
}

.report-card__checkbox {
    margin: 5px 10px 0 0;
    cursor: pointer;
}

.report-card__avatar {
    background: var(--clr-secondary);
    color: var(--clr-always-white);
    font-weight: bold;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.report-card__content {
    flex: 1;
}

.report-card__category {
    color: var(--clr-danger);
    font-weight: bold;
    margin-bottom: 2px;
}

.report-card__subcategory {
    color: var(--clr-neutral-40);
    font-size: 13px;
}

.report-card__description {
    color: var(--clr-on-surface);
    line-height: 1.4;
    margin-bottom: 0;
}

.report-card__close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--clr-on-surface);
    cursor: pointer;
}

    .report-card__close-btn:hover {
        color: var(--clr-danger);
    }

/* Reported Comments Notification Bar */
.reported-comments-bar {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-left: 4px solid #c92a2a;
    padding: 0.875rem 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: slideInDown 0.4s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reported-comments-bar__content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.reported-comments-bar__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

    .reported-comments-bar__icon svg {
        fill: var(--clr-always-white);
        width: 100%;
        height: 100%;
    }

.reported-comments-bar__message {
    color: var(--clr-always-white);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
}

.reported-comments-bar__count {
    font-weight: 700;
    font-size: 1.125rem;
}

.reported-comments-bar__link {
    background: rgba(255, 255, 255, 0.2);
    color: var(--clr-always-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .reported-comments-bar__link:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }

@media only screen and (max-width: 576px) {
    .reported-comments-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem;
    }

    .reported-comments-bar__content {
        width: 100%;
    }

    .reported-comments-bar__message {
        font-size: 0.875rem;
    }

    .reported-comments-bar__link {
        width: 100%;
        text-align: center;
        padding: 0.625rem;
    }
}

