﻿
.header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 14px;
}

    .header h1 {
        font-size: 20px;
        margin: 0;
        letter-spacing: 0.2px;
    }

    .header .hint {
        color: var(--subtle);
        font-size: 13px;
        margin: 0;
    }

/* List container */
.stream-list {
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);
    width: 100%;
}

/* Each row */
.stream-row {
    display: grid;
    grid-template-columns: var(--thumb-w) 1fr;
    gap: 14px;
    padding: var(--row-pad);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    width: 100%;
    overflow: hidden;
}

/* Thumbnail */
.thumb {
    width: var(--thumb-w);
    /*height: var(--thumb-h);*/
    /*height: 75px;*/
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Content area */
.content {
    min-width: 0; /* allows ellipsis */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}

    .title a {
        color: var(--text);
        text-decoration: none;
    }

        .title a:hover {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--muted);
    font-size: 13px;
}

    .meta .pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.08);
        color: var(--muted);
        white-space: nowrap;
    }

.desc {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    /*color: var(--text);*/
    color:darkblue;
    text-decoration: none;
    font-size: 13px;
}

    .btn:hover {
        background: rgba(255,255,255,0.10);
    }

    .btn.primary {
        border-color: rgba(138,180,255,0.45);
        background: rgba(138,180,255,0.16);
        color: darkblue;
    }

/* Responsive: stack image above text on small screens */
@media (max-width: 820px) {
    .stream-row {
        grid-template-columns: 1fr;
    }

    .thumb {
        width: 100%;
        height: min(52vw, 240px);
    }
}
