.watch-container {
    padding-top: 90px;
    padding-bottom: 40px;
}

.watch-main {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 视频区域 */
.video-section {
    flex: 1;
    min-width: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4d4f;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    background: #1a1a1a;
}

.video-placeholder.hidden {
    display: none;
}

.placeholder-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.video-info {
    padding: 15px 0;
}

.live-title {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.live-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.action-buttons button {
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-like {
    background: #ff4d4f;
    color: #fff;
}

.btn-like:hover {
    background: #ff7875;
}

.btn-like.liked {
    transform: scale(1.1);
}

.btn-share {
    background: #f0f0f0;
    color: #333;
}

.btn-share:hover {
    background: #e0e0e0;
}

/* 聊天区域 */
.chat-section {
    width: 320px;
    background: #f9f9f9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.chat-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.chat-header h3 {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.chat-msg {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.chat-msg.system {
    color: #999;
    text-align: center;
    font-size: 12px;
}

.chat-msg.user {
    color: #FFCE4B;
}

.chat-msg .nickname {
    color: #666;
    margin-right: 5px;
}

.chat-msg.user .nickname {
    color: #FFCE4B;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chat-input input:focus {
    border-color: #FFCE4B;
}

.chat-input button {
    padding: 10px 20px;
    background: #FFCE4B;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.chat-input button:hover {
    background: #e6b943;
}

/* 响应式 */
@media (max-width: 900px) {
    .watch-main {
        flex-direction: column;
    }

    .chat-section {
        width: 100%;
        height: 400px;
    }
}


/* 房间ID输入 */
.room-input {
    display: none;
    text-align: center;
    padding: 50px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-top: 100px;
}

.room-input h3 {
    color: #333;
    margin-bottom: 20px;
}

.room-input input {
    padding: 12px 20px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin-right: 10px;
}

.room-input button {
    padding: 12px 30px;
    background: #FFCE4B;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.room-input button:hover {
    background: #e6b943;
}