/* Home — download apps under live streams */
.tl-home-apps {
    margin-top: 28px;
    padding: 20px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.tl-home-apps__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.tl-home-apps__copy {
    min-width: 0;
    flex: 1;
}

.tl-home-apps__title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tl-home-apps__title i {
    color: #7dd3fc;
}

.tl-home-apps__desc {
    margin: 0;
    color: var(--text-muted, #9ca3af);
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 52ch;
}

.tl-home-apps__qr {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-muted, #9ca3af);
    max-width: 140px;
    text-align: center;
}

.tl-home-apps__qr img {
    width: 112px;
    height: 112px;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
    box-sizing: border-box;
}

.tl-home-apps__qr span {
    font-size: 0.72rem;
    line-height: 1.4;
}

.tl-home-apps__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.tl-home-apps__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
    min-height: 110px;
}

a.tl-home-apps__item:hover {
    border-color: rgba(125, 211, 252, 0.35);
    background: rgba(56, 189, 248, 0.08);
    transform: translateY(-1px);
}

.tl-home-apps__item > i {
    font-size: 1.35rem;
    color: #bae6fd;
}

.tl-home-apps__name {
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.3;
}

.tl-home-apps__status {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--text-muted, #9ca3af);
}

.tl-home-apps__item.is-ready .tl-home-apps__status {
    color: #86efac;
}

.tl-home-apps__item.is-soon {
    opacity: 0.72;
}

.tl-home-apps__item.is-recommended {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.tl-home-apps__badge {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.18);
    color: #7dd3fc;
}

.tl-home-apps__more {
    margin-top: 12px;
    text-align: end;
}

.tl-home-apps__more a {
    color: #7dd3fc;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
}

.tl-home-apps__more a:hover {
    color: #bae6fd;
}

@media (max-width: 980px) {
    .tl-home-apps__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .tl-home-apps {
        padding: 16px 14px 14px;
    }

    .tl-home-apps__head {
        flex-direction: column;
        align-items: stretch;
    }

    .tl-home-apps__qr {
        align-self: center;
        max-width: none;
        width: 100%;
        flex-direction: row;
        gap: 12px;
        text-align: start;
    }

    .tl-home-apps__qr img {
        width: 88px;
        height: 88px;
        flex: 0 0 auto;
    }

    .tl-home-apps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tl-home-apps__more {
        text-align: center;
    }
}
