:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #f8fafc;

    --text: #172033;
    --muted: #738097;

    --border: #e5e9ef;

    --navy: #13233c;
    --navy-dark: #0b1728;

    --accent: #3266e8;
    --accent-soft: #edf3ff;

    --danger: #e5484d;

    --radius: 14px;
}


* {
    box-sizing: border-box;
}


body {
    margin: 0;
    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input {
    font: inherit;
}


/* -----------------------------
   TOPBAR
------------------------------ */

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 68px;

    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(15px);
}


.topbar-inner {
    height: 68px;

    display: flex;
    align-items: center;

    gap: 28px;
}


.brand {
    width: 235px;

    display: flex;
    align-items: center;

    gap: 10px;

    font-weight: 800;
    font-size: 19px;

    letter-spacing: -.5px;
}


.brand-mark {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--navy);
    color: white;
}


.global-search {
    flex: 1;
    max-width: 650px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 16px;

    height: 42px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--surface-soft);
}


.global-search i {
    color: var(--muted);
}


.global-search input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);
}


.topbar-actions {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 7px;
}


.icon-button,
.profile-button {
    border: 0;
    background: transparent;
}


.icon-button {
    position: relative;

    width: 40px;
    height: 40px;

    border-radius: 10px;

    font-size: 18px;
}


.icon-button:hover {
    background: var(--surface-soft);
}


.notification-count {
    position: absolute;

    top: 2px;
    right: 1px;

    min-width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    padding: 0 5px;

    border: 2px solid white;
    border-radius: 20px;

    background: var(--danger);
    color: white;

    font-size: 10px;
    font-weight: 700;
}


.profile-button {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 5px 9px;

    border-radius: 10px;

    font-weight: 600;
}


.profile-button:hover {
    background: var(--surface-soft);
}


.profile-button img {
    width: 32px;
    height: 32px;

    object-fit: cover;

    border-radius: 50%;
}


/* -----------------------------
   BREAKING BAR
------------------------------ */

.breaking-bar {
    background: var(--navy-dark);
    color: white;
}


.breaking-inner {
    min-height: 41px;

    display: flex;
    align-items: center;

    gap: 20px;
}


.breaking-label {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .8px;
}


.live-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ff4d55;

    box-shadow: 0 0 0 4px rgba(255,77,85,.12);
}


.breaking-content {
    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 13px;
}


.breaking-content a {
    font-weight: 600;
}


.breaking-content span {
    color: #98a5b7;
}


/* -----------------------------
   MAIN GRID
------------------------------ */

.main-container {
    max-width: 1540px;

    margin: 0 auto;
}


.app-grid {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 760px)
        330px;

    justify-content: center;

    gap: 28px;
}


.left-sidebar,
.right-sidebar {
    position: sticky;

    top: 90px;

    align-self: start;

    max-height: calc(100vh - 100px);

    overflow-y: auto;
}


.left-sidebar {
    padding-top: 27px;
}


.right-sidebar {
    padding-top: 27px;
    padding-bottom: 40px;
}


.feed-column {
    min-width: 0;

    padding-top: 26px;
    padding-bottom: 100px;
}


/* -----------------------------
   LEFT NAV
------------------------------ */

.side-nav {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.side-nav-item {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 11px 13px;

    border-radius: 10px;

    color: #4b596d;

    font-size: 14px;
    font-weight: 600;
}


.side-nav-item i {
    width: 20px;

    font-size: 17px;
}


.side-nav-item:hover {
    background: white;
    color: var(--text);
}


.side-nav-item.active {
    background: var(--navy);
    color: white;
}


.side-divider {
    height: 1px;

    margin: 20px 10px;

    background: var(--border);
}


.side-section-title {
    margin: 0 13px 9px;

    color: #9aa5b5;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}


.side-nav.compact .side-nav-item {
    padding-top: 8px;
    padding-bottom: 8px;
}


.nav-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #7c8aa2;
}


/* -----------------------------
   FEED HEADING
------------------------------ */

.feed-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}


