.app-aparat-playlist {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    direction: rtl;
    margin: 20px 0;
    box-sizing: border-box;
}

.app-aparat-main,
.app-aparat-list {
    min-width: 0;
}

.app-aparat-player-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    overflow: hidden;
    border-radius: 14px;
    background: #111;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.app-aparat-player {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.app-aparat-current-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
    padding: 12px 4px 0;
    color: #222;
}

.app-aparat-list {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
}

.app-aparat-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.app-aparat-count {
    font-size: 12px;
    font-weight: 600;
    color: #777;
    white-space: nowrap;
}

.app-aparat-items {
    max-height: 560px;
    overflow-y: auto;
}

.app-aparat-item {
    width: 100%;
    display: grid;
    grid-template-columns: 28px 88px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 9px;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    text-align: right;
    cursor: pointer;
    color: inherit;
    font: inherit;
    transition: background .2s ease, transform .15s ease;
}

.app-aparat-item:hover {
    background: #f6f7f9;
}

.app-aparat-item.is-active {
    background: #fff6df;
}

.app-aparat-item img,
.app-aparat-thumb-placeholder {
    width: 88px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    background: #eee;
}

.app-aparat-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
}

.app-aparat-number {
    color: #888;
    font-size: 12px;
    text-align: center;
}

.app-aparat-item.is-active .app-aparat-number {
    color: #d69b00;
    font-weight: 800;
}

.app-aparat-item-title {
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.app-aparat-error {
    padding: 14px 16px;
    margin: 15px 0;
    border: 1px solid #f1c5c5;
    border-radius: 10px;
    background: #fff5f5;
    color: #9b1c1c;
    direction: rtl;
}

@media (max-width: 800px) {
    .app-aparat-playlist {
        grid-template-columns: 1fr;
    }

    .app-aparat-items {
        max-height: 420px;
    }

    .app-aparat-player-wrap {
        min-height: 220px;
    }
}
