.list-scroll-container {
    overflow-y: auto;
    max-height: calc(100vh - 120px);
    scrollbar-width: none;
    flex: 1;
}

/* Search Section */
.search-section {
    padding: 16px;
    background: var(--bg-app);
}

.hot-keywords {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hot-keywords::-webkit-scrollbar { display: none; }

.hot-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.kw-chip {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-divider);
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    cursor: pointer;
}

/* List Header */
.list-header {
    padding: 20px 16px 12px;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.current-cate {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.current-cate small {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-divider);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.filter-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-main);
    fill: none;
    stroke-width: 2;
}

.total-count {
    font-size: 12px;
    color: var(--text-dim);
}

/* Video Grid */
.video-grid {
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.v-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-divider);
}

.v-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-cert {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.v-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.v-ch-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.v-ch-name, .v-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Loading Trigger */
.loading-trigger {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--bg-divider);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Filter Modal Bottom */
.v3-modal-bottom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    transition: all 0.3s ease;
}

.v3-modal-bottom.active {
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.v3-modal-bottom.active .modal-overlay {
    opacity: 1;
}

.modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-app);
    border-radius: 24px 24px 0 0;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.v3-modal-bottom.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.close-btn {
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.filter-group h4 small {
    font-weight: 400;
    color: var(--text-dim);
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    background: var(--bg-app);
    color: var(--text-muted);
    cursor: pointer;
}

.filter-chip.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.filter-row {
    display: flex;
    gap: 16px;
}

.filter-row .filter-group {
    flex: 1;
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 14px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.modal-footer button {
    flex: 1;
    padding: 14px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.btn-reset {
    background: var(--bg-divider);
    color: var(--text-main);
}

.btn-apply {
    background: var(--primary-color);
    color: #fff;
}

/* Desktop Responsive */
@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding: 0 32px;
    }
    
    .list-header, .search-section {
        padding: 24px 32px;
    }
    
    .modal-content {
        max-width: 480px;
        left: 50%;
        transform: translate(-50%, 100%);
    }
    
    .v3-modal-bottom.active .modal-content {
        transform: translate(-50%, 0);
    }
}