.feed-heading h1 {
    margin: 0 0 3px;

    font-size: 24px;
    font-weight: 750;

    letter-spacing: -.7px;
}


.feed-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


.feed-filter {
    display: flex;

    padding: 3px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: white;
}


.feed-filter button {
    padding: 6px 13px;

    border: 0;
    border-radius: 7px;

    background: transparent;

    color: var(--muted);

    font-size: 12px;
    font-weight: 650;
}


.feed-filter button.active {
    background: var(--navy);
    color: white;
}


/* -----------------------------
   FEED CARD
------------------------------ */

.feed-card {
    margin-bottom: 17px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    box-shadow:
        0 1px 1px rgba(20,30,50,.02),
        0 5px 20px rgba(20,30,50,.025);
}


.feed-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 17px 19px 10px;
}


.author-area {
    display: flex;
    align-items: center;

    gap: 10px;
}


.author-avatar {
    width: 40px;
    height: 40px;

    object-fit: cover;

    border-radius: 50%;
}


.author-name {
    display: flex;
    align-items: center;

    gap: 5px;

    font-size: 13px;
    font-weight: 700;
}


.verified {
    color: var(--accent);
}


.post-meta {
    margin-top: 2px;

    display: flex;

    gap: 6px;

    color: var(--muted);

    font-size: 11px;
}


.card-menu {
    width: 35px;
    height: 35px;

    border: 0;
    border-radius: 8px;

    background: transparent;

    color: var(--muted);
}


.card-menu:hover {
    background: var(--surface-soft);
}


.feed-content-link {
    display: block;
}


.feed-card-body {
    padding: 10px 19px 18px;
}


.content-label {
    margin-bottom: 8px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .8px;
}


.study-label {
    color: #7950b5;
}


.video-label {
    color: #cf3d54;
}


.discussion-label {
    color: #14815d;
}


.feed-card h2 {
    margin: 0 0 8px;

    color: #172033;

    font-size: 20px;
    line-height: 1.3;

    font-weight: 740;

    letter-spacing: -.45px;
}


.feed-card-body p {
    margin: 0;

    color: #627086;

    font-size: 14px;
    line-height: 1.6;
}


.tag-list {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 15px;
}


.tag-list span {
    padding: 4px 8px;

    border-radius: 6px;

    background: #f1f4f8;

    color: #627086;

    font-size: 10px;
    font-weight: 650;
}


.feed-image-wrap {
    position: relative;
}


.feed-image {
    display: block;

    width: 100%;
    height: 330px;

    object-fit: cover;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.video-play {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 66px;
    height: 66px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(10,20,35,.9);
    color: white;

    font-size: 30px;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}


.feed-stats {
    display: flex;
    justify-content: space-between;

    padding: 11px 19px 6px;

    color: #8792a2;

    font-size: 11px;
}


.feed-actions {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin: 0 15px;

    border-top: 1px solid var(--border);
}


.feed-action,
.reaction-button {
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 0;

    background: transparent;

    color: #69758a;

    font-size: 12px;
    font-weight: 600;
}


.feed-action:hover,
.reaction-button:hover {
    color: var(--accent);
}


.reaction-button.active {
    color: var(--accent);
}


/* -----------------------------
   RIGHT RAIL
------------------------------ */

.rail-card {
    margin-bottom: 16px;

    padding: 17px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: white;
}


.rail-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 14px;
}


.rail-card-heading > i {
    color: #96a1b1;

    font-size: 17px;
}


.eyebrow {
    display: block;

    margin-bottom: 2px;

    color: var(--accent);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}


.rail-card h3 {
    margin: 0;

    font-size: 16px;
    font-weight: 750;

    letter-spacing: -.3px;
}


.trending-list {
    display: flex;
    flex-direction: column;
}


.trending-item {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 11px 0;

    border-bottom: 1px solid #edf0f4;
}


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


