.trending-widget .trending-scroll {
    min-width: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}

.trending-widget .trending-scroll:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.trending-widget .trending-item[hidden],
.trending-widget .trending-more[hidden] {
    display: none;
}

.trending-widget .trending-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 38px;
    margin-top: 12px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

.trending-widget .trending-more:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

.trending-widget .trending-more:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.trending-widget .trending-more > span[aria-hidden] {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.trending-widget [data-trending-label] { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.trending-widget .trending-more > span[hidden] { display: none; }

.trending-widget .trending-more:disabled {
    color: var(--subtle);
    cursor: default;
}

@media (prefers-reduced-motion: reduce) {
    .trending-widget .trending-more {
        transition: none;
    }
}
