/*
* Online Live Page
* update 2022.01.31
* author lirongyao
*/
html,body {
    text-align: center;
    font-size: 13px;
    font-family: 'Droid Sans', Arial, Verdana, sans-serif;
    padding: 0;
    margin: 0;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover, a:focus {
    color: #ee1a56;
    text-decoration: none;
}

ol,ul {
    list-style: none;
}

.logo ,.head,.player ,.live ,.foot {
    padding: 15px 15px;
    background: #fff;
}

.logo a span {
    display: block;
    background: url(logo.svg) no-repeat;
    width: 260px;
    height: 58px;
}

/*Main*/
body {
    background: #f5f6f7;
    background-image: url(bg.png);
    background-position: top center;
}

.top-nav {
  background: #fbfbfb;
  border-bottom: 1px solid #ececec;
  height: 31px;
  border-top: 3px solid #81bd00;
}

.container {
  margin: 0 auto;
}

.today-date {
  float: left;
  padding: 0 10px;
  font-size: 10px;
  color: #666;
  margin: 10px 10px 0 0;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid #CCC;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-width: 0 1px 0 0;
}

.wrap {
    min-width: 320px;
    position: relative;
    padding-top: 0px;
}

.wrap-center {
    width: 1045px;
    margin: 0 auto;
    position: relative;
    border-bottom: 6px solid #81bd00;
    box-shadow: 0 0 3px #cacaca;
}

/*Nav*/
.live-nav {
    margin: 0 auto;
    background: #2d2d2d;
    box-shadow: inset -1px -5px 0px -1px #393939;
    min-height: 45px;
    border-bottom: 5px solid #81bd00;
}

.live-nav ul {
    list-style: none;
    /* 去掉列表默认圆点 */
    margin: 0;
    padding: 0;
    display: flex;
    /* 横向排列导航项 */
    margin-left: 10px;
    /*往右10个*/
    height: 45px;
}

/* 导航项基础样式 */
.live-nav li {
    padding: 10px 18px;
    /* 内边距，调整点击区域大小 */
    border: 1px solid #383838;
    border-width: 0 0 0 1px;
}

.live-nav li a {
    text-decoration: none;
    /* 去掉链接下划线 */
    color: #ddd;
    /* 未选中时文字颜色 */
    font-size: 16px;
    /* 字体大小 */
}

/* 核心：默认选中（首页）的样式 - 绿色背景 */
.live-nav li.active {
    background-color: #81bd00;
    /* 标准绿色，可替换为你想要的绿色值 */
}

.live-nav li.active a {
    color: #fff;
    /* 选中时文字白色，对比更清晰 */
}

/* 可选：未选中项hover效果，提升交互 */
.live-nav li:not(.active):hover {
    background-color: transparent;
    /* 浅灰色背景，不突兀 */
}

/* 可选：去除点击后的高亮（移动端） */
.live-nav li a {
    -webkit-tap-highlight-color: transparent;
}

/*Head*/
.head_inner {
    text-align: left;
}

/*ScrollList*/
.b-videobottom {
    height: 30px;
    background: #1d1d1d;
}

.b-adicon {
    position: relative;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    padding: 0 5px;
    margin-left: 5px;
    color: #a4a4a4;
}

.b-adicon ul {
    padding: 0;
    margin: 0;
    text-align: left;
    list-style-type: none;
}

.b-adicon li {
    list-style-type: none;
}

.b-adicon li a {
    color: #a4a4a4;
    text-decoration: none;
}

/*Player*/
.player li {
    list-style: none;
    float: left;
    width: 16.6%;
    padding-bottom: 10px;
    padding-right: 10px;
}

.player li a {
    display: block;
    position: relative;
    padding: 5px 10px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
}

.player,.player embed,.player object,.player video,.player iframe,.player frame {
    height: 650px;
}

/*PlayerList*/
.live {
    text-align: left;
}

.live .one,.live .two,.live .three,.live .four {
    margin: 5px 0px;
    display: inline-block;
    width: 100%;
}

.live .live-title {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
}

.live .live-list {
    margin: 0px;
}

.live .live-list li {
    list-style: none;
    float: left;
    width: auto;
    padding-bottom: 8px;
    padding-right: 8px;
    padding-top: 8px;
}

.live .live-list li a {
    display: block;
    position: relative;
    padding: 6px 14px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 2px;
}

.live .live-title span {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #ee1a56;
}

        /* 核心live容器样式 */
        .live {
            width: 100%;
            box-sizing: border-box;
        }

        /* 下拉选择框模块 */
        .live .one {
            margin-bottom: 15px;
        }
        .live .one .input-group {
            width: 100%;
        }
        .live .one .form-control {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #81bd00;
            border-radius: 2px;
            font-size: 14px;
            background: #fff;
            box-sizing: border-box;
            outline: none;
            transition: border-color 0.2s;
        }
        .live .one .form-control:focus {
            border-color: #81bd00;
        }

        /* 输入框+按钮模块 */
        .live .two {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .live .two .input-group {
            width: 100%;
        }
        .live .two .form-control {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #81bd00;
            border-radius: 2px;
            font-size: 14px;
            box-sizing: border-box;
            outline: none;
            transition: border-color 0.2s;
        }
        .live .two .form-control::placeholder {
            color: #999;
        }
        .live .two .form-control:focus {
            border-color: #81bd00;
        }

        /* 播放按钮样式 */
        .live .two .btn-default {
            width: 100%;
            background: #00aff0;
            color: #fff;
            padding: 12px 0;
            font-size: 16px;
            border: none;
            border-radius: 2px;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            display: block;
            transition: background 0.2s;
        }
        .live .two .btn-default:hover {
            background: #0099d0;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .live {
                padding: 0 10px;
                margin: 15px auto;
            }
            .live .one .form-control,
            .live .two .form-control {
                padding: 12px 10px;
            }
        }

/*Footer*/
.foot {
    background: #393939;
}

.foot a {
    color: #c1c1c1;
}

.foot_desc,.foot_inner {
    font-size: 12px;
    line-height: 20px;
    color: #c1c1c1;
}

/*Adaptive*/
@media screen and (max-width: 1045px) {
    .wrap-center {
        max-width:1000px;
        overflow: hidden;
    }

    .player li {
        list-style: none;
        float: left;
        width: 16.6%;
        padding-bottom: 10px;
        padding-right: 10px;
    }

    .player embed,.player object,.player video,.player iframe,.player frame {
        height: 650px;
    }
}

@media screen and (max-width: 950px) {
    .wrap-center {
        max-width:828px;
    }

    .player li {
        list-style: none;
        float: left;
        width: 16.6%;
        padding-bottom: 10px;
        padding-right: 10px;
    }

    .player embed,.player object,.player video,.player iframe,.player frame {
        height: 325px;
    }
}

@media screen and (max-width: 760px) {
    .wrap-center {
        max-width:700px;
    }

    .player li {
        list-style: none;
        float: left;
        width: 20%;
        padding-bottom: 10px;
        padding-right: 10px;
    }

    .player embed,.player object,.player video,.player iframe,.player frame {
        height: 275px;
    }
}

@media screen and (max-width: 590px) {
    .wrap-center {
        max-width:540px;
    }

    .player,.player embed,.player object,.player video,.player iframe,.player frame {
        height: 225px;
    }

    .player li {
        list-style: none;
        float: left;
        width: 25%;
        padding-bottom: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 470px) {
    .wrap-center {
        max-width:380px;
    }

    .player li {
        list-style: none;
        float: left;
        width: 33.3%;
        padding-bottom: 10px;
        padding-right: 10px;
    }

    .player embed,.player object,.player video,.player iframe,.player frame {
        height: 175px;
    }
}

.play {
  /* 基础布局：宽度自适应，最大宽度限制避免拉伸过宽 */
  width: 100%;
  max-width: 1045px; /* PC端最大宽度，可根据需求调整 */
  min-width: 320px;  /* 移动端最小宽度，避免挤压变形 */
  
  /* 高度自适应：按宽高比适配（以16:9为例，适合视频播放） */
  aspect-ratio: 16 / 9; /* 关键属性：保持宽高比，替代固定height */
  
  /* 居中显示：让容器在页面中水平居中 */
  margin: 0 auto;
  
  /* 盒模型优化：padding不影响宽度计算 */
  box-sizing: border-box;
  
  /* 可选：背景/边框，方便调试 */
  background-color: #f5f5f5;
}

/* 媒体查询：针对不同设备的精细化适配 */
/* 平板设备（768px - 1024px） */
@media (max-width: 1024px) {
  .play {
    max-width: 90%; /* 平板端占屏幕90%宽度 */
    padding: 8px;
  }
}

/* 手机设备（768px以下） */
@media (max-width: 768px) {
  .play {
    max-width: 95%; /* 手机端占屏幕95%宽度 */
    min-width: 300px;
    padding: 5px;
    aspect-ratio: 9 / 16; /* 可选：竖屏手机时切换为9:16（竖屏播放） */
  }
}

/* 如果容器内有视频/播放器子元素，需同步自适应 */
.play > video,
.play > iframe,
.play > .player-inner {
  width: 100%;
  height: 100%;
  border: none;
}