.trending-rank {
    width: 24px;

    color: #a5adba;

    font-size: 20px;
    font-weight: 700;
}


.trending-item strong,
.tool-item strong,
.recommended-item strong {
    display: block;

    font-size: 12px;
    font-weight: 700;
}


.trending-item span,
.tool-item span,
.recommended-item span {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 10px;
}


.tool-list {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.tool-item {
    display: grid;

    grid-template-columns:
        36px
        1fr
        auto;

    align-items: center;

    gap: 10px;

    padding: 9px;

    border-radius: 9px;
}


.tool-item:hover {
    background: var(--surface-soft);
}


.tool-icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--accent-soft);
    color: var(--accent);
}


.tool-arrow {
    color: #afb7c3;

    font-size: 11px;
}


.recommended-list {
    display: flex;
    flex-direction: column;
}


.recommended-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 0;

    border-bottom: 1px solid #edf0f4;
}


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


.recommended-item > i {
    color: #a8b0bc;

    font-size: 12px;
}


.right-footer {
    display: flex;
    flex-wrap: wrap;

    gap: 5px 12px;

    padding: 5px 8px;

    color: #9aa4b2;

    font-size: 10px;
}


.right-footer div {
    width: 100%;

    margin-top: 4px;
}


/* -----------------------------
   MOBILE
------------------------------ */

.mobile-nav {
    display: none;
}


@media (max-width: 1200px) {

    .app-grid {
        grid-template-columns:
            190px
            minmax(0, 720px)
            300px;

        gap: 20px;
    }

}


@media (max-width: 1050px) {

    .right-sidebar {
        display: none;
    }

    .app-grid {
        grid-template-columns:
            200px
            minmax(0, 760px);
    }

}


@media (max-width: 760px) {

    body {
        padding-bottom: 68px;
    }


    .topbar {
        height: 58px;
    }


    .topbar-inner {
        height: 58px;
    }


    .brand {
        width: auto;
    }


    .brand span:last-child {
        display: none;
    }


    .global-search {
        height: 38px;
    }


    .global-search input::placeholder {
        color: transparent;
    }


    .profile-button {
        display: none;
    }


    .left-sidebar {
        display: none;
    }


    .app-grid {
        display: block;
    }


    .feed-column {
        padding-top: 15px;
    }


    .feed-heading {
        padding: 0 3px;
    }


    .feed-heading p {
        display: none;
    }


    .feed-heading h1 {
        font-size: 20px;
    }


    .feed-image {
        height: 250px;
    }


    .breaking-inner {
        min-height: 37px;
    }


    .breaking-content span {
        display: none;
    }


    .breaking-content {
        overflow: hidden;
    }


    .breaking-content a {
        overflow: hidden;

        white-space: nowrap;

        text-overflow: ellipsis;
    }


    .feed-card {
        border-radius: 11px;
    }


    .feed-actions {
        margin: 0 5px;
    }


    .feed-action,
    .reaction-button {
        font-size: 11px;
    }


    .mobile-nav {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        z-index: 1200;

        height: 63px;

        display: grid;

        grid-template-columns: repeat(5, 1fr);

        border-top: 1px solid var(--border);

        background: rgba(255,255,255,.98);

        backdrop-filter: blur(15px);
    }


    .mobile-nav a {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 2px;

        color: #7b8798;

        font-size: 9px;

        font-weight: 650;
    }


    .mobile-nav i {
        font-size: 18px;
    }


    .mobile-nav a.active {
        color: var(--navy);
    }

}


.auth-page {
    min-height: calc(100vh - 68px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 20px;

    background: var(--bg);
}


.auth-card {
    width: 100%;
    max-width: 440px;

    padding: 34px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: white;

    box-shadow:
        0 10px 40px rgba(20, 30, 50, .06);
}


.auth-heading {
    text-align: center;

    margin-bottom: 28px;
}


.auth-brand {
    margin: 0 auto 18px;
}


.auth-heading h1 {
    margin: 0 0 7px;

    font-size: 25px;
    font-weight: 750;

    letter-spacing: -.5px;
}


.auth-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


.auth-card .form-label {
    font-size: 12px;
    font-weight: 650;
}


.auth-card .form-control {
    height: 45px;

    border: 1px solid var(--border);
    border-radius: 9px;

    font-size: 14px;
}


.auth-card .form-control:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(50,102,232,.10);
}


