/* top-features.css */
.top-news-section .top-news-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-news-section .top-news-list li {
    padding: 0;
    background: transparent;
    border: none;
    border-bottom: 1px dashed var(--card-border);
    border-radius: 0;
}

.top-news-section .top-news-list li:last-child {
    border-bottom: none;
}

.top-news-section .top-news-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.95rem;
}

.top-news-section .top-news-list li a:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.top-news-section .news-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.top-news-section .news-new-badge {
    background-color: #ffaf91;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.top-news-section .news-title {
    color: var(--text-color);
    font-weight: 500;
}

.more-news-link {
    text-align: right;
    margin-top: 15px;
    font-size: 0.9rem;
}

.more-news-link a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    color: var(--acc-color);
}

.more-news-link a:hover {
    color: var(--acc-hover);
}

.tweet-container {
    background: #fdfdfd;
    border: 1px solid var(--card-border);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: float-tweet 2s ease-in-out infinite alternate;
    /* ふわふわアニメーション */
}

@keyframes float-tweet {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-2px);
    }
}

.tweet-content p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.6;
}

.tweet-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 5px;
}