/* 播放器页面样式 */
.player-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.player-box {
    display: flex;
    margin: 20px 0;
}

.player-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
}

.player-button {
    padding: 12px 20px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.player-button:hover {
    background-color: #ff5252;
}

.player-result, .video-player {
    margin-top: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: none;
}

.player-result h2, .video-player h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
}

.player-url-container {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    word-break: break-all;
}

.player-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .player-box {
        flex-direction: column;
    }
    
    .player-input {
        border-radius: 4px 4px 0 0;
    }
    
    .player-button {
        border-radius: 0 0 4px 4px;
    }
    
    .player-container iframe {
        height: 250px;
    }
}