/* Recent channels row on the home screen (js/features/recents.js) */

#fx-recents .fx-home-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: inline proximity;
    padding-block: 4px;
}

#fx-recents .fx-home-list::-webkit-scrollbar {
    display: none;
}

.fx-recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    max-width: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    text-align: start;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-out);
}

.fx-recent-item:hover {
    background: var(--bg-card-hover);
}

.fx-recent-item .channel-logo,
.fx-recent-item .channel-logo-placeholder {
    width: 36px;
    height: 36px;
}

.fx-recent-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.fx-recent-name,
.fx-recent-prog {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-recent-name {
    font-size: 14px;
    font-weight: 600;
}

.fx-recent-prog {
    margin-block-start: 2px;
    font-size: 11px;
    color: var(--primary-light);
}
