
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
    min-width: 280px; 
    min-height: 100vh;
    background-color: #010916; 
}
.mute-btn {
    position: fixed;
    top: 20px;
    right: 20px; 
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 6px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px; 
    z-index: 100;
    transition: all 0.3s ease;
    min-width: 20px; 
    min-height: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mute-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.page {
    display: none;
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 1;
}
.page.active {
    display: block;
    z-index: 2;
}
.icLogo {
    position: absolute;
    left: 30px;
    top: 20px;
    z-index: 100;
    transition: 0.5s;
}
.icLogo img { 
    width: 30px;
}
.icLogo:hover {
    transform: scale(1.1);
}
#verify-page {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    transition: background-image 2s ease-in-out; 
}
#verify-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.2);
    backdrop-filter: blur(3px);
    z-index: 1;
}
.verify-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    width: auto; 
    max-width: 90%; 
    justify-content: center;
    text-align: center;
    flex-shrink: 0; 
    padding: 20px;
}
@media (min-aspect-ratio: 1/1) {
    .verify-content {
        flex-direction: row;
        gap: 150px;
        flex-wrap: wrap; 
    }
}
@media (max-aspect-ratio: 1/1) {
    .verify-content {
        flex-direction: column;
        gap: 20px;
    }
}
@media (max-width: 480px) {
    .verify-content {
        gap: 15px;
        padding: 15px;
    }
    .school-info h1 {
        font-size: 1.8em;
    }
    .school-info h2 {
        font-size: 1.1em;
    }
    .school-info h3 {
        font-size: 0.9em;
    }
    .school-info h4 {
        font-size: 0.8em;
    }
    .verify-container {
        padding: 12px;
    }
    .form-group {
        margin-bottom: 10px;
    }
    .form-group label {
        font-size: 0.9em;
    }
    .form-group input {
        padding: 8px;
        font-size: 0.9em;
    }
    .verify-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}
