.detail img.detail-cover {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-width: min(100%, 320px);
    max-height: 220px;
    margin: 12px auto 20px;
    object-fit: contain;
}

.detail .article-comments {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
    overflow-wrap: anywhere;
}

.detail .article-comments > h2 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.5;
}

.detail .article-comment-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #374151;
}

.detail .article-comment-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 84px;
    padding: 10px 12px;
    border: 1px solid #d5dce3;
    border-radius: 5px;
    font: inherit;
    background: #fafbfc;
    resize: vertical;
}

.detail .article-comment-actions,
.detail .article-comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    font-size: 13px;
    color: #5e6876;
}

.detail .article-comment-actions {
    justify-content: space-between;
    margin: 8px 0 12px;
}

.detail .article-comment-submit:disabled {
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #d5dce3;
    border-radius: 5px;
    background: #e5e7eb;
    color: #646b74;
    cursor: not-allowed;
    opacity: 1;
}

.detail .article-comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail .article-comment {
    padding: 12px 0;
    border-bottom: 1px solid #eef0f2;
}

.detail .article-comment:last-child {
    border-bottom: 0;
}

.detail .article-comment-name {
    color: #334155;
    font-weight: bold;
}

.detail .article-comment-content {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.detail .article-comment-empty {
    margin: 12px 0 0;
    color: #5e6876;
    font-size: 14px;
}

@media (max-width: 480px) {
    .detail img.detail-cover {
        max-width: min(100%, 240px);
        max-height: 160px;
    }
}
