.ymx-author-widget {
    padding: 0;
}

.ymx-author-widget-content {
    display: flex;
    flex-direction: column;
}

.ymx-author-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    background: var(--ymx-bg-card);
}

.ymx-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ymx-author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ymx-author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ymx-text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.ymx-author-bio {
    font-size: 13px;
    color: var(--ymx-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    word-break: break-word;
}

.ymx-author-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin-bottom: 16px;
}

.ymx-author-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}

.ymx-author-stat-item:not(:last-child) {
    border-right: 1px solid var(--ymx-border-color);
}

.ymx-author-stat-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--ymx-accent-secondary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.ymx-author-stat-label {
    font-size: 12px;
    color: var(--ymx-text-muted);
    line-height: 1.2;
}

.ymx-author-posts {
    margin-bottom: 12px;
}

.ymx-author-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ymx-author-post-item {
    padding: 8px 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ymx-author-post-item:last-child {
    border-bottom: none;
}

.ymx-author-post-item::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ymx-text-primary);
    margin-top: 6px;
}

.ymx-author-post-link {
    flex: 1;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    line-height: 1.6;
    word-break: break-word;
    transition: color 0.2s ease;
    min-width: 0;
}

.ymx-author-post-link:hover {
    color: var(--ymx-accent-secondary);
}

.ymx-author-more-wrapper {
    text-align: center;
    padding: 0 12px;
    margin-bottom: 20px;
}

.ymx-author-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--ymx-accent-secondary);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.ymx-author-more-btn:hover {
    background: #2980b9;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

body.ymx-dark-mode .ymx-author-header {
    background: var(--ymx-bg-card);
    border-color: rgba(255,255,255,0.08);
}

body.ymx-dark-mode .ymx-author-bio {
    color: #aaa;
}

body.ymx-dark-mode .ymx-author-post-item::before {
    background: #5dade2;
}

body.ymx-dark-mode .ymx-author-post-link {
    color: #aaa;
}

body.ymx-dark-mode .ymx-author-more-btn {
    background: #2980b9;
}

body.ymx-dark-mode .ymx-author-more-btn:hover {
    background: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.5);
}
