.tsp-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tsp-post-form {
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    background: #fff;
}

.tsp-post-form-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.tsp-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1d9bf0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 12px;
}

.tsp-post-input-wrapper {
    flex: 1;
}

.tsp-author-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e1e8ed;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 8px;
    outline: none;
}

.tsp-post-textarea {
    width: 100%;
    min-height: 60px;
    padding: 12px;
    border: none;
    resize: none;
    font-size: 20px;
    line-height: 1.5;
    outline: none;
}

.tsp-post-textarea::placeholder {
    color: #536471;
}

.tsp-post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e1e8ed;
}

.tsp-char-count {
    color: #536471;
    font-size: 14px;
}

.tsp-char-count.warning {
    color: #f4212e;
}

.tsp-post-button {
    background: #1d9bf0;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.tsp-post-button:hover {
    background: #1a8cd8;
}

.tsp-post-button:disabled {
    background: #8ed0f8;
    cursor: not-allowed;
}

.tsp-posts-list {
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    background: #fff;
}

.tsp-post {
    padding: 16px;
    border-bottom: 1px solid #e1e8ed;
    transition: background 0.2s;
}

.tsp-post:hover {
    background: #f7f9fa;
}

.tsp-post:last-child {
    border-bottom: none;
}

.tsp-post-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.tsp-post-author {
    font-weight: bold;
    margin-right: 8px;
}

.tsp-post-time {
    color: #536471;
    font-size: 14px;
}

.tsp-post-content {
    line-height: 1.5;
    word-wrap: break-word;
    margin-bottom: 12px;
}

.tsp-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tsp-post-actions-buttons {
    display: flex;
    gap: 40px;
}

.tsp-action-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #536471;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.tsp-action-button:hover {
    background: #f7f9fa;
}

.tsp-action-button.like:hover {
    color: #f91880;
}

.tsp-action-button.share:hover {
    color: #1d9bf0;
}

.tsp-action-button svg {
    width: 18px;
    height: 18px;
}

.tsp-loading {
    text-align: center;
    padding: 20px;
    color: #536471;
}

.tsp-load-more {
    text-align: center;
    padding: 20px;
}

.tsp-load-more-button {
    background: none;
    border: 1px solid #1d9bf0;
    color: #1d9bf0;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.tsp-load-more-button:hover {
    background: #e8f5fd;
}

.tsp-social-share {
    display: flex;
    gap: 8px;
}

.tsp-share-button {
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}

.tsp-share-twitter {
    background: #1d9bf0;
    color: white;
}

.tsp-share-facebook {
    background: #1877f2;
    color: white;
}

.tsp-share-linkedin {
    background: #0077b5;
    color: white;
}

.tsp-share-button:hover {
    opacity: 0.8;
}

@media (max-width: 640px) {
    .tsp-container {
        margin: 0 16px;
    }
    
    .tsp-post-actions-buttons {
        gap: 20px;
    }
}