:root{--pink:#f2a4a9;--blue:#4b83cf;--navy:#171b29;--paper:#fff;--ink:#555;--line:#e6e6e6;--gutter:#eceded}
*{box-sizing:border-box}
html,body{margin:0;padding:0;max-width:100%;overflow-x:hidden}
body{background:var(--gutter);color:var(--ink);font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;font-size:15px;line-height:1.45}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.site-header,.page-shell,.site-footer{width:1010px;max-width:calc(100% - 24px);margin-left:auto;margin-right:auto}
.site-header{height:94px;background:var(--navy);border-radius:4px 4px 0 0;overflow:hidden}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 0 0 16px;position:relative}
.logo{width:183px;height:88px;display:flex;align-items:center;flex:0 0 auto}
.logo img{width:183px;height:auto;max-height:88px;object-fit:contain}
.search-form{display:flex;width:205px;height:36px;margin-right:0;border-radius:22px;overflow:hidden;background:#fff}
.search-form input{min-width:0;flex:1;border:0;outline:0;padding:0 15px;color:#777;background:#fff;font:inherit}
.search-form button{width:58px;border:0;background:var(--pink);color:#fff;font:inherit;cursor:pointer}
.route-catalog{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.page-shell{background:#fff;min-height:500px;box-shadow:0 0 4px rgba(0,0,0,.05)}
.top-stack{padding-top:10px}
.category-matrix{border:1px solid #ededed;border-radius:4px 4px 0 0;background:#fff;overflow:hidden}
.category-row{min-height:53px;display:grid;grid-template-columns:96px repeat(8,minmax(0,1fr));align-items:center;border-bottom:1px solid var(--line);padding:0 8px;column-gap:5px}
.category-row:last-child{border-bottom:0}
.category-row strong{justify-self:start;padding:7px 9px;border:1px solid #f4c5c8;border-radius:5px;color:#ee9ca2;font-size:16px;font-weight:400;white-space:nowrap}
.category-row a{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;color:#555}
.category-row a:hover{color:#e59097}
.friend-matrix{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;padding:1px;background:#fff}
.friend-matrix a{height:30px;display:flex;align-items:center;justify-content:center;background:#1f7dd7;color:#fff;border-radius:3px;font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.friend-matrix a:nth-child(n+9){grid-column:span 1}
.video-section{padding:14px 18px 18px;border-top:1px solid #f0f0f0;background:#fff}
.section-title,.page-title{margin:0 0 8px;color:#111;font-size:20px;line-height:34px;font-weight:700}
.video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 10px}
.video-card{min-width:0;margin:0}
.poster{display:block;position:relative;width:100%;aspect-ratio:237/150;background:#e5e5e5;border-radius:5px;overflow:hidden}
.poster .cover{width:100%;height:100%;object-fit:cover}
.poster .play-icon{position:absolute;left:50%;top:50%;width:40px;height:40px;transform:translate(-50%,-50%);opacity:.92}
.poster .date{position:absolute;right:5px;bottom:2px;color:#fff;font-size:12px;line-height:20px;text-shadow:0 1px 3px #000}
.video-card h3{margin:4px 0 0;font-size:14px;line-height:20px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#333}
.video-card h3 a{display:block;overflow:hidden;text-overflow:ellipsis}
.bottom-links{padding-top:10px;border-top:1px solid #eee}
.bottom-links .friend-matrix{padding-bottom:1px}
.site-footer{background:var(--navy);color:#ddd;min-height:105px;border-radius:0 0 4px 4px}
.footer-inner{padding:20px 18px;text-align:center}
.footer-inner p{margin:7px 0;font-size:13px}
.inner-page{padding:10px 18px 24px}
.inner-page>.category-matrix{margin:-1px -10px 0}
.inner-page>.friend-matrix{margin:0 -14px 10px}
.inner-page .page-title{margin-top:8px;border-left:4px solid var(--pink);padding-left:10px}
.list-grid{padding-bottom:24px}
.detail-panel{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;padding:18px 0;border-bottom:1px solid var(--line)}
.detail-cover{width:260px;height:350px;object-fit:cover;border-radius:5px;background:#eee}
.detail-copy h1{margin:0 0 18px;color:#222;font-size:24px}
.detail-copy p{margin:10px 0}
.summary{margin-top:16px;color:#666;line-height:1.8}
.route-panel{margin:18px 0;padding:16px;background:#fafafa;border:1px solid #eee;border-radius:5px}
.route-panel h2{margin:0 0 12px;color:#222;font-size:18px}
.route-list{display:flex;flex-wrap:wrap;gap:8px}
.route-list a{padding:7px 14px;border-radius:4px;background:var(--blue);color:#fff}
.player-box{width:100%;aspect-ratio:16/9;min-height:320px;background:#000;overflow:hidden}
.player-box iframe,.player-box video{width:100%!important;height:100%!important;border:0}
.paging{display:flex;justify-content:center;gap:6px;margin:18px 0}
.paging a{min-width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:1px solid #ddd;background:#fff;border-radius:3px}
.paging a.active{background:var(--pink);color:#fff;border-color:var(--pink)}
@media(max-width:720px){
  .site-header,.page-shell,.site-footer{width:100%;max-width:100%}
  .site-header{height:82px;border-radius:0}
  .header-inner{padding-left:14px;gap:16px}
  .logo{width:145px;height:80px}
  .logo img{width:145px;max-height:78px}
  .search-form{width:166px;height:40px;flex:0 0 166px}
  .search-form input{padding:0 12px;font-size:14px}
  .search-form button{width:50px;font-size:14px}
  .top-stack{padding-top:12px}
  .category-matrix{border-left:1px solid #eee;border-right:1px solid #eee;border-radius:0}
  .category-row{min-height:67px;grid-template-columns:92px repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,1fr);padding:4px;column-gap:2px}
  .category-row strong{grid-row:1/3;align-self:center;font-size:15px;padding:8px 7px}
  .category-row a{font-size:15px;line-height:28px}
  .friend-matrix{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:1px}
  .friend-matrix a{height:30px;font-size:15px}
  .video-section{padding:19px 29px 22px}
  .section-title,.page-title{font-size:23px;line-height:40px;margin-bottom:7px}
  .video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 13px}
  .poster{aspect-ratio:207/132}
  .video-card h3{font-size:15px;line-height:23px}
  .bottom-links{padding-top:8px}
  .footer-inner{padding:18px 14px}
  .inner-page{padding:8px 16px 22px}
  .inner-page>.category-matrix{margin:0 -16px}
  .inner-page>.friend-matrix{margin:0 -10px 10px}
  .detail-panel{grid-template-columns:110px minmax(0,1fr);gap:14px}
  .detail-cover{width:110px;height:154px}
  .detail-copy h1{font-size:19px;margin-bottom:8px}
  .detail-copy p{margin:5px 0;font-size:13px}
  .summary{grid-column:1/-1;margin-top:4px}
  .player-box{min-height:0}
}
@media(max-width:380px){
  .header-inner{gap:8px;padding-left:8px}
  .logo{width:137px}.logo img{width:137px}
  .search-form{width:158px;flex-basis:158px}
  .video-section{padding-left:22px;padding-right:22px}
  .category-row{grid-template-columns:88px repeat(4,minmax(0,1fr))}
  .category-row strong,.category-row a{font-size:14px}
}

/* Native fsby source geometry and functional controls; independent clone only. */
:root{--pink:#ff8f8f;--navy:#151c29}
.site-header,.page-shell,.site-footer{width:1024px}
.site-header{height:96.5px}
.category-row strong .category-parent{font:inherit;color:inherit;white-space:nowrap}
.category-row strong .category-parent[aria-disabled="true"]{cursor:default}
.scroll-mian{position:fixed;bottom:66px;right:140px;z-index:103}
.scroll-mian ul{padding:0;margin:0;list-style:none;overflow:hidden}
.scroll-mian ul li{position:relative;float:none;width:40px;height:40px;border-radius:3px;opacity:.8;margin:2px;background:#ff8f8f;border:1px solid #ff9890}
.scroll-mian .scroll-item{display:block;position:relative;width:100%;height:100%}
.scroll-mian .icon_arrow_up{position:absolute;left:7px;top:7px;width:25px;height:25px}
.scroll-mian .icon_arrow_up:before{content:"";position:absolute;left:6px;top:8px;width:13px;height:13px;border-left:3px solid #fff;border-top:3px solid #fff;transform:rotate(45deg)}
.scroll-mian .scroll-item:focus-visible{outline:2px solid #fff;outline-offset:-4px}
@media(min-width:1920px){.site-header,.page-shell,.site-footer{width:1480px}}
@media(max-width:738px){.scroll-mian{right:10px}}
@media(max-width:720px){.site-header,.page-shell,.site-footer{width:100%;max-width:100%}.site-header{height:82px}}

/* Inner listing composition and horizontal pagination copied from source geometry. */
.listing-shell{background:transparent;box-shadow:none;min-height:0}
.listing-main{width:calc(100% - 8px);margin:6px 4px;min-width:0}
.listing-main .nav-row{display:block;width:100%;background:#fff;min-height:29px}
.listing-main .cat_pos{margin:3px 5px;line-height:23px;color:#333;font-size:16px}
.listing-main .cat_pos a{color:#333}
.listing-main .video-box{display:block;margin:10px 4px;padding:10px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06);border-radius:3px;min-width:0}
.listing-main .box-title{position:relative;padding:10px 0;width:100%}
.listing-main .box-title h1{display:inline-block;margin:0;padding-left:10px;color:#000;font-size:19px;line-height:21px;font-weight:700}
.listing-main .video-grid{gap:0;grid-template-columns:repeat(4,minmax(0,1fr))}
.listing-main .list-grid{padding:0}
.listing-main .video-card{padding:5px;margin:5px 0;min-width:0}
.listing-main .poster{height:150px;aspect-ratio:auto}
.listing-main .video-card h3{margin:0;height:25px;line-height:25px;font-size:13px;font-weight:700}
.listing-main .poster .play-icon{opacity:0;transition:opacity .3s}
.listing-main .poster:hover .play-icon,.listing-main .poster:focus-visible .play-icon{opacity:1}
.pagination{display:block;clear:both;text-align:center;line-height:32px;margin:20px 0;white-space:nowrap;font-size:16px}
.pagination a,.pagination strong,.pagination .page-disabled,.pagination .visible-xs{display:inline-block;height:32px;padding:0 12px;margin-right:2px;line-height:32px;vertical-align:top;background:#f1f1f1;color:#777;border:0;border-radius:0;font-weight:400}
.pagination a:hover,.pagination a:focus-visible,.pagination strong{background:#ff5757;color:#fff}
.pagination .page-disabled{color:#b3b3b3;cursor:default}
.pagination .visible-xs{display:none}
@media(max-width:738px){.listing-main .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pagination .hidden-xs{display:none}.pagination .visible-xs{display:inline-block}.pagination a,.pagination strong,.pagination .page-disabled,.pagination .visible-xs{padding:0 9px;font-size:14px}}
@media(max-width:419px){.listing-main .poster{height:100px}.listing-main .cat_pos{font-size:14px}.listing-main .video-box{margin-left:4px;margin-right:4px}.listing-main .box-title h1{font-size:18px}}

/* Source play shell: retain local NextCMS player contracts, never source media. */
.media-shell{background:transparent;box-shadow:none;min-height:0}
.media-main{padding:0;min-height:0}
.player-main .play-body{width:100%;padding:0;margin:0;position:relative}
.player-main .player-html{display:block;position:relative;width:100%;height:900px;min-height:0;aspect-ratio:auto;padding:0;margin:0;background:#000;overflow:hidden}
.player-main .player-html .MacPlayer,.player-main .player-html #MacPlayer,.player-main .player-html #playleft,.player-main .player-html #playbox{width:100%!important;height:100%!important}
.player-main .player-html iframe,.player-main .player-html video{display:block;width:100%!important;height:100%!important;max-width:100%;border:0}
.player-main .clear{height:0;clear:both}
.player-main .play-btn-group{display:flex;overflow:hidden;margin:10px 4px;padding:10px 0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.recommendation-main .box-title h2,.detail-main .box-title h2{display:inline-block;margin:0;padding-left:10px;color:#000;font-size:19px;line-height:21px;font-weight:700}
.detail-main .detail-panel{grid-template-columns:minmax(0,38%) minmax(0,1fr);align-items:start;gap:24px;padding:6px 0 18px;border-bottom:1px solid #eee}
.detail-main .detail-poster{display:block;min-width:0;width:100%;overflow:hidden;border-radius:5px;background:#eee}
.detail-main .detail-cover{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;border-radius:5px}
.detail-main .detail-copy{min-width:0}
.detail-main .detail-copy h1{font-size:23px;line-height:1.5;color:#333;margin:0 0 16px;overflow-wrap:anywhere}
.detail-main .detail-copy p{font-size:15px;line-height:1.7;margin:8px 0;overflow-wrap:anywhere}
.detail-main .native-play-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;margin-top:16px;padding:11px 25px;border:1px solid #ff9890;border-radius:4px;background:#ff8f8f;color:#fff;font-size:17px;font-weight:700;min-height:45px}
.detail-main .native-play-button:hover,.detail-main .native-play-button:focus-visible{background:#ff5757}
.detail-main .summary{margin:16px 0 4px;font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.detail-main .route-list{padding:4px 5px 8px}
.detail-main .route-list a{background:#ff8f8f;color:#fff;border-radius:4px;min-height:35px;padding:7px 16px}
@media(max-width:738px){.player-main .player-html{height:255px}.detail-main .detail-panel{grid-template-columns:minmax(0,36%) minmax(0,1fr);gap:14px}.detail-main .detail-copy h1{font-size:18px;margin-bottom:8px}.detail-main .detail-copy p{font-size:13px;margin:5px 0}.detail-main .native-play-button{font-size:15px;gap:9px;margin-top:10px;padding:9px 16px;min-height:40px}}
@media(max-width:419px){.detail-main .detail-panel{grid-template-columns:minmax(0,36%) minmax(0,1fr);gap:12px}.detail-main .detail-copy h1{font-size:17px}.detail-main .native-play-button{padding:9px 12px}.detail-main .summary{font-size:14px}}

/* Home card and mobile geometry verified from source-home-mobile-layout.json. */
.video-section{width:calc(100% - 16px);margin:10px 8px;padding:10px;border-top:0;border-radius:3px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.video-section .section-title{margin:0;padding:10px 0 10px 10px;color:#000;font-size:19px;line-height:21px;font-weight:700}
.video-section .video-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.video-section .video-card{min-width:0;margin:5px 0;padding:5px}
.video-section .poster{height:150px;aspect-ratio:auto}
.video-section .video-card h3{margin:0;height:25px;line-height:25px;font-size:13px;font-weight:700}
.video-section .poster .play-icon{opacity:0;transition:opacity .3s}
.video-section .poster:hover .play-icon,.video-section .poster:focus-visible .play-icon{opacity:1}
@media(max-width:738px){
 .site-header{height:64.57px}
 .header-inner{padding:0 10px 0 20px;gap:12px}
 .logo{width:100px;height:64.57px;flex:0 0 100px}
 .logo img{width:100px;max-height:44px}
 .search-form{width:213px;flex:0 1 213px;min-width:0;height:35px;margin-right:0}
 .search-form input{font-size:14px;padding:0 10px}
 .search-form button{width:78px;flex:0 0 78px;font-size:14px}
 .video-section .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .video-section{width:calc(100% - 16px);margin:10px 8px;padding:10px}
 .category-row{grid-template-columns:72px repeat(4,minmax(0,1fr));column-gap:2px}
 .category-row strong{font-size:13px;padding:6px 7px}
 .category-row a{font-size:12px}
}
@media(max-width:419px){
 .video-section{width:calc((100% - 8px)*.97)}
 .video-section .poster{height:100px}
 .video-section .video-card h3{font-size:13px;line-height:25px}
}

/* Exact observed detail composition; source image/metadata content never copied. */
.detail-main .detail{display:flex;min-height:270px;margin:10px 4px;padding:10px;background:#fff}
.detail-main .detail_pic{display:block;width:45%;height:250px;margin-right:5px;min-width:0}
.detail-main .detail_pic .img-responsive{display:block;max-width:100%;width:100%;height:250px;object-fit:contain;object-position:left top}
.detail-main .detail_info{display:block;flex:1;width:55%;height:250px;min-width:0}
.detail-main .detail_info .title{margin:0;padding:0;font-size:13.28px;font-weight:500;line-height:19.43px;color:#333;overflow-wrap:anywhere}
.detail-main .play-btn-group{display:flex;overflow:hidden;margin:10px 4px;padding:10px 0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.detail-main .play-btn-group .item.line{display:block;flex:0 0 auto;min-width:110px;min-height:36.857px;line-height:22.857px;margin:5px;padding:7px;border-radius:7px;background:#f00;text-align:center;font-size:16px;font-weight:700;color:#fff}
.detail-main .play-btn-group .item.line a{color:#fff;font-weight:700;font-size:16px;line-height:22.857px}
.detail-main .play-btn-group .item.line:hover{background:#ff8f8f}

/* Final source-measured mobile category rhythm; desktop remains unchanged. */
@media(max-width:767px){
 .top-stack{padding-top:8px}
 .category-row{min-height:52px;grid-template-rows:repeat(2,22px);padding:3px 4px}
 .category-row a{line-height:22px}
}
