.discord-thread-row td {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.discord-thread-card {
    background: #2b2d31;
    border: 1px solid #3f4147;
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 14px;
    display: grid;
    grid-template-columns: 52px 1fr 72px 165px;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.14);
    color: #f2f3f5;
    font-weight: 550;
}

.discord-thread-avatar {
    width: 44px;
    height: 44px;
}

.discord-thread-avatar img,
.discord-thread-avatar .avatarep_img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3f4147;
    background: #383a40;
    margin: 0 !important;
}

.discord-thread-content {
    min-width: 0;
}

.discord-thread-title-line {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
}

.discord-thread-icon {
    width: 24px;
    height: 24px;
    background: rgba(88,101,242,0.16);
    color: #c9cdfb;
    border: 1px solid rgba(88,101,242,0.28);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex: 0 0 auto;
}

.discord-thread-icon.locked {
    background: rgba(237,66,69,0.14);
    border-color: rgba(237,66,69,0.28);
    color: #ed4245;
}

.discord-thread-icon.pinned {
    background: rgba(240,178,50,0.14);
    border-color: rgba(240,178,50,0.30);
    color: #f0b232;
}

.discord-thread-prefix {
    color: #80848e;
    font-size: 12px;
    font-weight: 800;
}

.discord-thread-title {
    min-width: 0;
}

.discord-thread-title a {
    color: #f2f3f5 !important;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.discord-thread-title a:hover {
    color: #ffffff !important;
}

.discord-thread-author {
    color: #80848e;
    font-size: 12px;
    font-weight: 650;
}

.discord-thread-author a {
    color: #b5bac1 !important;
    text-decoration: none;
    font-weight: 800;
}

.discord-thread-author a:hover {
    color: #ffffff !important;
}

.discord-thread-author .usericon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-left: 3px;
}

.discord-thread-stat {
    background: #2c2c2c;
    border: 1px solid #3f4147;
    border-radius: 10px;
    padding: 9px;
    text-align: center;
}

.discord-thread-stat a {
    color: #f2f3f5 !important;
    text-decoration: none;
}

.discord-thread-stat i {
    color: #5865f2;
    font-size: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

.discord-thread-stat strong {
    color: #f2f3f5;
    font-size: 15px;
    font-weight: 900;
    vertical-align: middle;
}

.discord-thread-lastpost {
    background: #2c2c2c;
    border: 1px solid #3f4147;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: right;
    white-space: nowrap;
}

.discord-thread-lastpost-label {
    color: #80848e;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.discord-thread-lastpost a {
    color: #b5bac1 !important;
    font-size: 12px !important;
    font-weight: 800;
    text-decoration: none;
}

.discord-thread-lastpost a:hover {
    color: #ffffff !important;
}

@media (max-width: 850px) {
    .discord-thread-card {
        grid-template-columns: 46px 1fr;
        gap: 12px;
    }

    .discord-thread-stat,
    .discord-thread-lastpost {
        display: none;
    }
}

@media (max-width: 520px) {
    .discord-thread-card {
        padding: 12px;
        border-radius: 10px;
        grid-template-columns: 42px 1fr;
    }

    .discord-thread-avatar,
    .discord-thread-avatar img,
    .discord-thread-avatar .avatarep_img {
        width: 38px !important;
        height: 38px !important;
    }

    .discord-thread-title-line {
        align-items: flex-start;
        gap: 6px;
    }

    .discord-thread-icon {
        width: 22px;
        height: 22px;
        border-radius: 7px;
        font-size: 11px;
    }

    .discord-thread-title a {
        font-size: 14px;
    }

    .discord-thread-author {
        font-size: 11px;
    }
}