/* SeaCMS V13.2 + Shoutu44 compatibility layer */
html,body{min-height:100%;}
body{overflow-x:hidden;background:#f8f8f8;}
img{max-width:100%;}
.sea-head-container{position:relative;display:flex;align-items:center;}
.header .logo{flex:0 0 130px;}
.header .main-nav{flex:1 1 auto;min-width:0;max-width:690px;overflow:hidden;margin-left:10px;}
.header .main-nav .nav-list{white-space:nowrap;}
.header .main-nav .nav-item{width:auto;float:none;display:inline-block;}
.header .search-container{margin-left:auto;flex:0 0 300px;}
.header .search-wrapper{width:100%;}
.header .active>a{color:#ff6428;}
.main{padding-top:90px;}
.main_index{padding-top:90px;}
.sea-today{float:right;color:#999;font-size:13px;line-height:30px;}
.new-up .title .more,.sea-section-title .more{float:right;color:#999;line-height:30px;}
.new-up .item .item-con{box-sizing:border-box;}
.new-up-list .item img{width:100%;object-fit:cover;}
.new-up .subject a{font-weight:400;}
.sea-links-section{margin-bottom:15px;}
.sea-section-title{border-bottom:1px solid #eee;margin-bottom:12px;padding-bottom:10px;}
.sea-section-title h2{font-size:22px;font-weight:400;margin:0;}
.sea-links{display:flex;gap:14px;flex-wrap:wrap;line-height:28px;}
.sea-links a{color:#777;}

/* filters */
.sea-screen-section{margin-bottom:15px;}
.sea-screen-card{position:relative;}
.sea-screen-card .hd-title{display:flex;align-items:center;justify-content:space-between;}
.sea-screen-card .hd-title .theme{font-size:22px;margin:0 0 10px;}
.sea-filter-label{float:left;width:56px;line-height:38px;color:#999;font-size:14px;}
.sea-screen-card .hd-nav .sub-nav{margin-left:56px;overflow:hidden;}
.sea-screen-card .hd-nav .nav{padding-bottom:6px;}
.sea-screen-card .hd-nav .nav>li>a{padding:7px 10px;margin:0 3px;}
.sea-sort-nav{border-top:1px solid #f2f2f2;padding-top:8px;margin-top:3px;}
.sea-reset{color:#999;font-size:13px;}

/* pagination */
.sea-pagination{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;padding:22px 8px 8px;}
.sea-pagination a,.sea-pagination span{display:inline-block;min-width:38px;padding:8px 12px;text-align:center;background:#fff;border:1px solid #e7e7e7;border-radius:4px;color:#666;}
.sea-pagination a:hover{border-color:#ff6428;color:#ff6428;}
.sea-pagination span{background:#ff6428;border-color:#ff6428;color:#fff;}

/* detail */
.sea-detail-top .card-wrap{padding:18px 20px;}
.crumbs-nav{color:#999;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.crumbs-nav i{margin:0 6px;}
.article-subject-m{font-size:28px;line-height:38px;margin:0 0 14px;color:#333;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sea-detail-top .info-wrap{padding-top:2px;overflow:hidden;}
.sea-detail-top .info-wrap p{height:28px;line-height:28px;}
.sea-detail-top .info-wrap p label{color:#999;margin-right:3px;}
.sea-detail-top .sea-detail-desc{height:auto!important;min-height:28px;white-space:normal!important;line-height:1.8!important;max-height:74px;overflow:hidden;}
.sea-detail-top .sea-detail-desc .sea-auto-intro{display:inline;margin:0;padding:0!important;line-height:inherit;color:#666;}
.sea-score{color:#ff6428;font-size:18px;font-weight:600;}
.sea-detail-actions{padding-top:10px;}
.sea-play-btn{display:inline-block;padding:10px 26px;border-radius:5px;background:#ff8a00;color:#fff!important;box-shadow:0 6px 16px rgba(255,138,0,.18);}
.sea-play-btn:hover{background:#ff6428;color:#fff!important;}
.sea-detail-columns{display:flex;gap:20px;align-items:flex-start;}
.sea-detail-columns>.left-content{width:calc(100% - 320px);float:none;min-width:0;}
.sea-detail-columns>.right-side{width:300px;float:none;flex:0 0 300px;}
.movie-summary .card-wrap,.you-like .card-wrap{margin-bottom:15px;}
.summary-con h2{font-size:22px;font-weight:400;border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:12px;}
.sea-intro-panel .sea-auto-intro{margin:0;padding:0;line-height:2;color:#555;text-indent:2em;}

/* hot text sidebar */
.sea-hot-card{padding:15px 18px;}
.sea-hot-card .title{margin:0 0 8px;}
.sea-hot-card .title .theme{font-size:20px;}
.sea-hot-list{margin:0;padding:0;}
.sea-hot-list li{height:38px;line-height:38px;border-bottom:1px dashed #eee;overflow:hidden;}
.sea-hot-list li:last-child{border-bottom:0;}
.sea-hot-list li a{display:flex;align-items:center;min-width:0;}
.sea-rank{flex:0 0 24px;width:24px;height:20px;line-height:20px;text-align:center;border-radius:3px;background:#eee;color:#777;font-size:12px;margin-right:8px;}
.sea-hot-list li:nth-child(1) .sea-rank{background:#ff4a4a;color:#fff;}
.sea-hot-list li:nth-child(2) .sea-rank{background:#ff7b00;color:#fff;}
.sea-hot-list li:nth-child(3) .sea-rank{background:#ffb000;color:#fff;}
.sea-hot-name{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sea-hot-note{flex:0 0 88px;text-align:right;color:#999;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-left:7px;}

/* player */
.sea-play-breadcrumb{margin-bottom:10px!important;}
.sea-player-section{margin-bottom:15px;}
.sea-play-layout{display:flex;gap:15px;align-items:stretch;}
.sea-player-main{flex:1 1 auto;min-width:0;background:#111;}
.sea-player-section .sea-hot-aside{flex:0 0 300px;width:300px;}
.play_area{position:relative;width:100%;height:0;padding-bottom:56.25%;background:#000;overflow:hidden;}
.play_area>*{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;}
.play_area iframe,.play_area video,.play_area embed,.play_area object{width:100%!important;height:100%!important;border:0;}
.sea-player-meta{background:#1d1d1d;color:#ddd;padding:12px 15px;}
.sea-player-meta h1{font-size:20px;line-height:28px;margin:0 0 6px;color:#fff;}
.sea-player-meta h1 small{font-size:14px;color:#ff6428;}
.sea-player-meta p{display:flex;gap:12px;flex-wrap:wrap;color:#aaa;font-size:13px;}
.sea-player-meta a{color:#ffb36b;}
.resource-box .bd{max-height:360px;overflow-y:auto;}
.resource-box .bd .rb-item{display:none;}
.resource-box .bd .rb-item:first-child{display:block;}
.resource-box .bd .episodes-list li{min-width:11.1%;}
.resource-box .bd .episodes-list .playon a,.resource-box .bd .episodes-list li.playon a{border-color:#f90;background:#f90;color:#fff;}
.sea-content-stack>.fed-part-layout,.sea-content-stack>.sea-comment-panel,.sea-detail-columns .fed-part-layout,.sea-detail-columns .sea-comment-panel{background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);}

/* custom SEO/comment modules */
.fed-back-whits{background:#fff;}
.sea-seo-qa,.sea-smart-links,.sea-comment-panel{border-radius:0;box-shadow:0 1px 2px rgba(0,0,0,.05);margin-top:0!important;margin-bottom:15px!important;}
.sea-seo-qa .fed-list-head,.sea-smart-links .fed-list-head{padding:18px 20px 8px;}
.sea-seo-qa .fed-list-head h2,.sea-smart-links .fed-list-head h2{font-size:22px;font-weight:400;margin:0;}
.sea-seo-qa-body{padding:0 20px 20px!important;}
.sea-smart-links-body{padding:0 20px 20px!important;}
.sea-comment-panel .sea-comment-head{padding:20px 20px 8px!important;}
.sea-comment-panel .sea-comment-body{padding:8px 20px 22px!important;}

/* downloads */
.sea-download-section{margin-bottom:15px;}
.sea-download-line{padding:12px;background:#f7f7f7;border-radius:4px;color:#666;word-break:break-all;max-height:140px;overflow:auto;font-size:12px;}

/* simple pages */
.sea-simple-page{min-height:280px;}
.sea-simple-page h1{font-size:24px;margin:0 0 18px;}
.sea-map-list{display:flex;gap:10px;flex-wrap:wrap;}
.sea-map-list a{display:inline-block;padding:8px 15px;border:1px solid #eee;border-radius:4px;}

/* ads should not disturb layout */
.sea-ad-wrap{margin:0 auto 15px;max-width:1200px;overflow:hidden;}

@media (max-width:1199px){
  .container{width:96%;}
  .header .main-nav{max-width:560px;}
  .header .search-container{flex-basis:240px;}
  .new-up .item{width:15.66%;}
  .new-up .new-up-list .item:nth-child(7){margin-right:1%;}
  .new-up .new-up-list .item:nth-child(6n){margin-right:0;}
  .sea-detail-columns>.left-content{width:calc(100% - 285px);}
  .sea-detail-columns>.right-side,.sea-player-section .sea-hot-aside{width:265px;flex-basis:265px;}
}

@media (max-width:991px){
  .header .search-container{flex-basis:220px;}
  .header .main-nav{max-width:500px;}
  .new-up .item{width:18.8%;margin-right:1.5%;}
  .new-up .new-up-list .item:nth-child(5n){margin-right:0;}
  .sea-detail-columns{display:block;}
  .sea-detail-columns>.left-content{width:100%;}
  .sea-play-layout{display:block;}
}

@media (max-width:768px){
  .main,.main_index{padding-top:100px;}
  .header{height:85px;}
  .sea-head-container{display:block;width:100%;}
  .header .logo{position:absolute;left:8px;top:3px;width:108px;height:47px;margin:0;}
  .header .main-nav{position:absolute;left:0;bottom:0;width:100%;max-width:none;height:35px;margin:0;overflow:hidden;}
  .header .main-nav .nav-list{display:flex;}
  .header .main-nav .nav-item{flex:0 0 auto;}
  .header .main-nav .nav-item>a{line-height:35px;margin-top:0;padding:0 12px;}
  .header .search-container{position:absolute;left:125px;right:10px;top:0;width:auto;height:50px;margin:0;}
  .header .search-wrapper{position:relative;right:auto;top:auto;width:100%;margin-top:10px;}
  .container{width:100%;padding-left:8px;padding-right:8px;}
  .card-wrap{padding:10px;}
  .new-up .title .theme{font-size:20px;}
  .sea-today{font-size:12px;}
  .new-up .item{width:32.33%!important;margin-right:1.5%!important;}
  .new-up .new-up-list .item:nth-child(3n){margin-right:0!important;}
  .new-up .item .item-con{padding:3px;}
  .new-up .subject a{font-size:13px;}
  .item-con .tags{font-size:12px;}
  .sea-screen-card .hd-title .theme{font-size:20px;}
  .sea-filter-label{width:48px;font-size:13px;}
  .sea-screen-card .hd-nav .sub-nav{margin-left:48px;}
  .sea-pagination{gap:5px;padding-top:15px;}
  .sea-pagination a,.sea-pagination span{padding:7px 10px;min-width:34px;}
  .article-subject-m{font-size:21px;line-height:30px;margin-bottom:10px;}
  .thumb-wrap{width:125px;height:175px;margin-right:12px;margin-bottom:4px;}
  .thumb-wrap img{padding:3px;object-fit:cover;}
  .sea-detail-top .info-wrap p{height:24px;line-height:24px;font-size:13px;}
  .sea-detail-top .info-wrap p:nth-of-type(n+6):not(.sea-detail-desc){display:none;}
  .sea-detail-top .sea-detail-desc{display:none;}
  .sea-detail-actions{padding-top:5px;}
  .sea-play-btn{padding:8px 18px;font-size:13px;}
  .sea-player-section .container{padding:0;}
  .sea-player-meta{padding:10px 12px;}
  .sea-player-meta h1{font-size:17px;}
  .resource-box .bd .episodes-list li{min-width:25%;width:25%;padding-right:5px;}
  .resource-box .bd{max-height:300px;}
  .sea-seo-qa-body{grid-template-columns:1fr!important;padding:0 12px 14px!important;}
  .sea-smart-links-body{padding:0 12px 14px!important;}
  .sea-comment-panel .sea-comment-head{padding:15px 12px 6px!important;}
  .sea-comment-panel .sea-comment-body{padding:6px 12px 16px!important;}
  .sea-seo-qa .fed-list-head,.sea-smart-links .fed-list-head{padding:15px 12px 8px;}
  .summary-con h2,.sea-seo-qa .fed-list-head h2,.sea-smart-links .fed-list-head h2{font-size:19px;}
}

@media (max-width:480px){
  .new-up .item{width:32.33%!important;}
  .main .new-up .new-up-list .item .thumb{height:auto!important;padding-top:150%!important;}
  .resource-box .bd .episodes-list li{min-width:25%;width:25%;}
  .sea-pagination a:nth-of-type(n+3):nth-of-type(-n+8){display:none;}
}
.sea-form-page,.sea-auth-page{max-width:760px;margin:0 auto 20px;min-height:260px;}
.sea-form-page h1,.sea-auth-page h1{font-size:24px;font-weight:400;margin:0 0 20px;padding-bottom:12px;border-bottom:1px solid #eee;}
.sea-form-page input,.sea-form-page textarea,.sea-auth-page input{background:#fff;border:1px solid #ddd;border-radius:4px;padding:8px 10px;max-width:100%;}
.sea-form-page button,.sea-form-page input[type=submit],.sea-auth-page button,.sea-auth-page input[type=submit]{background:#ff6428;color:#fff;border:0;border-radius:4px;padding:8px 22px;}
.sea-auth-form li{margin:12px 0;}
.sea-auth-help{margin-top:18px;}
.sea-map-vods,.sea-news-list{margin:0;padding:0;}
.sea-map-vods li,.sea-news-list li{display:flex;gap:15px;justify-content:space-between;border-bottom:1px dashed #eee;padding:11px 2px;}
.sea-map-vods li span,.sea-news-list li span{color:#999;font-size:12px;white-space:nowrap;}
.sea-article h1,.sea-topic-head h1{font-size:28px;font-weight:500;line-height:1.5;margin:0 0 12px;}
.sea-article-meta{color:#999;border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:20px;}
.sea-article-body{font-size:16px;line-height:2;word-break:break-word;}
.sea-article-body img{height:auto!important;max-width:100%!important;}
.sea-topic-list li{padding:15px 0;border-bottom:1px dashed #eee;}
.sea-topic-list li>a{font-size:17px;}
.sea-topic-list li p{color:#999;line-height:1.8;margin-top:5px;}
.sea-topic-head{margin-bottom:15px;}
.sea-download-items{display:flex;flex-direction:column;gap:7px;}
.sea-download-item{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#f7f7f7;border-radius:4px;}
.sea-download-item span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sea-download-item a{flex:0 0 auto;color:#ff6428;}
@media(max-width:768px){.sea-form-page,.sea-auth-page{margin:0 8px 15px}.sea-article h1,.sea-topic-head h1{font-size:22px}.sea-article-body{font-size:15px}.sea-map-vods li span,.sea-news-list li span{display:none}}

/* ===== Shoutu44 / SeaCMS layout refinement v2 ===== */
*,*:before,*:after{box-sizing:border-box;}

/* official SeaCMS logo */
.header .logo{flex:0 0 155px;height:70px;display:flex;align-items:center;overflow:hidden;}
.header .logo a{display:flex;align-items:center;height:100%;width:100%;}
.header .logo img{display:block;width:132px!important;max-width:132px!important;height:auto!important;max-height:44px;object-fit:contain;}

/* Filter page: remove Swiper/float interference and use a real wrapping layout */
.sea-screen-card{padding:20px 24px!important;overflow:visible;}
.sea-filter-title{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:42px;padding:0 0 12px!important;margin:0 0 5px!important;border-bottom:1px solid #f2f2f2;}
.sea-filter-title .theme{float:none!important;position:static!important;display:block!important;margin:0!important;padding:0!important;font-size:25px!important;line-height:36px!important;font-weight:600!important;text-align:left!important;}
.sea-filter-title .sea-reset{flex:0 0 auto;padding:5px 10px;border:1px solid #eee;border-radius:15px;line-height:20px;}
.sea-filter-row{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;column-gap:10px;padding:5px 0;min-height:42px;}
.sea-filter-row+.sea-filter-row{border-top:1px dashed #f3f3f3;}
.sea-filter-row .sea-filter-label{float:none!important;width:auto!important;height:auto!important;line-height:32px!important;margin:0!important;padding:0!important;color:#999;white-space:nowrap;}
.sea-filter-options{min-width:0;margin:0!important;overflow:visible!important;}
.sea-filter-options>ul{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px 8px!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;white-space:normal!important;font-size:14px!important;transform:none!important;}
.sea-filter-options>ul>li{float:none!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;white-space:nowrap;}
.sea-filter-options>ul>li>a{display:block!important;margin:0!important;padding:6px 11px!important;border:1px solid transparent!important;border-radius:16px!important;line-height:20px!important;color:#666!important;background:transparent!important;}
.sea-filter-options>ul>li>a:hover{color:#ff6428!important;background:#fff7f3!important;}
.sea-filter-options>ul>li.active>a,.sea-filter-options>ul>li>a.active{border-color:#70c2ff!important;color:#2692ff!important;background:#f7fcff!important;}
.sea-sort-nav{margin-top:6px!important;padding-top:8px!important;border-top:1px solid #eee!important;}

/* Detail modules: one grid, consistent outer edges and spacing */
.sea-detail-columns{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;gap:20px!important;align-items:start!important;}
.sea-detail-columns>.left-content,.sea-detail-columns>.right-side{float:none!important;width:auto!important;min-width:0!important;margin:0!important;}
.sea-detail-columns>.left-content{display:flex;flex-direction:column;gap:15px;}
.sea-detail-columns>.left-content>section,.sea-detail-columns>.left-content>.fed-part-layout,.sea-detail-columns>.left-content>.sea-comment-panel{width:100%!important;margin:0!important;}
.sea-detail-columns .movie-summary .card-wrap,.sea-detail-columns .you-like .card-wrap,.sea-detail-columns .sea-hot-card{width:100%;margin:0!important;}
.sea-detail-columns .summary-con.detail .box{max-height:none!important;min-height:150px;}

/* Related: 7 columns on desktop; 15th reserved for mobile 3x5 full rows */
.you-like .new-up-list{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px 12px!important;margin:0!important;width:100%!important;}
.you-like .new-up-list>.item{float:none!important;width:auto!important;margin:0!important;padding:0!important;display:block;min-width:0;}
.you-like .new-up-list>.item:nth-child(15){display:none;}
.you-like .new-up-list .item-con{padding:0!important;overflow:hidden;}
.you-like .new-up-list .thumb{display:block;position:relative;width:100%;height:auto!important;padding-top:150%!important;overflow:hidden;border-radius:4px;}
.you-like .new-up-list .thumb img{position:absolute!important;inset:0!important;left:0!important;top:0!important;transform:none!important;width:100%!important;height:100%!important;object-fit:cover!important;}
.you-like .subject{margin-top:7px;}

/* Player: player and playlist share the same left column; hot list is independent */
.sea-player-section{margin-bottom:15px!important;}
.sea-play-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;gap:15px!important;align-items:start!important;}
.sea-player-main{width:100%;min-width:0;background:transparent!important;}
.sea-player-main .play-container{width:100%;margin:0!important;background:#111;overflow:hidden;}
.sea-player-main .play_area{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:16/9;padding:0!important;background:#000!important;overflow:hidden!important;}
.sea-player-main .play_area>*{position:absolute!important;inset:0!important;left:0!important;top:0!important;width:100%!important;height:100%!important;margin:0!important;}
.sea-player-main .play_area iframe,.sea-player-main .play_area video,.sea-player-main .play_area embed,.sea-player-main .play_area object,.sea-player-main .play_area .MacPlayer{width:100%!important;height:100%!important;max-width:none!important;border:0!important;}
.sea-player-main .sea-player-meta{width:100%;min-height:74px;}
.sea-inline-resource{width:100%;margin:15px 0 0!important;padding:12px!important;}
.sea-inline-resource .resource-box{width:100%;}
.sea-inline-resource .resource-box .bd{max-height:330px;overflow-y:auto;}
.sea-player-section .sea-hot-aside{float:none!important;width:300px!important;min-width:0!important;margin:0!important;}
.sea-player-section .sea-hot-card{width:100%;margin:0!important;}

@media (max-width:1199px) and (min-width:992px){
  .sea-detail-columns{grid-template-columns:minmax(0,1fr) 265px;}
  .sea-play-layout{grid-template-columns:minmax(0,1fr) 265px;}
  .sea-player-section .sea-hot-aside{width:265px!important;}
  .you-like .new-up-list{grid-template-columns:repeat(6,minmax(0,1fr));}
  .you-like .new-up-list>.item:nth-child(13),.you-like .new-up-list>.item:nth-child(14),.you-like .new-up-list>.item:nth-child(15){display:none;}
}

@media (max-width:991px){
  .sea-detail-columns,.sea-play-layout{display:block!important;}
  .sea-detail-columns>.left-content{display:flex;gap:12px;}
  .sea-player-main{width:100%;}
  .sea-inline-resource{margin-top:10px!important;}
  .you-like .new-up-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 10px!important;}
  .you-like .new-up-list>.item:nth-child(n){display:block;}
}

@media (max-width:768px){
  .header .logo{left:8px!important;top:0!important;width:112px!important;height:50px!important;display:flex!important;align-items:center!important;}
  .header .logo img{width:108px!important;max-width:108px!important;max-height:34px!important;}
  .header .search-container{left:128px!important;}

  .sea-screen-section .container{padding-left:8px!important;padding-right:8px!important;}
  .sea-screen-card{padding:14px 12px!important;overflow:hidden;}
  .sea-filter-title{min-height:34px;padding-bottom:8px!important;margin-bottom:4px!important;}
  .sea-filter-title .theme{font-size:20px!important;line-height:28px!important;}
  .sea-filter-title .sea-reset{font-size:12px;padding:3px 8px;}
  .sea-filter-row{grid-template-columns:42px minmax(0,1fr);column-gap:5px;padding:5px 0;min-height:36px;}
  .sea-filter-row .sea-filter-label{font-size:13px!important;line-height:28px!important;}
  .sea-filter-options>ul{gap:3px 3px!important;font-size:13px!important;}
  .sea-filter-options>ul>li>a{padding:4px 7px!important;line-height:19px!important;font-size:13px!important;}

  .sea-detail-columns>.left-content{gap:10px;}
  .sea-detail-columns .summary-con.detail .box{min-height:0;max-height:none!important;}

  .you-like .new-up-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 8px!important;}
  .you-like .new-up-list>.item:nth-child(n){display:block!important;}
  .you-like .new-up-list .item-con{padding:0!important;}
  .you-like .subject,.you-like .tags{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .you-like .subject a{font-size:13px!important;}
  .you-like .tags{font-size:12px!important;}

  .sea-player-section .container{padding:0 8px!important;}
  .sea-player-main .play_area{aspect-ratio:16/9;}
  .sea-inline-resource{padding:10px!important;}
  .sea-inline-resource .resource-box .bd{max-height:300px;}
}

@media (max-width:380px){
  .header .logo{width:102px!important;}
  .header .logo img{width:98px!important;}
  .header .search-container{left:112px!important;}
  .sea-filter-row{grid-template-columns:38px minmax(0,1fr);}
  .sea-filter-options>ul>li>a{padding-left:6px!important;padding-right:6px!important;}
  .you-like .new-up-list{gap:10px 6px!important;}
}


/* ===== Shoutu44 / SeaCMS layout refinement v3 ===== */
/* Channel + cascade filters use the same isolated layout. */
.main_movie .sea-screen-section .sea-screen-card{
  padding:20px 26px!important;
  overflow:visible!important;
}
.main_movie .sea-screen-card .sea-filter-title{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  min-height:46px!important;
  margin:0 0 8px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid #eee!important;
}
.main_movie .sea-screen-card .sea-filter-title .theme{
  float:none!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  font-size:26px!important;
  line-height:34px!important;
  font-weight:600!important;
  text-align:left!important;
  transform:none!important;
}
.main_movie .sea-filter-row{
  display:grid!important;
  grid-template-columns:60px minmax(0,1fr)!important;
  align-items:start!important;
  width:100%!important;
  min-height:40px!important;
  margin:0!important;
  padding:4px 0!important;
  column-gap:8px!important;
  overflow:visible!important;
}
.main_movie .sea-filter-row .sea-filter-label{
  display:block!important;
  float:none!important;
  position:static!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  line-height:31px!important;
  color:#999!important;
  white-space:nowrap!important;
}
.main_movie .sea-filter-row .sea-filter-options{
  display:block!important;
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
.main_movie .sea-filter-row .sea-filter-options>ul{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  height:auto!important;
  min-height:31px!important;
  margin:0!important;
  padding:0!important;
  gap:3px 7px!important;
  list-style:none!important;
  white-space:normal!important;
  transform:none!important;
}
.main_movie .sea-filter-row .sea-filter-options>ul>li{
  display:block!important;
  float:none!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  transform:none!important;
}
.main_movie .sea-filter-row .sea-filter-options>ul>li>a{
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:5px 10px!important;
  border:1px solid transparent!important;
  border-radius:16px!important;
  line-height:20px!important;
  font-size:14px!important;
  color:#666!important;
  white-space:nowrap!important;
}
.main_movie .sea-filter-row .sea-filter-options>ul>li.active>a,
.main_movie .sea-filter-row .sea-filter-options>ul>li>a.active{
  color:#2692ff!important;
  border-color:#70c2ff!important;
  background:#f7fcff!important;
}
.main_movie .sea-filter-row.sea-sort-nav{
  margin-top:7px!important;
  padding-top:10px!important;
  border-top:1px solid #eee!important;
}

/* Content detail page: use unique classes so Shoutu44's old float columns cannot interfere. */
.main_movie_details .sea-content-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:20px!important;
  align-items:start!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.main_movie_details .sea-content-main{
  display:flex!important;
  flex-direction:column!important;
  gap:15px!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  position:static!important;
}
.main_movie_details .sea-content-main>section,
.main_movie_details .sea-content-main>.fed-part-layout,
.main_movie_details .sea-content-main>.sea-comment-panel{
  display:block;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
}
.main_movie_details .sea-content-main .card-wrap{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.main_movie_details .sea-content-main .movie-summary,
.main_movie_details .sea-content-main .sea-seo-qa,
.main_movie_details .sea-content-main .sea-smart-links,
.main_movie_details .sea-content-main .sea-comment-panel,
.main_movie_details .sea-content-main .you-like{
  clear:both!important;
}
.main_movie_details .sea-content-aside{
  display:block;
  width:300px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  position:static!important;
  align-self:start!important;
}
.main_movie_details .sea-content-aside .sea-hot-card{
  width:100%!important;
  margin:0!important;
}

@media (max-width:1199px) and (min-width:992px){
  .main_movie_details .sea-content-layout{grid-template-columns:minmax(0,1fr) 265px!important;gap:15px!important;}
  .main_movie_details .sea-content-aside{width:265px!important;}
}

@media (max-width:991px){
  .main_movie_details .sea-content-layout{display:block!important;width:100%!important;}
  .main_movie_details .sea-content-main{display:flex!important;width:100%!important;gap:12px!important;}
  .main_movie_details .sea-content-aside{display:none!important;}
}

@media (max-width:768px){
  .main_movie .sea-screen-section .sea-screen-card{padding:12px 10px!important;overflow:visible!important;}
  .main_movie .sea-screen-card .sea-filter-title{min-height:38px!important;padding-bottom:8px!important;margin-bottom:5px!important;}
  .main_movie .sea-screen-card .sea-filter-title .theme{font-size:20px!important;line-height:28px!important;}
  .main_movie .sea-screen-card .sea-filter-title .sea-reset{font-size:12px!important;padding:3px 8px!important;}
  .main_movie .sea-filter-row{grid-template-columns:42px minmax(0,1fr)!important;column-gap:3px!important;min-height:34px!important;padding:3px 0!important;}
  .main_movie .sea-filter-row .sea-filter-label{font-size:13px!important;line-height:27px!important;}
  .main_movie .sea-filter-row .sea-filter-options>ul{gap:2px 2px!important;min-height:27px!important;}
  .main_movie .sea-filter-row .sea-filter-options>ul>li>a{font-size:13px!important;line-height:18px!important;padding:4px 6px!important;}
  .main_movie_details .sea-content-main{gap:10px!important;}
}

@media (max-width:380px){
  .main_movie .sea-filter-row{grid-template-columns:38px minmax(0,1fr)!important;}
  .main_movie .sea-filter-row .sea-filter-options>ul>li>a{padding-left:5px!important;padding-right:5px!important;}
}

/* ===== Shoutu44 / SeaCMS interference-safe layout v4 =====
 * SeaCMS template interference injects empty tt/var/map/bdo/dfn/font/ins/
 * small/sup/time elements around div/section containers. They must not become
 * flex/grid items in the filter and content-column structures.
 */

/* ---------- FILTER / CHANNEL / CASCADE ---------- */
.main_movie .sea-screen-card>.sea-filter-title{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:"filterTitle filterReset"!important;
  align-items:center!important;
  column-gap:16px!important;
  width:100%!important;
}
.main_movie .sea-screen-card>.sea-filter-title>.theme{
  grid-area:filterTitle!important;
  justify-self:start!important;
  align-self:center!important;
  text-align:left!important;
}
.main_movie .sea-screen-card>.sea-filter-title>.sea-reset{
  grid-area:filterReset!important;
  justify-self:end!important;
  align-self:center!important;
}

/* Hide ONLY direct injected noise around the filter structure. */
.main_movie .sea-screen-card>tt,
.main_movie .sea-screen-card>var,
.main_movie .sea-screen-card>map,
.main_movie .sea-screen-card>bdo,
.main_movie .sea-screen-card>dfn,
.main_movie .sea-screen-card>font,
.main_movie .sea-screen-card>ins,
.main_movie .sea-screen-card>small,
.main_movie .sea-screen-card>sup,
.main_movie .sea-screen-card>time,
.main_movie .sea-filter-title>tt,
.main_movie .sea-filter-title>var,
.main_movie .sea-filter-title>map,
.main_movie .sea-filter-title>bdo,
.main_movie .sea-filter-title>dfn,
.main_movie .sea-filter-title>font,
.main_movie .sea-filter-title>ins,
.main_movie .sea-filter-title>small,
.main_movie .sea-filter-title>sup,
.main_movie .sea-filter-title>time,
.main_movie .sea-filter-row>tt,
.main_movie .sea-filter-row>var,
.main_movie .sea-filter-row>map,
.main_movie .sea-filter-row>bdo,
.main_movie .sea-filter-row>dfn,
.main_movie .sea-filter-row>font,
.main_movie .sea-filter-row>ins,
.main_movie .sea-filter-row>small,
.main_movie .sea-filter-row>sup,
.main_movie .sea-filter-row>time,
.main_movie .sea-filter-options>tt,
.main_movie .sea-filter-options>var,
.main_movie .sea-filter-options>map,
.main_movie .sea-filter-options>bdo,
.main_movie .sea-filter-options>dfn,
.main_movie .sea-filter-options>font,
.main_movie .sea-filter-options>ins,
.main_movie .sea-filter-options>small,
.main_movie .sea-filter-options>sup,
.main_movie .sea-filter-options>time{
  display:none!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  visibility:hidden!important;
  float:none!important;
  position:static!important;
}

/* Pin the two real row children to fixed grid cells. This remains correct even
 * if the interference level/seed later changes the number of inserted tags. */
.main_movie .sea-filter-row{
  display:grid!important;
  grid-template-columns:60px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  align-items:start!important;
  column-gap:8px!important;
}
.main_movie .sea-filter-row>.sea-filter-label{
  grid-column:1!important;
  grid-row:1!important;
  align-self:start!important;
  width:auto!important;
  float:none!important;
}
.main_movie .sea-filter-row>.sea-filter-options{
  grid-column:2!important;
  grid-row:1!important;
  align-self:start!important;
  width:100%!important;
  min-width:0!important;
  float:none!important;
}
.main_movie .sea-filter-row>.sea-filter-options>ul{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  align-content:flex-start!important;
  width:100%!important;
  height:auto!important;
  min-height:31px!important;
  margin:0!important;
  padding:0!important;
}

/* ---------- CONTENT DETAIL COLUMNS ---------- */
/* Noise is only removed when it is a DIRECT child of the two-column wrapper,
 * so ads/content using legitimate <ins> tags inside modules are unaffected. */
.main_movie_details .sea-content-layout>tt,
.main_movie_details .sea-content-layout>var,
.main_movie_details .sea-content-layout>map,
.main_movie_details .sea-content-layout>bdo,
.main_movie_details .sea-content-layout>dfn,
.main_movie_details .sea-content-layout>font,
.main_movie_details .sea-content-layout>ins,
.main_movie_details .sea-content-layout>small,
.main_movie_details .sea-content-layout>sup,
.main_movie_details .sea-content-layout>time{
  display:none!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  visibility:hidden!important;
  float:none!important;
  position:static!important;
}
.main_movie_details .sea-content-layout{
  clear:both!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  grid-template-areas:"contentMain contentAside"!important;
  grid-auto-flow:row!important;
  align-items:start!important;
  gap:20px!important;
  width:100%!important;
  margin-top:15px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.main_movie_details .sea-content-main{
  grid-area:contentMain!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  position:static!important;
}
/* Direct injected empty inline nodes in the main stack can create anonymous
 * line boxes. Hide tag types that the template does not use for real content;
 * classed/id'd <ins> is left alone for ad compatibility. */
.main_movie_details .sea-content-main>tt,
.main_movie_details .sea-content-main>var,
.main_movie_details .sea-content-main>map,
.main_movie_details .sea-content-main>bdo,
.main_movie_details .sea-content-main>dfn,
.main_movie_details .sea-content-main>font,
.main_movie_details .sea-content-main>small,
.main_movie_details .sea-content-main>sup,
.main_movie_details .sea-content-main>time,
.main_movie_details .sea-content-main>ins:not([class]):not([id]):empty{
  display:none!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  visibility:hidden!important;
}
.main_movie_details .sea-content-main>section,
.main_movie_details .sea-content-main>.fed-part-layout,
.main_movie_details .sea-content-main>.sea-comment-panel{
  display:block!important;
  clear:both!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 0 15px!important;
  box-sizing:border-box!important;
  float:none!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
}
.main_movie_details .sea-content-main>.you-like{margin-bottom:0!important;}
.main_movie_details .sea-content-main .card-wrap{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
.main_movie_details .sea-content-aside{
  grid-area:contentAside!important;
  display:block!important;
  align-self:start!important;
  justify-self:stretch!important;
  width:300px!important;
  max-width:300px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  position:static!important;
}
.main_movie_details .sea-content-aside .sea-hot-card{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}

@media (max-width:1199px) and (min-width:992px){
  .main_movie_details .sea-content-layout{
    grid-template-columns:minmax(0,1fr) 265px!important;
    grid-template-areas:"contentMain contentAside"!important;
    gap:15px!important;
  }
  .main_movie_details .sea-content-aside{
    width:265px!important;
    max-width:265px!important;
  }
}

@media (max-width:991px){
  .main_movie_details .sea-content-layout{
    display:block!important;
    width:100%!important;
    margin-top:10px!important;
  }
  .main_movie_details .sea-content-main{
    display:block!important;
    width:100%!important;
  }
  .main_movie_details .sea-content-main>section,
  .main_movie_details .sea-content-main>.fed-part-layout,
  .main_movie_details .sea-content-main>.sea-comment-panel{
    margin-bottom:12px!important;
  }
  .main_movie_details .sea-content-aside{display:none!important;}
}

@media (max-width:768px){
  .main_movie .sea-screen-card>.sea-filter-title{
    grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:8px!important;
  }
  .main_movie .sea-filter-row{
    grid-template-columns:42px minmax(0,1fr)!important;
    column-gap:3px!important;
  }
}

@media (max-width:380px){
  .main_movie .sea-filter-row{
    grid-template-columns:38px minmax(0,1fr)!important;
  }
}

/* v5.1: stable poster lazy-load placeholder; prevents broken-image flash on pseudo-static inner URLs */
img.lazyload{
  background-color:#e9e9e9;
  background-image:url(../images/load.png);
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
}
