﻿body {
    background-color: #f2f3f5;
}

#replies {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

#replies img {
    max-width: 100%;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 10px;
}

.post-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.username {
    color: #007bff;
    font-weight: 600;
}

.post-title {
    color: #343a40;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid lightgrey;
    padding: 10px;
}

.post-content {
    color: #495057;
    line-height: 1.6;
}

.post-content img {
    max-width: 100%;
}

.postscript-title {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 600;
}

.postscript-content {
    color: #6c757d;
    font-style: italic;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
}

.card-header, .card-footer {
    background-color: #ffffff;
}

.card-footer {
    border-top: 1px solid #e9ecef;
    background-color: #fffbd6;
}

.reply {
    margin-left: 20px;
    border-left: 2px solid #dee2e6;
    padding-left: 20px;
}

.reply-actions {
    font-size: 0.9em;
}

.reply-actions a {
    margin-right: 10px;
    color: #6c757d;
}

.top-level-reply {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.top-level-reply:last-child {
    border-bottom: none;
}


/* 表情选择框样式 */
#emoji-selector {
    position: fixed;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
}

.emoji-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.emoji {
    cursor: pointer;
    font-size: 24px;
    margin: 5px;
    transition: transform 0.1s;
}

.emoji:hover {
    transform: scale(1.2);
}

/* 表情容器样式 */
.emoji-container {
    display: inline-block;
    margin-left: 10px;
}

.emoji-container .badge {
    margin-right: 5px;
    font-size: 14px;
}

/* Laugh按钮样式 */
.laugh-btn {
    cursor: pointer;
    transition: color 0.3s;
}

.laugh-btn:hover {
    color: #007bff;
}


footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.description {
    margin-bottom: 10px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reply-tag {
    display: inline-block;
    background-color: #454f5b;
    padding: 2px 5px;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 1em;
    color: white;
}

.reply-tag a {
    color: orangered;
}

.reply-container {
    position: relative;
    padding: 10px;
    padding-bottom: 180px;
}

.reply-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    border-radius: 10px;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #f8f8f8;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
}

.user-info {
    border: 1px solid lightgray;
    padding: 10px;
    border-radius: 10px;
}

.user-info .userHeadImg {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

pre {
    border-radius: 5px;
}