.auth-card .btn {
    min-height: 45px;

    border-radius: 9px;

    font-weight: 650;
}


.auth-footer {
    margin-top: 23px;

    text-align: center;

    color: var(--muted);

    font-size: 12px;
}


.auth-footer a {
    color: var(--accent);

    font-weight: 650;
}

.icon-label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-label i {
    font-size: 14px;
}

.flash-container {
    position: fixed;
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 30px));
    z-index: 9999;
}

.flash-container .alert {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}
.breaking-label {
    color: #c62828;
}

.study-label {
    color: #5b4fc7;
}

.video-label {
    color: #d64545;
}

.discussion-label {
    color: #287a5b;
}

.peptide-label {
    color: var(--accent);
}

.discussion-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 0 60px;
}


.discussion-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}


.discussion-page-header h1 {
    margin: 2px 0 6px;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.6px;
}


.discussion-page-header p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}


.discussion-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 18px;
}


.discussion-filter {
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 1px solid #dfe4ea;
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 650;
}


.discussion-filter:hover,
.discussion-filter.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}


.discussion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.discussion-card {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e4e8ed;
    border-radius: 13px;
    transition: .15s ease;
}


.discussion-card:hover {
    border-color: #cfd6df;
    box-shadow: 0 5px 18px rgba(20, 30, 50, .04);
}


.discussion-author img,
.discussion-avatar-fallback {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}


.discussion-author img {
    object-fit: cover;
}


.discussion-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf1f5;
    color: #7d8795;
}


.discussion-content {
    min-width: 0;
    flex: 1;
}


.discussion-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 11px;
}


.discussion-name {
    color: var(--text);
    font-weight: 700;
}


.discussion-title-link {
    color: inherit;
    text-decoration: none;
}


.discussion-title-link h2 {
    margin: 0 0 7px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 720;
}


.discussion-title-link:hover h2 {
    color: var(--accent);
}


.discussion-content p {
    margin: 0 0 12px;
    color: #596578;
    font-size: 13px;
    line-height: 1.55;
}


.discussion-badges {
    display: flex;
    gap: 7px;
    margin-bottom: 12px;
}


.discussion-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 750;
}


.discussion-badge.pinned {
    background: #eef3ff;
    color: var(--accent);
}


.discussion-badge.trending {
    background: #fff1eb;
    color: #c95323;
}


.discussion-stats {
    display: flex;
    align-items: center;
    gap: 18px;
}


.discussion-stats a,
.discussion-stats button,
.discussion-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 11px;
}


.discussion-stats a {
    text-decoration: none;
}


.discussion-stats button {
    padding: 0;
    border: 0;
    background: transparent;
}


.discussion-stats a:hover,
.discussion-stats button:hover {
    color: var(--accent);
}


.discussion-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}


.discussion-modal {
    border: 0;
    border-radius: 14px;
}


@media (max-width: 950px) {

    .discussion-layout {
        grid-template-columns: 1fr;
    }

    .discussion-sidebar {
        display: none;
    }

}


@media (max-width: 620px) {

    .discussion-page-header {
        flex-direction: column;
    }

    .discussion-page-header .btn {
        width: 100%;
    }

    .discussion-card {
        padding: 15px;
    }

}
.discussion-thread-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 0 60px;
}


.thread-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 650;
}


.thread-back:hover {
    color: var(--accent);
}


.thread-original-post {
    padding: 24px;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
}


.thread-author-row {
    display: flex;
    align-items: center;
    gap: 11px;
}


.thread-avatar,
.reply-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}


.thread-avatar-fallback,
.reply-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf1f5;
    color: #778295;
}