.school-info {
    text-align: center;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
    width: 380px; 
    max-width: 100%; 
    flex-shrink: 0; 
}
.school-info .djtu,
.school-info .sme {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}
.school-info img {
    width: 30%;
}
.school-info .djtu img:last-child,
.school-info .sme img:last-child {
    width: 70%;
    height: 100%;
    padding-top: 12px;
}
.school-info .hj131 img{
    width: 70%;
}
.verify-container {
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px); 
    border: 1px solid rgba(255, 255, 255, 0.25); 
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
    text-align: center;
    width: 280px; 
    max-width: 100%; 
    animation: fadeIn 1.5s ease-out 0.3s both;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0; 
}
.verify-container:hover {
    transform: translateY(-5px); 
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); 
    border-color: rgba(255, 255, 255, 0.3); 
}
#verify-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    gap: 6px;
}
.form-group label {
    font-weight: 600;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.form-group input {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1); 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-radius: 8px;
    font-size: 14px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7); 
}
.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8); 
    background: rgba(255, 255, 255, 0.15); 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); 
}
.verify-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 18px;
}
.verify-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}
.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
    min-height: 20px;
    animation: fadeIn 0.3s ease;
}
.djtuxx {
    position: absolute;
    left: 50%;
    bottom: 50px;
    z-index: 100;
    transform: translateX(-50%);
}
.djtuxx img {
    width: 280px;
    opacity: 0.5;
}
#main-page {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    min-width: 320px;
    min-height: 400px;
}
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: none;
}
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 5px solid white;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loader-text {
    font-size: 18px;
    font-weight: bold;
}
#main-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: none; 
}
.danmu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    box-sizing: border-box;
}
.danmu {
    position: absolute;
    white-space: nowrap;
    font-size: 20px;
    font-weight: bold;
    text-shadow: none;
    pointer-events: auto;
    z-index: 2;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 0;
    padding: 0;
}
.danmu.running {
    animation: danmuMove 8s linear forwards;
}
.danmu[style*="color: white"],
.danmu[style*="color: #ffffff"],
.danmu[style*="color: rgb(255, 255, 255)"] {
    text-shadow: none;
}
@keyframes danmuMove {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
}
.danmu:hover {
    background: rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.5); 
    border-radius: 15px;
    padding: 5px 10px;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
}
.danmu-input-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%; 
    height: 50px;
    z-index: 3;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: auto;
    background: transparent; 
    overflow: visible; 
}
@media (max-width: 1200px) {
    .danmu-input-container {
        width: 40%;
    }
}
@media (max-width: 1024px) {
    .danmu-input-container {
        width: 50%;
    }
}
@media (max-width: 900px) {
    .danmu-input-container {
        width: 60%;
    }
}
@media (max-width: 768px) {
    .danmu-input-container {
        width: 70%;
    }
}
@media (max-width: 640px) {
    .danmu-input-container {
        width: 80%;
    }
}
@media (max-width: 512px) {
    .danmu-input-container {
        width: 90%;
    }
    .progress-section {
        min-width: 100px;
    }
    .volume-control {
        min-width: 80px;
    }
    .select-control, #playback-speed, #video-quality {
        padding: 6px 10px !important;
        font-size: 12px !important;
        min-width: 45px !important;
        background-position: calc(100% - 12px) calc(1em + 2px), 
                            calc(100% - 7px) calc(1em + 2px) !important;
        background-size: 4px 4px, 4px 4px !important;
    }
    .control-btn {
        padding: 6px;
        font-size: 14px;
        width: 30px;
        height: 30px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
}
@media (max-width: 480px) {
    .full-progress-container {
        padding: 5px;
        gap: 5px;
        min-height: auto;
    }
    .progress-section {
        min-width: 150px;
        gap: 5px;
    }
    .controls-section {
        gap: 3px;
    }
    .control-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 4px;
    }
    .volume-control {
        min-width: 70px;
        gap: 3px;
    }
    .volume-slider {
        width: 40px;
    }
    .select-control, #playback-speed, #video-quality {
        padding: 4px 8px !important;
        font-size: 11px !important;
        min-width: 50px !important;
        background-position: calc(100% - 10px) calc(1em + 1px), 
                            calc(100% - 6px) calc(1em + 1px) !important;
        background-size: 3px 3px, 3px 3px !important;
    }
    .time-display {
        font-size: 11px;
        min-width: 30px;
    }
    .full-progress {
        min-width: 60px;
    }
}
@media (max-width: 360px) {
    .progress-section {
        min-width: 100px;
        gap: 3px;
    }
    .time-display {
        font-size: 10px;
        min-width: 25px;
    }
    .full-progress {
        min-width: 50px;
    }
    .volume-control {
        min-width: 60px;
    }
    .volume-slider {
        width: 35px;
    }
    .select-control, #playback-speed, #video-quality {
        min-width: 45px !important;
        padding: 3px 6px !important;
        font-size: 10px !important;
    }
    .control-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 3px;
    }
}
@media (max-width: 480px) {
    .danmu-input-container {
        width: 90%;
    }
    .full-progress-container {
        padding: 0 5px;
        gap: 6px;
    }
    .progress-section {
        min-width: 60px;
        gap: 4px;
    }
    .full-progress {
        min-width: 40px;
    }
    .time-display {
        font-size: 8px;
        min-width: 10px;
    }
    .volume-control {
        min-width: 70px;
        gap: 4px;
    }
    .volume-slider {
        width: 40px;
    }
    .select-control, #playback-speed, #video-quality {
        padding: 4px 6px !important;
        font-size: 10px !important;
        min-width: 45px !important;
        background-position: calc(100% - 8px) calc(1em + 1px), 
                            calc(100% - 4px) calc(1em + 1px) !important;
    }
    .control-btn {
        padding: 4px;
        font-size: 12px;
        width: 30px;
        height: 30px;
    }
}
@media (max-width: 360px) {
    .full-progress-container {
        padding: 0 3px;
        gap: 4px;
    }
    .controls-section {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .volume-percentage {
        display: none;
    }
    .select-control, #playback-speed, #video-quality {
        padding: 3px 5px !important;
        font-size: 9px !important;
        min-width: 40px !important;
        background-position: calc(100% - 6px) calc(1em + 1px), 
                            calc(100% - 3px) calc(1em + 1px) !important;
    }
}
@media (max-aspect-ratio: 4/3) {
    #main-video {
        object-fit: cover;
    }
    .full-progress-container {
        padding: 0 8px;
        gap: 6px;
    }
}
.danmu-input-container.visible {
    bottom: 70px; 
}
.danmu-input-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(3px); 
    -webkit-backdrop-filter: blur(3px); 
    border-radius: 25px;
    overflow: visible; 
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3); 
    border: 1px solid rgba(255, 255, 255, 0.5); 
    opacity: 1; 
    box-sizing: border-box; 
    display: flex; 
    align-items: center; 
}
#danmu-input {
    flex: 1; 
    height: 100%;
    padding: 0 20px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 1); 
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); 
}
#danmu-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}
#send-danmu-btn {
    height: 100%;
    padding: 0 10px;
    border: none;
    background: linear-gradient(to bottom, #4CAF50, #45a049); 
    color: rgba(255, 255, 255, 1); 
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 64px; 
    white-space: nowrap; 
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); 
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    line-height: 1;
}
#send-danmu-btn:hover {
    background: linear-gradient(to bottom, #45a049, #3d8b40); 
}
.emoji-container {
    position: relative; 
    display: inline-block;
    margin-right: 10px;
    width: 36px;
    height: 36px;
}
#emoji-btn {
    position: absolute;
    top: 0;
    left: 0;
    height: 36px;
    width: 36px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px); 
    color: rgb(231, 158, 0);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001; 
    border: 1px solid rgba(255, 255, 255, 0.8); 
}
#emoji-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}
.emoji-panel {
    position: absolute;
    top: -210px; 
    left: 50%; 
    transform: translateX(-50%); 
    margin: 0;
    width: 350px;
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.5); 
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
    padding: 5px;
    overflow-y: auto;
    max-height: 200px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}
