body {
    margin: 0;
    overflow: hidden;
    background: #000;
    font-family: Arial, sans-serif;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

#container {
    position: fixed;
    width: 100%;
    height: 100%;
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    z-index: 1000;
}

#mobile-tip {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

#mobile-tip.show {
    opacity: 1;
}

#controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}

.control-btn {
    background: #ff1493;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    min-width: 100px;
    -webkit-tap-highlight-color: transparent;
}

.control-btn:hover {
    background: #ff69b4;
    transform: scale(1.05);
}

.control-btn.playing {
    background: #ff69b4;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

input[type="range"] {
    width: 100px;
    height: 5px;
    -webkit-appearance: none;
    background: #ff1493;
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
    #controls {
        bottom: 10px;
        padding: 10px;
        gap: 10px;
    }

    .control-btn {
        padding: 8px 16px;
        font-size: 14px;
        min-width: 80px;
    }

    .volume-control {
        font-size: 14px;
    }

    input[type="range"] {
        width: 80px;
    }

    #mobile-tip {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* 横屏提示 */
@media (orientation: landscape) and (max-height: 500px) {
    #controls {
        bottom: 5px;
        padding: 5px 10px;
    }

    .control-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 60px;
    }

    .volume-control {
        font-size: 12px;
    }

    input[type="range"] {
        width: 60px;
    }
} 