body {
    margin: 0;
    font-family: sans-serif;
    color: #fff;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: white;
    font-size: 18px;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    color: orange;
}

.navbar-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.navbar-tabs a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 6px 16px;
    border-radius: 0;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-tabs a.active {
    color: orange;
    font-weight: bold;
}

.navbar-tabs a.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    width: 60%; /* 控制下劃線的長度，60% 是相對於文字寬度 */
    height: 3px;
    background-color: orange;
    border-radius: 2px;
}


.tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    padding-top: 60px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}


.tabs::-webkit-scrollbar {
  display: none; /* Chrome / Safari / Edge */
}


.tabs span {
    cursor: pointer;
    font-size: 14px;
    color: gray;
    text-align: center;
    display: inline-block;
    padding: 0 12px;
    font-weight : bolder;
    height: 24px;
    line-height: 24px;
}
.tabs span.active {
    background-color: rgba(255, 200, 150, 0.3);
    color: orange;
    font-weight: bold;
    border-radius: 20px;
}

.vod-item {
    display: flex;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}


.vod-thumb {
    position: relative;
    overflow: hidden;
}



.vod-thumb img {
    display: block;
    width: 120px;
    height: 180px;
    border-radius: 6px;
    object-fit: cover;

}

.vod-thumb .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; 
    background: linear-gradient(to top, #ff8c00, rgba(255, 140, 0, 0));
    pointer-events: none;
    border-radius: 6px;
    z-index: 2; 
}

.vod-rank {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 4px 10px;
    color: white;
    text-shadow: 0 0 3px rgba(0,0,0,0.6);
    font-weight: bold;
    font-size: 64px;
    border-top-right-radius: 6px;
    z-index: 1; 
}

.vod-info {
    flex: 1;
    margin-left: 10px;
    position: relative;
}
.vod-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    color: black;
}

.vod-meta {
    font-size: 12px;
    color: gray;
    line-height: 1.5;
}


.vod-hits {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-weight: bold;
  color: #FF8C00;
}

.back-button {
    margin-right: 10px;
    cursor: pointer;
    color: gray;
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 22px;
}

.vod-blurb {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 最多1行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin-top: 8px;
}

.vod-meta-line {
    display: -webkit-box;
    -webkit-line-clamp: 1; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin-top: 8px;
}


.vod_tag {
    display: inline-block;
    background-color: rgba(200, 200, 200, 0.5);
    color: #000; 
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    margin: 4px 0 4px 0; 
}

.vod_tag_hot {
    display: inline-block;
    background-color: #F5DCDC; 
    color:  #FF3B30; 
    border-radius: 4px;
    padding: 2px 6px;
    margin-right: 5px;
    font-size: 12px;
    font-weight: bold;
    margin: 4px 0 4px 0; 
    white-space: nowrap;
}

.vod_tag_hot img {
     width: 16px; 
     height: 16px; 
     vertical-align: middle; 
     margin-right: 4px;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    z-index: 999;
}