body {padding: 0;border: 0;margin: 0;background-color: #eee;overflow: hidden;}
::-webkit-scrollbar {width: 0;}
::-webkit-scrollbar:horizontal {height: 0;}

#topbar {position: absolute;width: 100vw;height: 7vh;left: 0;top: 0;z-index: 1000;}
#topbar .waves-effect {position: absolute;width: 7vh;height: 7vh;}
#topbar .waves-effect img {position: absolute;width: 4vh;height: 4vh;left: 1.5vh;top: 1.5vh;}
#exit {left: 0;top: 0;}
#title {position: absolute;width: calc(100vw - 14vh) !important;height: 7vh;left: 7vh;top: 0;font-size: 2.8vh;display: flex;justify-content: start;align-items: center;}
#menu {right: 0;top: 0;}
/* 自定义下拉菜单 */
.custom-dropdown {width: 15vh !important;overflow: hidden;padding: 0;outline: none;}
.custom-dropdown li {list-style: none;padding: 0;margin: 0;}
.custom-dropdown li a {display: block;width: 100%;height: 100%;line-height: 4vh;text-align: center;text-decoration: none;font-size: 2.3vh;transition: background 0.3s;}
.custom-dropdown li a:hover {background-color: #e0e0e0;}

#videobar {
    position: absolute;width: 100vw;height: 86vh;left: 0;top: 7vh;
    display: flex;flex-wrap: wrap;align-content: flex-start;overflow-x: hidden;overflow-y: auto;padding-left: 1vw;padding-right: 1vw;
}
.video_card {position: relative;width: 49vw;height: calc(30vw + 9vh);left: 0;top: 0;}
.video_cover {position: absolute;width: 47vw;height: 27vw;left: 1vw;top: 2vw;border-radius: 1vw;overflow: hidden;}
.video_cover img {position: absolute;width: 100%;height: 100%;left: 0;top: 0;object-fit: cover;}
.video_avatar {position: absolute;width: 5vh;height: 5vh;left: 1vw;top: calc(30vw + 0.5vh);border-radius: 1vw;overflow: hidden;}
.video_avatar img {position: absolute;width: 100%;height: 100%;left: 0;top: 0;object-fit: cover;}
.data {position: absolute;width: 12vw;height: 5vw;font-size: 3vw;background-color: rgba(0, 0, 0, 0.3);border-radius: 1vw;display: flex;justify-content: center;align-items: center;white-space: nowrap;}
.video_view_count {left: 2vw;top: 23vw;}
.video_like_count {left: 15vw;top: 23vw;}
.video_favorite_count {left: 28vw;top: 23vw;}
.video_title {
    position: absolute;width: calc(47vw - 6vh);height: 6vh;left: calc(1vw + 6vh);top: 30vw;
    line-height: 1.5;font-size: 2vh;overflow: hidden;word-wrap: break-word;overflow-wrap: break-word;word-break: break-all;white-space: pre-wrap;
}
.video_subtitle {
    position: absolute;width: 47vw;height: 3vh;left: 1vw;top: calc(30vw + 6vh);
    font-size: 2vh;overflow: auto;white-space: nowrap;overflow-x: auto;overflow-y: hidden;display: flex;align-items: center;
}
#bottom {position: relative;width: 98vw;height: 2vw;left: 0;top: 0;}

#bottombar {position: absolute;width: 100vw;height: 7vh;left: 0;top: 93vh;display: flex;justify-content: center;align-items: center;z-index: 999;}
.pagination {width: 100vw;height: 5vh;left: 0;top: 1vh;padding: 0;border: 0;margin: 0;display: flex;justify-content: center;align-items: center;}
.pagination li {width: 4.4vh;height: 4.4vh;padding: 0;border: 0;margin: 0;border-radius: 0.3vh;margin-left: 0.5vh;margin-right: 0.5vh;display: flex;justify-content: center;align-items: center;}
.pagination li a {width: 100%;height: 100%;font-size: 2.5vh;padding: 0;border: 0;margin: 0;display: flex;justify-content: center;align-items: center;}
.pagination li a img {width: 100%;height: 100%;object-fit: contain;}