.thread-author-name {
    font-size: 13px;
    font-weight: 750;
}


.thread-author-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}


.thread-body {
    padding: 22px 0;
}


.thread-body h1 {
    margin: 0 0 17px;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 760;
    letter-spacing: -.5px;
}


.thread-content {
    color: #39465a;
    font-size: 14px;
    line-height: 1.75;
}


.thread-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 14px;
    border-top: 1px solid #edf0f3;
}


.thread-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
}


.thread-action:hover {
    background: #f4f6f8;
    color: var(--text);
}


.thread-views {
    color: var(--muted);
    font-size: 11px;
}


.thread-replies-heading {
    margin: 26px 0 12px;
}


.thread-replies-heading > div {
    display: flex;
    align-items: baseline;
    gap: 9px;
}


.thread-replies-heading h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 750;
}


.thread-replies-heading span {
    color: var(--muted);
    font-size: 11px;
}


.thread-replies {
    display: flex;
    flex-direction: column;
}


.thread-reply {
    display: flex;
    gap: 13px;
    padding: 18px 4px;
    border-bottom: 1px solid #e8ebef;
}


.reply-avatar {
    width: 38px;
    height: 38px;
}


.reply-content {
    flex: 1;
    min-width: 0;
}


.reply-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 11px;
    color: var(--muted);
}


.reply-header strong {
    color: var(--text);
    font-size: 12px;
}


.reply-body {
    color: #414d5e;
    font-size: 13px;
    line-height: 1.65;
}


.reply-actions {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}


.reply-actions button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
}


.reply-actions button:hover {
    color: var(--accent);
}


.thread-reply-box {
    margin-top: 26px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 13px;
}


.reply-composer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}


.reply-composer-header > div:last-child {
    display: flex;
    flex-direction: column;
}


.reply-composer-header strong {
    font-size: 12px;
}


.reply-composer-header span {
    color: var(--muted);
    font-size: 10px;
}


.thread-reply-box textarea {
    resize: vertical;
    min-height: 125px;
}


.reply-submit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 12px;
}


.reply-submit-row span {
    color: var(--muted);
    font-size: 10px;
}


.replying-to {
    margin-bottom: 9px;
    padding: 8px 10px;
    background: #f2f5fa;
    border-radius: 7px;
    color: var(--muted);
    font-size: 11px;
}


.replying-to button {
    margin-left: 7px;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 650;
}


.reply-login-required {
    display: flex;
    align-items: center;
    gap: 13px;
}


.reply-login-required > i {
    font-size: 25px;
    color: var(--accent);
}


.reply-login-required > div {
    display: flex;
    flex: 1;
    flex-direction: column;
}


.reply-login-required strong {
    font-size: 13px;
}


.reply-login-required span {
    color: var(--muted);
    font-size: 11px;
}


.thread-no-replies {
    padding: 45px 20px;
    text-align: center;
    color: var(--muted);
}


.thread-no-replies i {
    font-size: 30px;
}


.thread-no-replies h3 {
    margin: 10px 0 4px;
    color: var(--text);
    font-size: 16px;
}


.thread-no-replies p {
    margin: 0;
    font-size: 12px;
}


.discussion-thread-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}


.thread-info-list > div {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #edf0f3;
    font-size: 11px;
}


.thread-info-list > div:last-child {
    border-bottom: 0;
}


.thread-info-list span {
    color: var(--muted);
}


.thread-info-list strong {
    color: var(--text);
}


@media (max-width: 950px) {

    .discussion-thread-layout {
        grid-template-columns: 1fr;
    }

    .discussion-thread-sidebar {
        display: none;
    }

}


@media (max-width: 620px) {

    .thread-original-post {
        padding: 17px;
    }

    .thread-body h1 {
        font-size: 22px;
    }

    .thread-footer {
        flex-wrap: wrap;
    }

    .thread-views {
        width: 100%;
        margin-top: 5px;
    }

    .reply-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

}