.line-white {
    height: 1px !important;
    border-none: none;
    border-top: 1px solid #f4f4f4;
    width: 85%;
    margin: 15px auto;
}

.line-blue {
    height: 1px !important;
    border-none: none;
    border-top: 1px solid #0800ff;
    width: 85%;
    margin: 15px auto;
}

.line-black {
    height: 1px !important;
    border-none: none;
    border-top: 1px solid #000000;
    margin: 10px 0;
}

.newspaper {
    margin: 20px auto;
    max-height: 850px;
    width: 100%;
    background-color: #aea6a6;
    color: #000000;
    padding: 10px 30px;
    box-sizing: border-box;
    overflow-y: auto;
    border: 3px double #111111;
}

.newspaper::-webkit-scrollbar {
    width: 12px;
}

.newspaper::-webkit-scrollbar-track {
    background: #582424;
    border-left: 2px solid #00ff00;
}

.newspaper::-webkit-scrollbar-thumb {
    background: #743131;
    border: 2px ridge #0800ff;
}

.comments-section {
    width: 100%;
    margin: 20px 0;
    background-color: #582424;
    border: 2px ridge #00ff00;
    padding: 15px;
    text-align: left;
    font-family: "VT323", "Times New Roman", serif;
    color: #00ff00;
    box-sizing: border-box;
}

.comments-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.forum-title {
    font-size: 22px;
    color: #ffff00;
    text-shadow: 1px 1px #000000;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.comment-input-box {
    background-color: #3b1919;
    border: 2px ridge #0800ff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.comment-card {
    background-color: #2b1111;
    border: 4px ridge #0800ff;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 2px 2px 0px #000000;
}

.comment-meta {
    font-size: 15px;
    color: #ffff00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #743131;
    padding-bottom: 4px;
    margin-bottom: 6px;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 8px;
}

.default-avatar {
    width: 24px;
    height: 24px;
    background-color: #0800ff;
    color: #ffffff;
    border: 1px solid #00ff00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.comment-author {
    color: #00ff00;
    font-weight: bold;
}

.comment-body {
    font-size: 18px;
    color: #ffffff;
    word-break: break-word;
    margin: 6px 0;
}

.comment-actions {
    display: flex;
    gap: 12px;
    font-size: 16px;
    margin-top: 8px;
    align-items: center;
}

.avatar-img {
    width: 28px;
    height: 28px;
    border: 2px ridge #00ff00;
    background-color: #000000;
    vertical-align: middle;
}

.like-btn-svg {
    background: transparent;
    border: none;
    color: #888888;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.1s ease, transform 0.1s ease;
}

.like-btn-svg:hover {
    color: #ff00ff;
    transform: scale(1.1);
}

.like-btn-svg.liked {
    color: #ff0055 !important;
}

.like-btn-svg.liked svg {
    fill: #ff0055;
    stroke: #ff0055;
}

.reply-limit-btn {
    display: block;
    margin: 8px 0 8px 20px;
    background-color: #2b1111;
    color: #ffff00;
    border: 2px ridge #00ff00;
    padding: 4px 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

.reply-limit-btn:hover {
    background-color: #000000;
    color: #ff00ff;
}

.edit-box-inline {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.retro-act-btn {
    background: #743131;
    color: #ffff00;
    border: 2px ridge #0800ff;
    padding: 2px 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

.retro-act-btn:hover {
    background: #000000;
    color: #ff00ff;
}

.toggle-replies-btn {
    background: transparent;
    border: none;
    color: #ffff00;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    margin-top: 6px;
    padding: 0;
}

.toggle-replies-btn:hover {
    color: #ff00ff;
}

.replies-container {
    margin-left: 20px;
    border-left: 2px dashed #ff00ff;
    padding-left: 10px;
    margin-top: 8px;
}

.reply-form-inline {
    margin-top: 8px;
    background: #441c1c;
    border: 1px dashed #00ff00;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Modals */
.pop-bg {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.pop-box {
    background-color: #713131;
    border: 3px double #00ff00;
    width: 100%;
    max-width: 500px;
    padding: 15px;
    text-align: left;
    color: #00ff00;
    font-family: inherit;
    box-sizing: border-box;
}

.pop-lbl {
    display: block;
    font-size: 18px;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 2px;
}

.pop-inp, .pop-txt {
    width: 100%;
    box-sizing: border-box;
    background-color: #000000;
    border: 8px ridge #0800ff;
    border-radius: 8px;
    color: #00ff00;
    font-family: inherit;
    font-size: 16px;
    padding: 8px 5px;
    outline: none;
}

.pop-txt {
    height: 80px;
    resize: none;
}

.pop-err {
    color: #ff0000;
    font-size: 16px;
    margin-top: 8px;
    text-align: center;
    padding: 3px;
    display: none;
}

.pop-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.pop-btn {
    font-family: inherit;
    font-size: 18px;
    background-color: #743131;
    color: #ffff00;
    border: 2px ridge #0800ff;
    padding: 4px 12px;
    cursor: pointer;
}

.pop-btn:hover {
    color: #ff00ff;
    background-color: #000000;
}