@charset "utf-8";

/* ==================
   全局设置 (Global)
   ================== */
/* 给 body 添加顶部内边距，为了防止内容被 fixed 定位的头部遮挡 */
body{ padding-top: 130px;}
/* 当 body 有 active 类时减少内边距，可能用于头部高度缩小的场景 */
body.active{ padding-top: 110px;}

/* ==================
   头部区域 (Header)
   ================== */
/* 顶部导航栏容器：固定定位在顶部，白色背景，带阴影 */
.myui-header__top{position:fixed; top:0; z-index:999; width:100%; background-color: #fff;  box-shadow: 0 2px 5px rgba(0,0,0,.05);}
/* 用于向下滚动时隐藏头部的辅助类 */
.top-fixed-down{margin-top:-61px;}

/* Logo 和 菜单使用左浮动布局 */
.myui-header__logo,.myui-header__menu{float:left;}

/* --- 搜索栏样式 --- */
.myui-header__search{ padding: 0; width: 100%; border-top: 1px solid #eee;}
/* 热门搜索关键词样式 */
.myui-header__search .search-hot{ line-height: 48px;}
.myui-header__search .search-hot a{ display: inline-block; margin-left: 20px; color: #666;}
.myui-header__search .search-hot span{ color: #666;}

/* 搜索栏内部结构 */
.myui-header__search li{ float: left;}
/* 搜索输入框容器 */
.myui-header__search li.search-box{ position: relative; width: 260px; height: 50px;}
/* 输入框样式：去除默认边框和背景 */
.myui-header__search li.search-box .form-control{ height: 50px; padding-left: 30px; border-radius: 0; background: none; border: 0;}
.myui-header__search li.search-box .form-control:focus{ border-color: none; -webkit-box-shadow: none;}
/* 提交按钮：绝对定位在左侧（通常是放大镜图标） */
.myui-header__search li.search-box .submit{ display:block; position:absolute; top: 0; left: 10px; height: 50px; line-height: 50px; text-align:center; background: none; border: 0; color: #999;}
/* 搜索下拉联想框位置修正 */
.myui-header__search li.search-box .dropdown-box{ margin-left: -130px; padding-top: 0;}
.myui-header__search li.search-box .dropdown-box .item{ width: 260px; padding: 20px;}
/* 鼠标悬停时显示热门搜索下拉 */
.myui-header__search li.search-box.search-box:hover .search-dropdown-hot{ display: block;}

/* 搜索分类选择（如下拉选择视频、新闻等） */
.myui-header__search li.search-select{ position: relative; margin-top: 15px; padding: 0 10px 0 15px; border-right: 1px solid #eee; cursor: pointer;}
.myui-header__search li.search-select .dropdown-box{ margin-left: -40px; z-index: 101;}
.myui-header__search li.search-select .dropdown-box .item{ width: 80px; padding: 10px; text-align: center;}
.myui-header__search li.search-select .dropdown-box .item p{ margin: 0; padding: 5px 0;}

/* 搜索右侧图标列表（如观看记录等） */
.myui-header__search li.search-ul{ position: relative; height: 50px; padding: 15px 20px 0; border-right: 1px solid #eee; cursor: pointer;}
.myui-header__search li.search-ul .fa{ font-size: 20px;}
.myui-header__search li.search-ul .dropdown-box{ margin-left: -30px; padding-top: 0;}
.myui-header__search li.search-ul .dropdown-box .item{ width: 500px;} /* 较宽的下拉菜单 */
.myui-header__search li.search-ul .dropdown-box .item li{ padding: 6px;}

/* --- 导航菜单样式 --- */
.myui-header__menu{position:relative;}
.myui-header__menu > li{ position: relative; float: left; margin-left: 35px;}
.myui-header__menu > li > a{ font-size: 15px; line-height: 60px; color: #333;}
/* 选中状态高亮颜色（橙色） */
.myui-header__menu > li.active > a{ color: #ff9900 !important;}

/* --- 用户中心/右侧菜单 --- */
.myui-header__user{float:right;}
.myui-header__user > li{ float:left; position: relative; padding: 18px 0 10px; margin-left: 20px;}
.myui-header__user > li > a,.myui-header__user > li > a .fa{ display: inline-block; font-size: 22px; line-height: 24px; color: #333;}
/* 用户下拉菜单定位 */
.myui-header__user > li .dropdown-box{ right: 0; margin-left: 0; margin-right: -120px; padding-top: 10px;}
.myui-header__user > li .dropdown-box .item{ width: 260px; padding: 20px;}
/* 特定菜单类型的下拉修正 */
.myui-header__user > li.menu .dropdown-box{ right: 0; margin-left: 0; margin-right: -40px; padding-top: 10px;}
.myui-header__user > li.menu .dropdown-box .item{ width: 90px; padding: 10px;}
.myui-header__user > li.menu .dropdown-box .item li{ padding: 5px 0; text-align: center;}

/* --- 头部颜色变种 (深色背景/透明背景模式) --- */
/* 当 header 加上 .color 类时，通常用于半透明悬浮在banner上，文字变白 */
.myui-header__top.color{ background: none; border-bottom: 1px solid rgba(255,255,255,0.1); box-shadow: none;}
.myui-header__top.color .myui-header__menu > li > a,
.myui-header__top.color .myui-header__user > li > a,
.myui-header__top.color .myui-header__user > li > a .fa,
.myui-header__top.color .myui-header__search li.search-box .form-control,
.myui-header__top.color .myui-header__search li.search-ul .fa,
.myui-header__top.color .myui-header__search li.search-select .text{ color: #fff;}
/* 边框颜色调整为半透明白 */
.myui-header__top.color .myui-header__search li.search-ul,
.myui-header__top.color .myui-header__search li.search-select{ border-right: 1px solid rgba(255,255,255,0.1);}
.myui-header__top.color .myui-header__search{ border-top: 1px solid rgba(255,255,255,0.1);}
.myui-header__top.color .myui-header__search .search-hot a{ color: #ddd;}

/* ==================
   内容详情页 (Content Detail)
   ================== */
/* 使用 table-cell 布局实现左图右文结构 */
.myui-content__detail,.myui-content__thumb{display:table-cell;vertical-align:top}
/* 详情文字区域 */
.myui-content__detail{ width:100%; padding-left: 20px;}
.myui-content__detail .title{ margin:10px 0 10px; font-size: 24px; line-height:30px}
/* 标题旁的评分 */
.myui-content__detail .title .score{ display: inline-block; margin-left: 10px; font-family: Georgia,"Times New Roman",Times,serif;}
/* 数据行样式（如：年份、地区） */
.myui-content__detail .data{ margin-bottom:10px; line-height: 20px; word-wrap: break-word; white-space: normal; word-break: break-all;}

/* 评分区域 */
.myui-content__detail .score{ margin-bottom: 20px;}
.myui-content__detail .score .rating{ display: inline-block; position: relative; top: 5px;}
.myui-content__detail .score .rating li{ cursor:pointer; display: inline-block; margin-right: 5px;}
.myui-content__detail .score .rating li .fa{ font-size: 24px;} /* 星星图标大小 */
.myui-content__detail .score .branch{ display: inline-block; font-family: Georgia,"Times New Roman",Times,serif; font-size: 24px; line-height: 24px;}

/* 简介描述区域 */
.myui-content__detail .desc{ padding-left: 45px; word-wrap: break-word; white-space: normal; word-break: break-all;}
/* 使用负 margin 实现首行缩进或图标对齐 */
.myui-content__detail .desc .left{ margin-left:-45px}

/* 操作按钮区域（播放、分享等） */
.myui-content__detail .operate{ padding-left: 42px; margin-top:20px}
.myui-content__detail .operate .btn{ margin-right: 10px;}
.myui-content__detail .operate .btn:last-child{ margin-right: 0;}
.myui-content__detail .operate .share{ margin-top:5px}
/* 分割线 */
.myui-content__detail .topline{ position: relative; margin: 0; padding: 10px 0;}

/* ==================
   播放器区域 (Player)
   ================== */
.myui-player{ margin-top: 20px; padding-bottom: 15px;}
.myui-player__item{ position: relative;}
/* 固定悬浮播放器（当页面滚动时，播放器固定在右下角） */
.myui-player__item .fixed{ position: fixed; z-index: 998; right: 0; bottom: 0; padding: 10px; background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.1);}
/* 侧边展开/收起按钮 */
.myui-player__item .is-btn{ position: absolute; z-index: 99; top: 50%; right: -12px; margin-top: -30px; display: block; width: 12px; text-align: center; height: 60px; line-height: 60px; font-size: 10px; border-radius: 0 4px 4px 0; background-color: #404040; color: #999;}
/* 关闭悬浮播放器的按钮 */
.myui-player__item .player-fixed-off{display: none; position: absolute; top: -10px; left: -10px; width: 20px; height: 20px; text-align: center; line-height: 20px; background-color: #fff; border-radius: 50%; color: #333; box-shadow: 0 2px 5px rgba(0,0,0,.1);}
/* 跑马灯提示/公告 */
.myui-player__item .tips{ position: relative; height: 40px; line-height: 40px; overflow: hidden; padding: 0 20px; color: #fff;}

/* 播放器下方操作栏 - 使用 Flexbox 布局 */
.myui-player__operate{ padding: 20px 10px; display: -webkit-box; display: -webkit-flex; display: flex;}
.myui-player__operate li{ display: block; text-align: center; -webkit-box-flex: 1; -webkit-flex: 1; flex: 1;}

.myui-player__detail .title{margin:0 0 10px}
.myui-player__detail .detail-content{padding-top:10px}
.myui-player__detail .desc{padding-left:42px}
.myui-player__detail .desc .left{margin-left:-42px}

/* 播放列表侧边栏滚动条样式自定义 */
#player-sidebar::-webkit-scrollbar{ width: 4px; background-color: #1c1b1e;}
#player-sidebar::-webkit-scrollbar-thumb{background-color: #434145;}

/* 播放器内通知/广告覆盖层 */
.myui-player__notice{ position: absolute; top: 50%; left: 0; width: 100%; margin-top: -65px;}
.myui-player__notice h3,.myui-player__notice h5,.myui-player__notice p{ color: #fff;}

/* 选集链接/线路切换 */
.myui-player-links{ position: relative; top: 15px; right: 10px;}
.myui-player-links .btn{ position: absolute; top: 0; right: -5px; border-radius: 0 5px 5px 0;}

/* ==================
   新闻列表 (News)
   ================== */
.myui-newslist li{ padding: 30px 0;}
.myui-newslist li .title{ margin: 0; font-size: 22px; line-height: 30px; font-weight: 600;}
.myui-newslist li .desc{ text-indent: 2em; margin: 0; padding: 20px 0; line-height: 25px;}
/* 纯文本新闻列表的微调 */
.myui-newslist__text li .title{ margin: 0; font-size: 15px;}
/* 文章导航 */
.myui-art__nav li{ padding: 6px 0;}
.myui-art__nav li.active a{ font-weight: bold; color: #ff9900;}

/* ==================
   页脚 (Footer)
   ================== */
.myui-foot{ padding: 20px 0;}
.myui-foot p{ line-height: 25px;}

/* ==================
   响应式设计 (Media Queries)
   ================== */

/* --- 中等屏幕 (笔记本/平板 1400px以下) --- */
@media (max-width:1400px){
    /* 容器内边距调整 */
    .myui-header__top .container{ padding: 0 20px;}
    /* 搜索框宽度缩小 */
    .myui-header__search li.search-box{ width: 180px;}
    .myui-header__menu > li{ margin-left: 20px;}
    .myui-header__user > li{ margin-left: 20px;}
    /* 触摸屏优化：禁用悬停显示下拉菜单（防止点击跳转前菜单闪烁） */
    .myui-header__menu > li:hover .head-dropdown,.myui-header__user > li:hover .head-dropdown{ display: none;} 
}

/* --- 移动端 (手机 767px以下) --- */
@media (max-width:767px){

    /* 移除面板和列表的阴影，提升渲染性能 */
    .myui-panel-bg,.myui-vodlist__bg,.myui-vodlist__bg:hover{box-shadow: none;}
    /* 减小标题字号 */
    .myui-panel__head .title, .myui-panel__head .title a{ font-size: 18px;}

    /* --- 移动端头部 --- */ 
    .myui-header__top .container{ padding: 0 10px;}
    .myui-header__search{ width: 100%; margin: 0;}
    /* 搜索框绝对定位，重新布局 */
    .myui-header__search li.search-box{ position: absolute; width: 100%; left: 120px; top: 0;}
    /* 修正下拉菜单位置 */
    .myui-header__search li.search-box .dropdown-box{ margin-left: -180px; padding-top: 0;}
    .myui-header__search li.search-box .dropdown-box .item{ width: 240px;}
    .myui-header__search li.search-ul .dropdown-box .item{ width: 300px;}
    .myui-header__menu > li .dropdown-box{ margin-left: -150px; padding-top: 0;}
    .myui-header__menu > li .dropdown-box .item{ width: 300px;}
    
    /* 用户菜单调整 */
    .myui-header__user > li{ margin-left: 15px; padding: 15px 0 10px;}
    .myui-header__user > li > a .fa{ font-size: 20px; line-height: 20px;}
    .myui-header__user > li.menu .dropdown-box{ margin-right: 0;}
    
    /* --- 移动端内容详情 --- */
    .myui-content__item{ padding: 20px 15px;}
    .myui-content__detail{padding:0 0 0 10px}
    /* 标题、数据、评分 字体缩小 */
    .myui-content__detail .title{ margin: 5px 0 8px; font-size:18px; line-height:18px}
    .myui-content__detail .data{margin:0 0 10px; font-size:12px; line-height: 18px; word-wrap: break-word; white-space: normal;}
    .myui-content__detail .operate{margin:0;padding:0}
    .myui-content__detail .topline{ padding: 5px 0;}
    /* 隐藏演员大头像/缩略图（display: none） */
    .myui-content__thumb.actor{ display: none;}
    
    /* 评分样式紧凑化 */
    .myui-content__detail .score { margin-bottom: 5px;}
    .myui-content__detail .score  .branch{ font-size: 16px;}
    .myui-content__detail .score  .rating{ top: 0;}
    .myui-content__detail .score  .rating li{ margin: 0;}
    .myui-content__detail .score  .rating li .fa{ font-size: 18px;}
    
    /* --- 移动端播放器 --- */
    .myui-player{ margin-top: 0;}
    .myui-player__item{ padding: 0;}
    .myui-player__detail{ margin: 0;}
    .myui-player__detail .data .title{font-size:16px}
    .myui-player__detail.detail .title{font-size:18px;}
    /* 操作栏图标堆叠展示 (块级显示) */
    .myui-player__operate li{ margin: 0;}
    .myui-player__operate li .fa{ display: block; margin-bottom: 5px; font-size: 16px;}
    /* 线路切换按钮调整 */
    .myui-player-links{ top: 0; right: 0; padding: 0 10px;}
    .myui-player-links .btn{ height: 35px; right: 8px;}

    /* --- 移动端新闻 --- */
    .myui-newslist li .title{ font-size: 18px; line-height: 30px;}
    .myui-art__nav li{ display: inline-block; margin-right: 10px;}
    .myui-art__nav li.active a{ font-weight: bold; color: #ff9900;}
}