* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #333;
}

.page {
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    background: #ffffff;
}

/* 头部标题 */
.header {
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* 视频容器 */
.video-container {
    width: 100%;
    background: #000;
    position: relative;
    max-height: 300px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: contain;
}

/* 全屏状态 */
.video-container.fullscreen,
.video-container:-webkit-full-screen,
.video-container:fullscreen {
    max-height: 100vh;
}

.video-container.fullscreen video,
.video-container:-webkit-full-screen video,
.video-container:fullscreen video {
    height: 100vh;
    object-fit: contain;
}

/* 视频信息 */
.video-info {
    padding: 20px;
    background: #ffffff;
}

.video-name {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.video-description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    white-space: pre-line;
}

/* 横屏适配 */
@media (orientation: landscape) {
    .video-container {
        max-height: 100vh;
    }

    .video-container video {
        height: 100vh;
    }

    .header {
        display: none;
    }

    .video-info {
        display: none;
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .header {
        padding: 14px 16px;
    }

    .video-title {
        font-size: 17px;
    }

    .video-container {
        max-height: 250px;
    }

    .video-container video {
        height: 250px;
    }

    .video-info {
        padding: 16px;
    }

    .video-name {
        font-size: 16px;
    }

    .video-description {
        font-size: 13px;
    }
}

/* 横屏时的响应式 */
@media (max-width: 768px) and (orientation: landscape) {
    .video-container {
        max-height: 100vh;
    }

    .video-container video {
        height: 100vh;
    }
}
