/* X (Twitter) タイムライン カスタムスタイル */

.twitter-timeline-custom {
    background-color: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tweet-item {
    border-bottom: 1px solid #e1e8ed;
    padding: 16px 0;
}

.tweet-item:last-child {
    border-bottom: none;
}

.tweet-content {
    font-size: 15px;
    line-height: 1.3125;
    color: #14171a;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.tweet-content a {
    color: #1da1f2;
    text-decoration: none;
}

.tweet-content a:hover {
    text-decoration: underline;
}

.tweet-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #657786;
}

.tweet-date {
    font-weight: 400;
}

.tweet-link {
    color: #1da1f2;
    text-decoration: none;
    font-weight: 400;
}

.tweet-link:hover {
    text-decoration: underline;
}

.twitter-follow {
    text-align: center;
    padding: 16px 0 0 0;
    border-top: 1px solid #e1e8ed;
    margin-top: 16px;
}

.follow-button {
    display: inline-block;
    background-color: #1da1f2;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.follow-button:hover {
    background-color: #1991db;
    text-decoration: none;
    color: #fff !important;
}

.twitter-fallback {
    background-color: #f7f9fa;
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    padding: 40px 16px;
    text-align: center;
    color: #657786;
    font-size: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .twitter-timeline-custom {
        padding: 12px;
        margin: 0 8px;
    }
    
    .tweet-item {
        padding: 12px 0;
    }
    
    .tweet-content {
        font-size: 14px;
    }
    
    .tweet-meta {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
