@charset "utf-8";

/* all */
html{height: 100%;}
body{ margin: 0; background: #000000; font-family:'Helvetica Neue', 'STHeiti', '微软雅黑', 'Microsoft YaHei', Helvetica,Arial,sans-serif; font-size:14px; line-height: 140%; color: #666;}
ul, ol, li,dt,dd{margin:0; padding:0; list-style:none;}
dl{margin-top:0; margin-bottom:0}
p{margin:0 0 10px;}
img{border: 0; vertical-align:middle}
img.img-responsive{ max-width: 100%; width: 100%;}
input{outline: medium none; outline: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}
input:focus{border-color:#FF9900; -webkit-box-shadow:inset 0 1px 1px rgba(255,136,0,.075),0 0 8px rgba(255,136,0,.6);}

/* container */
*{-webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box}
:after,:before{-webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box}
.container { width: 1400px; position: relative; padding-right: 15px; padding-left: 15px; margin: 0 auto;}
.row{position: relative; margin-right: -15px; margin-left: -15px;}
.container:before,.container:after,.row:before,.row:after,.clearfix:before, .clearfix:after{ display: table; content: " "; clear: both;}
.stui-warp-head{ float: left; width: 20%; min-height: 1px; padding-right: 20px;}
.stui-warp-content{ float: left; width: 80%;}
.stui-warp-content.active{ width: 100%;}

/* text */
h1{ font-size:22px; line-height: 28px;}
h2{ font-size:20px; line-height: 26px;}
h3{ font-size:18px; line-height: 24px;}
h4{ font-size:16px; line-height: 22px;}
h5{ font-size:14px; line-height: 20px;}
h6{ font-size:12px; line-height: 18px;}
h1,h2,h3,h4,h5,h6{ font-weight: 400; margin-top:10px; margin-bottom:10px}
a,button{ text-decoration:none; outline:none; -webkit-tap-highlight-color:rgba(0,0,0,0)}
a,h1, h2, h3, h4, h5, h6{ color: #333333;}
a:focus,a:hover,a:active{ text-decoration:none; color: #ae6600;}
.text-red{ color: red;}
.text-muted{ color: #666;}
.text-center{ text-align: center;}
.split-line{display: inline-block; margin-left: 12px; margin-right: 12px; width: 1px; height: 14px; vertical-align: -2px; background-color: #eee;}
.play{display: none; position: absolute; top: 0; z-index: 1; width: 100%; height: 100%; background: rgba(0,0,0,0.1) url(../images/play.png) center no-repeat;}
.pic-text{ position: absolute; z-index: -1; bottom: 5px; right: 5px; padding: 2px 5px; border-radius: 4px; font-size: 10px; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap; background-repeat: no-repeat; background-color: rgba(0,0,0,.6); color: #fff;}
.stui-player__video{ padding: 10px;}
.stui-player__foot{ padding: 10px;}

/* header */
.stui-header__top{ margin-top: 30px; border-radius: 5px; background-color: #fff; border: 1px solid #eee; box-shadow: 0 1px 2px #eee; overflow: hidden;}
.stui-header__logo{float:left; margin: 10px 0 10px 20px;}
/* ✅ LOGO 背景图：自适应不裁切，且小屏不溢出 */
.stui-header__logo .logo{
    display:block;
    width:282px;
    height:60px;                 /* ✅ 必须保留高度，否则背景可能不显示 */
    max-width:100%;              /* ✅ 小屏自动收缩 */
    background:url(/favicon.png) no-repeat center center;
    background-size:contain;      /* ✅ 关键：完整显示，不裁切 */
}

.stui-header__search{ float: right; position:relative; width:280px; margin: 25px 20px 10px 0;}
.stui-header__search .form-control{display:block; width:100%; height: 35px; padding:6px 45px 6px 10px; font-size:12px; line-height:32px; border-radius: 5px; transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s; background-color:	#f5f5f5; color: #999; border: 0;}
.stui-header__search .submit{display:block; position:absolute; top: 0; right: 0; width:35px; height:35px; border: 0; cursor: pointer; background: url(../images/icon_seacrh.png) center no-repeat;}
.stui-header__menu{ background-color: #f2990d;}
.stui-header__menu li{ position: relative; float:left;}
.stui-header__menu li a{ display:inline-block; padding: 15px 30px; font-size:15px; color: #fff;}
.stui-header__menu li.active a{ background-color: #ae6600; color: #fff;}
.stui-header__nav{ float: right; margin-right: 20px; margin-top: 30px; display: block; width: 30px; height: 50px;}
.stui-header__nav span{ display: block; width: 30px; height: 5px; margin-bottom: 5px; background-color: #f2990d;}
.stui-header__nav span:last-child{ margin-bottom: 0;}
.stui-top-menu{ width: 260px;}
.stui-top-menu.floatTop{ position: fixed; top: 0;}
.stui-top-menu.floatBottom{ position: fixed; bottom: 130px;}

/* pannel */
.stui-pannel{ position: relative; margin-top: 20px; border-radius: 5px; background-color: #fff; border: 1px solid #eee; box-shadow: 0 1px 2px #eee;}
.stui-pannel-bd{ padding: 10px;}
.stui-pannel__head{ padding: 10px 20px; line-height: 25px; border-bottom: 1px solid #eee; background-color: #f2990d;}
.stui-pannel__head .title{ margin: 0;}
.stui-pannel__menu li{ border-bottom: 1px solid #eee;}
.stui-pannel__menu li:last-child{ border-bottom: 0;}
.stui-pannel__menu li a{ display: block; padding: 10px 20px; font-weight: bold; color: #f2990d;}
.stui-pannel__menu li a:hover,.stui-pannel__menu li.active a:hover{ background-color: #f2990d; color: #fff;}
.stui-pannel__menu li.active a{ background-color: #f5f5f5;}
.stui-pannel__menu li a .count{ padding: 2px 8px; border-radius: 4px; background-color: #f2990d; font-size: 12px; color: #fff;}
.stui-pannel__menu li a:hover .count{ background-color: #ae6600;}

/* vodlist */
.stui-vodlist li{ padding: 10px; float: left; width: 20%;}

/* ✅ 缩略图容器：由 background 改成可装 <img> 的“固定比例盒子” */
.stui-vodlist__thumb{
    position: relative;
    display: block;
    padding-top: 70%;
    overflow: hidden;
    border-radius: 5px;
    background: #111 url(../images/load.gif) no-repeat;
    background-position: 50% 50%;
    background-size: 50px auto;
}

/* 兼容你原来的 active 比例 */
.stui-vodlist__thumb.active{
    padding-top: 50%;
    background: #111 url(../images/load_w.gif) no-repeat;
    background-position: 50% 50%;
    background-size: 50px auto;
}

/* ✅ <img> 真图：cover 裁切铺满（和 background-size:cover 一样效果） */
.stui-vodlist__thumb img.vod-thumb-img{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* hover 播放遮罩 */
.stui-vodlist__thumb:hover .play{ display: block;}

.stui-vodlist__detail .title{ font-size: 12px; margin-bottom: 0; width:100%; height: 20px; line-height: 18px; overflow:hidden;}
.stui-vodlist__detail .sub{ margin-bottom: 0; font-size: 12px; color: #999;}

/* page */
.stui-page{ margin-bottom: 20px;}
.stui-page li{display:inline-block;margin-left:10px}
.stui-page li .num,.stui-page li a{display:inline-block;padding:5px 15px;border-radius: 4px; background-color: #fff; border: 1px solid #eee;}
.stui-page li.active a,.stui-page li.disabled a{ background-color: #f2990d; border: 1px solid #f2990d; color: #fff;}

/* embed */
.embed-responsive{position:relative;display:block;overflow:hidden;padding:0;height:0}
.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}
.embed-responsive-16by9{padding-bottom:56.25%}
.embed-responsive-4by3{padding-bottom:75%}

/* more */
.margin-0{ margin: 0 !important;}
.padding-0{ padding: 0 !important;}
.pull-left{ float: left !important;}
.pull-right{ float: right !important;}
.hide,.visible-lg, .visible-md, .visible-sm, .visible-xs, .visible-mi{ display: none !important;}
.stui-foot{ margin: 20px 0; padding: 20px; background-color: #fff; border: 1px solid #eee; border-radius: 5px; text-align: center; color: #999;}

@media (min-width: 1200px){
	.visible-lg { display: block !important;}
	.hidden-lg {display: none !important;}
}

@media (max-width: 1199px) and (min-width: 992px){
	.visible-md { display: block !important;}
	.hidden-md {display: none!important;}
}

@media (max-width: 991px) and (min-width: 768px){
	.visible-sm{ display: block !important;}
	.hidden-sm {display: none !important;}
}

@media (max-width: 1399px){
	.container{ width: 100%; padding-left: 30px; padding-right: 30px;}
}

@media (max-width: 1023px){
	.stui-warp-head{ display: none; float:  none; width: 100%; padding-right: 0;}
	.stui-warp-content{ float: none; width: 100%;}
	.stui-top-menu{ width: 100%;}
}

@media (max-width:767px){
	.visible-xs { display: block !important;}
	.hidden-xs {display: none!important;}
	.container{ padding: 0;}
	.row{ margin: 0;}

	.stui-player__video{ padding: 5px;}
	.stui-player__foot{ padding: 5px;}

    /* header */
    .stui-header__top{ margin-top: 0; border: 0; box-shadow: none; border-radius: 0;}
    .stui-header__logo{ margin: 10px 0 10px 10px; padding: 0;}

    /* ✅ 手机端 LOGO 自适应不裁切 */
    .stui-header__logo .logo{
        width:148px;
        height:35px;
        max-width:100%;
        background:url(/favicon.png) no-repeat center center;
        background-size:contain;
    }

    .stui-header__search{ float: none; width: auto; margin: 0; position: absolute; top: 15px; right: 50px; left: 168px;}
    .stui-header__search .form-control{ height: 30px; line-height: 30px; border-radius: 5px; padding:6px 40px 6px 10px; border: 0;}
    .stui-header__search .submit{ width: 30px; height: 30px;}
    .stui-header__nav{ height: 30px; margin-top: 18px; margin-right: 10px;}
	.stui-header__menu { position:relative; margin: 0; overflow: auto; white-space:nowrap; overflow-y:hidden;overflow-x:scroll; -webkit-overflow-scrolling:touch}
	.stui-header__menu li{ float: none; display: inline-block;}
	.stui-header__menu li a{ padding: 10px 15px; font-size: 14px;}
	.stui-header__menu li:hover .dropdown{ display: none;}

	/* pannel */
	.stui-pannel{ margin-top: 10px; border: 0; border-radius: 0; box-shadow: none;}
	.stui-pannel-bd{ padding: 5px;}
	.stui-pannel__head{ padding: 10px; line-height: 25px;}
	.stui-pannel__head .title{ font-size: 16px;}

	/* vodlist */
	.stui-vodlist li{ padding: 5px; width: 50%;}

	/* page */
	.stui-page{ padding: 0 10px;}
	.stui-page li{float:left; width:20%; margin:0; padding:0 5px 0 5px}
	.stui-page li a,.stui-page li .num{display:block;padding:5px 0;text-align:center}
}

/* episode */
.episode-box{
  max-width:1200px;
  margin:16px auto;
  padding:12px;
  background:rgba(255,255,255,.06);
  border-radius:12px;
}

.episode-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(70px,1fr));
  gap:8px;
}

.episode-item{
  display:block;
  text-align:center;
  padding:8px 0;
  font-size:14px;
  border-radius:8px;
  background:rgba(0,0,0,.35);
  color:#fff;
  cursor:pointer;
  user-select:none;
}

.episode-item:hover{
  background:rgba(0,0,0,.55);
}

.episode-item.hide{
  display:none;
}

.episode-toggle{
  background:rgb(242 153 13);
  font-weight:700;
}

@media (max-width:768px){
  .episode-list{
    grid-template-columns:repeat(auto-fill,minmax(60px,1fr));
  }
  .episode-item{
    font-size:13px;
    padding:7px 0;
  }
}
