.article {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.article .title {
    font-size: 1.125rem;
    font-weight: 700;
}

.article .non-expend {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
}

.article .non-expend .img {
    width: 200px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    border: 1px solid #f1f5f9;
}

.article .non-expend .content {
    width: 500px;
    padding-left: 10px;
    height: 100px;
    overflow: hidden;
}

.article .non-expend .content .text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 25px;
    word-break: break-word;
    white-space: normal;
}

.article .expend {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    display: none;
}

.article .expend .img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.article .expend .content {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    line-height: 1.625;
}

.article .expend .article-operations {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 20%;
}

.article .expend .article-operations .operation {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.article .expend .article-operations .operation:hover {
    background-color: #000;
    color: #FAFAFA
}

.article .expend .article-operations .operation.favorite.active {
    opacity: 1;
    color: #007AFF
}

.article .expend .article-operations .operation.favorite {
    opacity: 0.6
}

.article .expend .article-operations .operation.favorite.active:hover {
    opacity: 1;
    background-color: #fff;
    color: #007AFF;
}


.article .expend .article-operations .operation.view:hover {
    color: inherit;
    background-color: #fff;
}


.article .expend .article-operations .operation .operation-svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    display: block
}

.article .expend .article-operations .operation.cmt.active {
    color: #007AFF;
}

.article .expend .article-operations .operation.cmt.active:hover {
    color: #FAFAFA
}


.article .expend .article-operations .operation.cmt.static,
.article .expend .article-operations .operation.view.static {
    color: #007AFF;
    opacity: 1;
}

.article .expend .article-operations .operation.favorite.static {
    opacity: 0.6;
}

.article .expend .article-operations .operation.favorite.static:hover {
    background-color: #000;
    color: #FAFAFA;
    opacity: 1
}

.article .expend .article-operations .operation.operation.favorite.static.active {
    color: #007AFF;
    opacity: 1;
}

.article .expend .article-operations .operation.favorite.static.active:hover {
    opacity: 1;
    background-color: #fff;
    color: #007AFF;
}

.article .expend .article-operations .operation.cmt.static:hover,
.article .expend .article-operations .operation.view.static:hover {
    background-color: #fff;
}




.article .expend .files {
    width: 100%;
    border-radius: 0.125rem;
    background-color: #e2e8f0;
    margin-top: 1rem;
    padding: 1rem;
}

.article .expend .files .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.article .expend .files .link {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
    text-decoration: none;
    text-underline-offset: 4px;
}

.article .expend .files .link:hover {
    color: #2563eb;
    text-decoration: underline;

}

.article .tags {
    display: flex;
    flex-wrap: wrap;
}

.article .tags .badge {
    display: flex;
    margin-right: 10px;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid var(--ring);
    padding: 0.125rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--foreground);
    overflow: hidden;
    width: fit-content;
    transition: color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.article .tags .badge:hover {
    background-color: #f0f0f0;
    color: #000;
}

.article .tags .badge.active {
    background-color: #000;
    color: #f0f0f0;
    border: 1px solid #000;
}

.article .create {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article .create .svg {
    height: 16px;
    width: 16px;
    cursor: pointer;
}




.skeleton {
    width: 400px;
    padding: 40px 20px;
    border-radius: 8px;
    background: #fff;

}

.skeleton div {
    background: #eee;
    border-radius: 4px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.skeleton .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.skeleton .line {
    height: 12px;
    width: 100%;
}

.skeleton .line.short {
    width: 60%;
}

.skeleton div::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}


.article .mini-article {
    width: 650px;
    height: 120px;
    display: flex;
}

.article .mini-article .mini-img {
    width: 200px;
    height: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    border: 1px solid #f1f5f9;
}

.article .mini-article .mini-content {
    width: 430px;
    height: 120px;
    padding-left: 20px;
}

.article .mini-article .mini-content .mini-title {
    padding: 0;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.article .mini-article .mini-content .mini-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 25px;
    word-break: break-word;
    white-space: normal;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 5px;
}

.article .mini-article .mini-content .mini-text.comment {
    -webkit-line-clamp: 3;
}

.expend .mini-more,
.article .mini-article .mini-content .mini-more {
    color: #2563EB;
    font-size: 0.775rem;
    font-weight: 500;
    margin-top: 5px;
    cursor: pointer;
}
.expend .mini-more:hover,
.article .mini-article .mini-content .mini-more:hover {
    color: #1D4ED8;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}


.article .mini-create {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 30px
}

.article .mini-create .mini-operation {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    padding: 5px 10px;
    cursor: pointer;
}


.article .mini-create .mini-operation.inactive,
.article .mini-create .mini-operation.active {}

.article .mini-create .mini-operation.inactive:hover {
    color: #C2410C
}



.article .mini-create .mini-operation.active:hover {
    color: #007AFF
}


.article .mini-create .mini-operation .mini-operation-svg {
    width: 14px;
    height: 14px;
    display: block;
    margin-right: 5px;
    justify-content: center;
}


.comment {
    width: 100%;
    display: none;
    justify-content: space-between;
}

.comment .text {
    width: 600px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 8px 12px;
}

.comment .text .cmt-textarea {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
    resize: none;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    color: #000;
    line-height: inherit;
    width: 100%;
    display: block;
    field-sizing: content;
}

.comment .cmt-button {
    display: none;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    background-color: #2563EB;
    color: var(--secondary);
    padding: 8px 12px;
    float: right;
}

.comment .cmt-button:hover {
    opacity: 0.8;
}

.comment .cmt-button:disabled {
    opacity: 0.6;
    background-color: var(--muted-foreground);
}

.commentList {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    margin-top: 12px;
    padding: 8px 14px;
    display: none;

}

.commentList.static {
    display: block;
    padding: 0 0;
    border: none;
    margin-top: 30px;
}

.commentList .commentItem {
    display: flex;
    margin: 20px 0;
}

.commentList .commentItem .commentContext {
    padding: 0 10px;
    width: 590px;
    display: flex;
    flex-direction: column;
    color: rgb(55, 58, 64);
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.commentList .commentItem .commentContext .commentNickname {
    font-weight: 700;
    font-size: 14px;

}

.commentList .commentItem .commentAvatar {
    width: 24px;
    height: 24px;
    background-color: #0f172a;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.commentList .commentItem .commentContext .commentCreatedAt {
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
    width: 100%;
    display: flex;
    justify-content: space-between
}

.commentList .commentItem .commentContext .commentCreatedAt .commentDelete {
    font-weight: 500;
    cursor: pointer
}

.commentList .commentItem .commentContext .commentCreatedAt .commentDelete:hover {
    font-weight: 500;
    color: #C2410C
}

.commentList .commentItem .commentContext .commentReply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background-color: #F3F4F6;
    border: none;
    border-radius: 6px;
    color: #636E7E;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 120px;
    margin-top: 20px;
}

.commentList .commentMore {
    width: 100%;
    height: 60px;
    text-align: center;
    line-height: 60px;
    color: #007AFF;
}