.comment {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}
.userImage {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.commentBody {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.commentHeader {
    height: 20%;
    min-height: 24px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.commentHeader .username {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}
.uid {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.38);
    font-weight: 400;
}
.commentContent {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

#commentBox {
    margin-top: 30px;
    margin-bottom: 20px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    box-sizing: border-box;
}

#commentInput {
    flex: 1;
    min-height: 48px;
    max-height: 160px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    resize: vertical;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
    background: rgba(255, 255, 255, 0.6);
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

#commentInput:focus {
    border-color: rgba(0, 0, 0, 0.3);
}

#commentInput::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

#commentSubmit {
    flex-shrink: 0;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

#commentSubmit:hover {
    background: rgba(0, 0, 0, 0.85);
}

@media (max-width: 768px) {
    #commentBox {
        width: 95%;
    }
    .userImage {
        width: 36px;
        height: 36px;
    }
    .comment {
        gap: 8px;
        padding: 10px 12px;
    }
}