.emoji-container:hover .emoji-panel,
.emoji-panel:hover {
    opacity: 1;
    visibility: visible;
}
.emoji-panel.show {
    opacity: 1;
    visibility: visible;
}
.emoji-list {
    overflow-x: hidden; 
    padding-right: 5px;
    justify-content: center; 
    align-items: center;
    line-height: 1;
    width: 100%; 
    position: relative; 
    margin: 0; 
    padding: 10px;
    max-width: 100%;
}
.emoji-list span {
    font-size: 26px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 50px;
    height: 50px;
    line-height: 1;
    transform-origin: center;
    z-index: 1001;
    position: relative;
    box-shadow: 0 0 0 transparent;
    contain: none;
}
.emoji-list span:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.2);
    z-index: 1002; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.danmu-like {
    display: none;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}
.danmu:hover .danmu-like,
.danmu.has-likes .danmu-like {
    display: inline-flex;
}
.danmu-like:hover {
    color: #ff4081;
}
.danmu-like.liked {
    color: #ff4081;
}
.danmu-like-count {
    font-size: 14px;
}
.danmu-like-count[style*="display: none"] {
    display: none !important;
}
.default-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 51, 102, 0.4); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    box-sizing: border-box;
}
.default-progress.hidden {
    opacity: 0;
    pointer-events: none;
}
.default-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(102, 166, 255, 0.8), rgba(40, 167, 69, 0.8));
    transition: width 0.1s ease;
}
.full-progress-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    gap: 8px;
    transition: opacity 0.3s ease;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: auto;
    box-sizing: border-box;
    min-width: 320px;
    flex-wrap: wrap;
}
.full-progress-container.visible {
    opacity: 1;
}
.progress-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    overflow: visible;
    flex-shrink: 1;
}
.full-progress {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 2.5px;
    overflow: visible;
    cursor: pointer;
    min-width: 60px;
    position: relative;
    flex-shrink: 1;
}
.full-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(102, 166, 255, 0.8), rgba(40, 167, 69, 0.8));
    border-radius: 2.5px;
    transition: width 0.1s ease;
    position: relative;
}
.progress-handle {
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: white;
    border: 2px solid rgba(102, 166, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    z-index: 10;
}
.progress-handle:hover {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}
.control-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    outline: none;
    -webkit-text-fill-color: white;
}
.control-btn:hover {
    background: rgba(255, 255, 255, 0.5); 
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.control-btn i {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.time-display {
    color: white;
    font-size: 10px;
    font-weight: 500;
    min-width: 30px;
    text-align: center;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.volume-control {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    position: relative;
    flex-shrink: 0;
}
.volume-percentage {
    position: absolute;
    top: -14px;
    left: 16px;
    transform: translateX(-50%);
    color: rgba(0, 0, 0, 0.8);
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.volume-percentage.visible {
    opacity: 1;
}
#volume-icon {
    color: white;
    font-size: 16px;
}
.volume-percentage.visible {
    opacity: 1;
}
.volume-slider {
    width: 60px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
    min-width: 30px;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 1);
}
.select-control, #playback-speed, #video-quality {
    background: rgba(255, 255, 255, 0.2) !important; 
    backdrop-filter: blur(15px) !important; 
    -webkit-backdrop-filter: blur(15px) !important;
    color: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important; 
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    min-width: 70px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    background-image: linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, 0.8) 50%), 
                      linear-gradient(135deg, rgba(0, 0, 0, 0.8) 50%, transparent 50%) !important;
    background-position: calc(100% - 15px) calc(1em + 2px), 
                        calc(100% - 10px) calc(1em + 2px) !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0;
}
.select-control:hover, #playback-speed:hover, #video-quality:hover {
    background: rgba(255, 255, 255, 0.3) !important; 
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    background-image: linear-gradient(45deg, transparent 50%, white 50%), 
                      linear-gradient(135deg, white 50%, transparent 50%) !important;
    background-position: calc(100% - 15px) calc(1em + 2px), 
                        calc(100% - 10px) calc(1em + 2px) !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
}
.select-control:focus, #playback-speed:focus, #video-quality:focus {
    background: rgba(255, 255, 255, 0.3) !important; 
    box-shadow: 0 0 0 2px rgba(102, 166, 255, 0.5) !important;
    background-image: linear-gradient(45deg, transparent 50%, white 50%), 
                      linear-gradient(135deg, white 50%, transparent 50%) !important;
    background-position: calc(100% - 15px) calc(1em + 2px), 
                        calc(100% - 10px) calc(1em + 2px) !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
}
.select-control::-ms-expand, #playback-speed::-ms-expand, #video-quality::-ms-expand {
    display: none !important;
}
.select-control option, #playback-speed option, #video-quality option {
    background: rgba(240, 240, 240, 0.8) !important; 
    color: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(200, 200, 200, 0.5) !important; 
    padding: 12px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    border-radius: 4px !important;
}
.select-control option:hover, #playback-speed option:hover, #video-quality option:hover {
    background: rgba(220, 220, 220, 0.9) !important; 
}
select[class="select-control"], select#playback-speed, select#video-quality {
    background-clip: padding-box !important;
    -webkit-background-clip: padding-box !important;
}
select::-webkit-dropdown-menu {
    background: rgba(240, 240, 240, 0.8) !important; 
    border: 1px solid rgba(200, 200, 200, 0.5) !important; 
    border-radius: 8px !important;
}
select::-ms-expand {
    background: transparent !important;
    color: transparent !important;
}
.controls-section {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-width: 320px;
    box-sizing: border-box;
    pointer-events: none;
}
.header {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    background: transparent; 
    transition: all 0.3s ease;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 320px;
    box-sizing: border-box;
    pointer-events: auto;
}
.current-video-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 600;
    font-size: 1.1em;
    background: transparent; 
    padding: 0;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
    min-width: auto;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); 
}
#logout-btn {
    display: none;
}
.video-list-wrapper {
    position: fixed;
    left: 20px;
    top: 70%;
    transform: translateY(-50%);
    z-index: 3;
    transition: all 0.3s ease;
    pointer-events: auto;
}
#main-page.active .video-list-wrapper {
    display: block;
}
.video-list-toggle {
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5); 
    padding: 10px 5px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    min-width: 25px;
    width: 25px;
    height: 75px; 
    flex-direction: column; 
    writing-mode: vertical-rl; 
    text-orientation: mixed;
    box-sizing: border-box;
    flex-shrink: 0;
}
.video-list-toggle:hover {
    background: rgba(255, 255, 255, 0.15); 
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.video-list-toggle .list-text {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.video-list-container {
    position: fixed;
    left: 30px;
    top: 75%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5); 
    border-radius: 15px;
    padding: 20px;
    margin-left: 5px; 
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    max-height: 400px;
    overflow-y: auto;
    min-width: 250px;
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    width: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}
.video-list-wrapper:hover .video-list-container {
    opacity: 1;
    visibility: visible;
    width: 250px;
}
.video-list-container:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}
#video-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
#video-list li {
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); 
}
#video-list li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}
#video-list li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
}
.video-item-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.video-title {
    font-size: 14px;
    font-weight: 500;
    color: white; 
    margin: 0;
}
.video-duration {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8); 
    margin: 0;
}
#video-list li.active {
    background: rgba(255, 255, 255, 0.25); 
}
.playing-indicator {
    font-size: 16px;
    color: white;
    margin-left: 10px;
}
.video-list-container::-webkit-scrollbar {
    width: 8px;
}
.video-list-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.video-list-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}
.video-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
.video-title-container {
    display: none;
}