        body {
            margin: 0;
            font-family: 'Segoe UI';
            background: #eef2f7;
        }

        .topbar {
            background: white;
            padding: 14px 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .left-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .search-input {
            padding: 7px 12px;
            border-radius: 20px;
            border: 1px solid #ccc;
        }

        .sort-btn {
            padding: 6px 12px;
            border-radius: 20px;
            border: 1px solid #ccc;
            background: white;
            cursor: pointer;
        }

        .upload-btn {
            background: #1a73e8;
            color: white;
            border: none;
            padding: 7px 16px;
            border-radius: 20px;
            cursor: pointer;
        }

        .breadcrumb {
            padding: 15px 30px 0 30px;
            font-size: 14px;
            color: #555;
        }

            .breadcrumb span {
                cursor: pointer;
                color: #1a73e8;
            }

        .container {
            padding: 20px 30px 30px 30px;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
            gap: 20px;
        }

        .card {
            background: white;
            border-radius: 14px;
            padding: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.06);
            cursor: pointer;
            transition: 0.2s;
        }

            .card:hover {
                transform: translateY(-5px);
            }

        .thumbnail {
            height: 120px;
            background: #f1f3f4;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

            .thumbnail img {
                max-width: 100%;
                max-height: 100%;
            }

        .filename {
            margin-top: 8px;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .modified {
            font-size: 12px;
            color: gray;
        }

        .modal {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.95);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

            .modal.active {
                display: flex;
            }

            .modal img {
                max-width: 90%;
                max-height: 90%;
                border-radius: 10px;
            }

        .video-wrapper {
            width: 90vw;
            max-width: 1200px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .video-js {
            width: 100% !important;
            height: 675px !important;
        }

        #contextBar {
            position: fixed;
            bottom: -80px;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            max-width: 600px;
            background: rgba(0,0,0,0.85);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 15px 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: 0.3s;
            color: white;
        }

            #contextBar button {
                background: none;
                border: none;
                color: white;
                cursor: pointer;
            }

        #loginModal {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            display: none;
            align-items: center;
            justify-content: center;
        }

            #loginModal .box {
                background: white;
                padding: 30px;
                border-radius: 10px;
                text-align: center;
            }
