/* TV channels modal (recreated — original assets 404 on mdbtv.info) */
.tv-channels-modal .modal__content {
    max-width: 720px;
    width: 94%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 20px;
}

.tv-channels-modal__title {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.tv-channels-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tv-channels-search {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 14px;
    outline: none;
}

.tv-channels-search:focus {
    border-color: rgba(255, 42, 50, 0.6);
}

.tv-channels-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

.tv-channels-list {
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

.tv-channels-loading,
.tv-channels-empty {
    color: rgba(255, 255, 255, 0.5);
    padding: 24px 0;
    text-align: center;
}

.tv-cat {
    margin-bottom: 22px;
}

.tv-cat__title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-cat__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.tv-ch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    min-height: 48px;
}

.tv-ch:hover {
    background: rgba(255, 42, 50, 0.12);
}

.tv-ch__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.tv-ch__name {
    font-size: 13px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
}

.tv-channels-modal .modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
