@charset "utf-8";
/* ==========================================================================
   YUTU_HSCK_PC  —  仿「黄色仓库 / MacCMS stui 默认模板」风格（PC 端）
   主色 #f2990d  深色 #ae6600  背景 #f8f8f8  文字 #666
   ========================================================================== */
*{ -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
:after,:before{ -webkit-box-sizing:border-box; box-sizing:border-box; }
html{ height:100%; }
body{ margin:0; background:#f8f8f8; font-family:'Helvetica Neue','STHeiti','微软雅黑','Microsoft YaHei',Helvetica,Arial,sans-serif; font-size:14px; line-height:150%; color:#666; }
ul,ol,li,dl,dt,dd{ margin:0; padding:0; list-style:none; }
p{ margin:0 0 10px; }
img{ border:0; vertical-align:middle; }
a,button{ text-decoration:none; outline:none; -webkit-tap-highlight-color:rgba(0,0,0,0); }
a{ color:#333; }
a:hover{ color:#ae6600; }
h1,h2,h3,h4,h5,h6{ font-weight:400; margin:10px 0; color:#333; }
.text-center{ text-align:center; }
.text-muted{ color:#999; }
.pull-right{ float:right!important; }
.pull-left{ float:left!important; }
.container:before,.container:after,.row:before,.row:after,.clearfix:before,.clearfix:after{ display:table; content:" "; clear:both; }

.container{ width:1400px; max-width:100%; margin:0 auto; padding:0 15px; position:relative; }
@media (max-width:1399px){ .container{ width:100%; } }

/* ---------- 头部 ---------- */
.stui-header__top{ margin-top:10px; background:#fff; border:1px solid #eee; border-radius:5px; box-shadow:0 1px 2px #eee; overflow:hidden; display:flex; align-items:center; justify-content:flex-start; padding:12px 20px; }
.stui-header__logo .logo{ display:block; }
.stui-header__logo img{ height:60px; max-width:340px; object-fit:contain; display:block; }
.stui-header__search{ position:relative; width:340px; margin-left:auto; }
.stui-header__search .form-control{ display:block; width:100%; height:42px; padding:6px 50px 6px 16px; font-size:13px; line-height:30px; border:1px solid #eee; border-radius:22px 0 0 22px; background:#f5f5f5; color:#666; outline:none; }
.stui-header__search .form-control:focus{ border-color:#f2990d; background:#fff; }
.stui-header__search .submit{ position:absolute; top:0; right:0; width:50px; height:42px; border:0; cursor:pointer; border-radius:0 22px 22px 0; background:#f2990d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center no-repeat; background-size:18px; }
.stui-header__search .submit:hover{ background-color:#ae6600; }

/* 头部文字广告位（logo 右侧）：网格由后台配置的「行数 × 列数」决定（PHP 内联输出），
   格子之间无缝隙，底色鲜艳 + 白字；高度自动撑满头部内容高度（与 logo 等高），
   宽度始终铺满 logo 与搜索框之间的整段空间（4 列就均分成 4 格，不留空白） */
.stui-header__textad{ display:grid; grid-auto-flow:row; gap:0; flex:1 1 auto; align-self:stretch;
                      min-width:0; margin:0 20px; overflow:hidden; border-radius:4px; }
.stui-header__textad:empty{ display:none; }
.stui-header__textad a{ display:flex; align-items:center; justify-content:center; padding:0 8px; border-radius:0;
                       color:#fff!important; font-family:inherit; font-size:14px; line-height:150%; font-weight:700; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stui-header__textad a:hover{ color:#fff!important; opacity:.88; }

/* 导航：桌面端用 grid + 等宽列，换行时上下两行的列严格对齐；每行最多排满后自动换行 */
.stui-header__menu{ background:#f2990d; border-radius:5px; margin-top:8px; overflow:hidden; padding:0 6px;
	display:grid; grid-template-columns:repeat(auto-fill, minmax(88px, 1fr)); }
.stui-header__menu[hidden]{ display:none!important; }
.stui-header__menu li{ float:none; }
.stui-header__menu li a{ display:block; padding:15px 8px; font-family:inherit; font-size:14px; line-height:150%; font-weight:700; color:#fff; text-align:center; white-space:nowrap; }
.stui-header__menu li a:hover,.stui-header__menu li.active a{ background:#ae6600; color:#fff; }
/* 导航最后一行的空位填充广告（列表广告文字 + 随机亮色底）：字号比分类小，格子仍铺满 */
.stui-header__menu li.nav-ad{ display:flex; }
.stui-header__menu li.nav-ad a{ flex:1 1 auto; display:flex; align-items:center; justify-content:center;
	padding:0 8px; color:#fff!important; font-family:inherit; font-size:14px; line-height:150%; font-weight:700; letter-spacing:0; }
.stui-header__menu li.nav-ad a:hover{ color:#fff!important; opacity:.88; }
/* ul 上的 clearfix 伪元素在 grid/flex 容器里会变成占位格子，导致整体偏移一列，这里禁用 */
.stui-header__menu:before,.stui-header__menu:after{ display:none; content:none; }

/* 顶部跑马灯：内容由后台配置，前台以纯文本滚动展示 */
.stui-header__ticker{ display:flex; align-items:center; gap:10px; height:38px; margin-top:8px; padding:0 12px; overflow:hidden;
	border:1px solid #eee; border-radius:4px; background:#fff; color:#d84b28; }
.stui-header__ticker-label{ flex:0 0 auto; padding:2px 7px; border-radius:3px; background:#fff3df; color:#f2990d; font-size:12px; line-height:18px; font-weight:700; }
.stui-header__ticker-viewport{ position:relative; align-self:stretch; flex:1 1 auto; min-width:0; overflow:hidden; }
.stui-header__ticker-track{ display:block; width:max-content; animation:stui-header-ticker-scroll var(--stui-ticker-duration, 16s) linear infinite; will-change:margin-left,transform; }
.stui-header__ticker-track span{ display:block; white-space:nowrap; line-height:36px; }
.stui-header__ticker:hover .stui-header__ticker-track{ animation-play-state:paused; }
@keyframes stui-header-ticker-scroll{
	from{ margin-left:100%; transform:translateX(0); }
	to{ margin-left:0; transform:translateX(-100%); }
}
@media (prefers-reduced-motion:reduce){
	.stui-header__ticker{ height:auto; min-height:38px; align-items:flex-start; padding-top:8px; padding-bottom:8px; }
	.stui-header__ticker-viewport{ overflow:visible; }
	.stui-header__ticker-track{ display:block; width:auto; animation:none; transform:none; }
	.stui-header__ticker-track span{ display:inline; padding:0; white-space:normal; line-height:1.5; }
}

/* 汉堡按钮：桌面和移动端均可切换分类目录 */
.stui-header__nav{ display:flex; flex:0 0 42px; width:42px; height:42px; margin-left:12px; padding:10px 8px; flex-direction:column; justify-content:center; border:0; border-radius:6px; background:transparent; cursor:pointer; }
.stui-header__nav[hidden]{ display:none!important; }
.stui-header__nav:hover,.stui-header__nav:focus-visible{ background:#fff3df; outline:2px solid #f2990d; outline-offset:2px; }
.stui-header__nav span{ display:block; width:24px; height:3px; margin-bottom:5px; background:#f2990d; border-radius:2px; }
.stui-header__nav span:last-child{ margin-bottom:0; }

/* ---------- 布局 ---------- */
.stui-warp-head{ display:block; float:left; width:20%; padding-right:20px; }
.stui-warp-content{ float:left; width:80%; }
.stui-warp-head.is-collapsed{ display:none; }
.stui-warp-content.is-wide{ width:100%; }
@media (max-width:1023px){
	.stui-warp-head{ display:none; }
	.stui-warp-head.is-open{ display:block; float:none; width:100%; padding:0; }
	.stui-warp-content{ width:100%; }
	.stui-warp-head.is-collapsed{ display:none; }
	.stui-warp-content.is-wide{ width:100%; }
}

/* ---------- 面板 ---------- */
.stui-pannel{ position:relative; margin-top:8px; border-radius:5px; background:#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; display:flex; align-items:center; justify-content:space-between; }
.stui-pannel__head .title{ margin:0; font-size:18px; color:#333; }
.stui-pannel__head .title:before{ content:""; display:inline-block; width:4px; height:18px; background:#f2990d; border-radius:2px; margin-right:8px; vertical-align:-3px; }
.stui-pannel__head .more{ font-size:12px; color:#999; }
.stui-pannel__head .more:hover{ color:#f2990d; }
.stui-pannel__head .more:after{ content:" ›"; }

/* 目录（左侧分类） */
.stui-pannel__menu li{ border-bottom:1px solid #eee; }
.stui-pannel__menu li:last-child{ border-bottom:0; }
.stui-pannel__menu li a{ display:flex; justify-content:space-between; align-items:center; padding:10px 20px; color:#f2990d; font-weight:700; transition:background-color .16s ease,color .16s ease; }
.stui-pannel__menu li a:hover,.stui-pannel__menu li.active a{ background:#fff3df; color:#f2990d; }
.stui-pannel__menu li a .count{ padding:2px 8px; border-radius:4px; background:#f2990d; color:#fff; font-size:12px; line-height:18px; font-weight:600; font-variant-numeric:tabular-nums; }
.stui-pannel__menu li a:hover .count,.stui-pannel__menu li.active a .count{ background:#f2990d; }

/* ---------- 视频列表 ---------- */
.stui-vodlist li{ padding:10px; float:left; width:20%; }
.stui-vodlist__box{ width:100%; }
.stui-vodlist__thumb{ position:relative; display:block; padding-top:70%; border-radius:5px; overflow:hidden; background:#eee; }
.stui-vodlist__thumb img{ position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.stui-vodlist__thumb:hover img{ transform:scale(1.06); }
.stui-vodlist__thumb .play{ position:absolute; left:0; top:0; z-index:1; width:100%; height:100%; opacity:0; transition:opacity .25s ease; background:rgba(0,0,0,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='%23000000' fill-opacity='0.45'/%3E%3Cpath d='M40 32l28 18-28 18z' fill='%23ffffff'/%3E%3C/svg%3E") center no-repeat; background-size:60px; }
.stui-vodlist__thumb:hover .play{ opacity:1; }
/* 列表广告（li.list-ad）：卡片框与视频卡完全同尺寸（沿用 70% 固定比例）；
   广告图拉伸填满整个缩略图（整图都在、无留白，代价是图片比例会被拉伸） */
.stui-vodlist li.list-ad .stui-vodlist__thumb img{ object-fit:fill; }
.stui-vodlist li.list-ad .stui-vodlist__thumb:hover img{ transform:none; }
.pic-text{ position:absolute; z-index:2; bottom:5px; right:5px; padding:2px 6px; border-radius:4px; font-size:10px; background:rgba(0,0,0,.6); color:#fff; }
.stui-vodlist__detail .title{ font-size:14px; margin:8px 0 0; height:42px; line-height:21px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.stui-vodlist__detail .title a{ color:#333; }
.stui-vodlist__detail .title a:hover{ color:#f2990d; }
/* SVG 小图标全局兜底：不依赖父级选择器与 flex，任何浏览器/任何容器下都不会被撑大 */
.ytc-ico{ display:inline-block; width:12px; height:12px; max-width:12px; max-height:12px; min-width:0; flex:0 0 auto; fill:currentColor; vertical-align:-1px; overflow:hidden; }
.stui-vodlist__detail .sub{ margin:4px 0 0; font-size:12px; line-height:16px; color:#999; white-space:nowrap; display:table; width:100%; table-layout:fixed; }
/* 卡片副信息：日期 / 喜欢 / 观看 三等分平分整行（table 布局，不依赖 flex，老安卓内核同样生效）
   结构：<span class="views">占位</span><span class="time">日期</span><span class="number">心</span><span class="eye">眼</span> */
.stui-vodlist__detail .sub > span{ display:table-cell; vertical-align:middle; overflow:hidden; }
.stui-vodlist__detail .sub .views{ display:none; }
.stui-vodlist__detail .sub .time{ text-align:left; }
.stui-vodlist__detail .sub .number{ text-align:center; }
.stui-vodlist__detail .sub .eye{ text-align:right; }
.stui-vodlist__detail .sub .ytc-ico{ width:12px; height:12px; max-width:12px; max-height:12px; flex:0 0 auto; fill:currentColor; vertical-align:-1px; margin-right:2px; }

/* ---------- 分页 ---------- */
.stui-page{ margin:15px 10px 20px; }
.stui-page ul{ text-align:center; }
.stui-page li{ display:inline-block; margin:0 4px; }
.stui-page li a,.stui-page li .num{ display:inline-block; padding:7px 16px; border-radius:4px; background:#fff; border:1px solid #eee; color:#666; }
.stui-page li a:hover{ background:#f2990d; border-color:#f2990d; color:#fff; }
.stui-page li.active .num{ background:#f2990d; border-color:#f2990d; color:#fff; }

/* ---------- 播放页 ---------- */
.stui-player{ position:relative; background:#000; border-radius:5px 5px 0 0; overflow:hidden; padding-top:56.25%; }
.stui-player iframe,.stui-player video,.stui-player embed{ position:absolute; left:0; top:0; width:100%; height:100%; border:0; }
.stui-player__title{ padding:14px 20px 0; }
.stui-player__title h1{ font-size:20px; margin:0 0 8px; }
.stui-player__meta{ padding:0 20px 14px; color:#999; font-size:13px; }
.stui-player__meta a{ color:#f2990d; }
.video-page--play .stui-player{ width:min(100%,1080px,var(--video-player-width,1080px)); max-width:100%; margin:0 auto; padding-top:0; aspect-ratio:16/9; }
.video-page--play .stui-player__title,.video-page--play .stui-player__meta{ text-align:left; }
.video-page--detail .video-detail__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 24px; margin:0 10px 6px; padding:0 10px 12px; border-bottom:1px solid #eee; color:#999; font-size:13px; }
.video-page--detail .video-detail__meta a{ color:#f2990d; }
.video-page--detail .video-detail__meta .text-red{ color:#d9534f; }

/* ---------- 详情页 ---------- */
.stui-detail{ display:flex; gap:20px; padding:20px; }
.stui-detail__pic{ width:280px; flex:0 0 280px; }
.stui-detail__pic img{ width:100%; border-radius:5px; display:block; }
.stui-detail__info h1{ font-size:22px; margin:0 0 12px; }
.stui-detail__info .meta{ color:#999; font-size:13px; line-height:200%; }
.stui-detail__info .meta a{ color:#f2990d; }
.stui-btn{ display:inline-block; margin:16px 10px 0 0; padding:10px 26px; border-radius:4px; background:#f2990d; color:#fff!important; }
.stui-btn:hover{ background:#ae6600; }
.stui-btn.ghost{ background:#fff; border:1px solid #f2990d; color:#f2990d!important; }
.stui-btn.ghost:hover{ background:#fff7ec; }

/* ---------- 广告 ---------- */
.stui-ad{ max-width:990px; margin:0 auto; text-align:center; }
.stui-ad img{ max-width:100%; }

/* ---------- 页脚 ---------- */
.stui-foot{ margin:20px 0; padding:20px; background:#fff; border:1px solid #eee; border-radius:5px; text-align:center; color:#999; }
.stui-foot a{ color:#999; margin:0 6px; }
.stui-foot a:hover{ color:#f2990d; }
.stui-foot__links{ margin-bottom:10px; }

/* ---------- 横幅广告占位 ---------- */
.stui-ad--content{ max-width:990px; margin:8px auto 0; text-align:center; }

/* 播放页广告位（pa-thumb） */
.pa-thumb{ display:block; border-radius:5px; overflow:hidden; background:#eee; }
.pa-thumb img{ display:block; width:100%; height:auto; }

@media (max-width:1399px){
	.stui-header__search{ width:300px; }
	.stui-header__menu li a{ padding:14px 22px; }
}


/* ==========================================================================
   响应式：PC / 手机 同一套（源站 stui 默认模板即为响应式）
   ========================================================================== */
@media (max-width:1023px){
	.stui-warp-head{ display:none; }
	.stui-warp-content{ width:100%; }
}
@media (max-width:767px){
	body{ -webkit-text-size-adjust:100%; }
	.container{ width:100%; padding:0; }
	.stui-header__top{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; column-gap:10px;
		margin-top:0; border:0; border-radius:0; box-shadow:none; padding:8px 10px; }
	.stui-header__logo{ flex:0 0 auto; }
	.stui-header__logo img{ height:34px; max-width:150px; }
	.stui-header__search{ width:auto; flex:1 1 auto; margin-left:10px; }
	.stui-header__search .form-control{ height:34px; line-height:34px; border-radius:17px 0 0 17px; font-size:13px; padding:6px 40px 6px 14px; }
	.stui-header__search .submit{ width:44px; height:34px; border-radius:0 17px 17px 0; }
	.stui-header__nav{ display:flex; width:38px; height:38px; flex-basis:38px; padding:8px 7px; }
	.stui-header__nav span{ width:24px; }
	/* 手机端头部两行：第 1 行 = 文字广告通栏（在 stui-header__top 内容上方）；
	   第 2 行 = logo / 搜索 / 汉堡。用网格显式定位，窄屏也不会错行 */
	.stui-header__textad{ grid-column:1/-1; grid-row:1; display:grid; width:calc(100% + 20px);
		margin:-8px -10px 8px; grid-template-rows:auto!important; }
	.stui-header__textad a{ height:30px; }
	/* 列数超过 4 时手机端按 4 列显示，保证文字看得清（不改变后台配置） */
	.stui-header__textad[data-cols="5"],.stui-header__textad[data-cols="6"],
	.stui-header__textad[data-cols="7"],.stui-header__textad[data-cols="8"]{
		grid-template-columns:repeat(4,minmax(0,1fr))!important; }
	.stui-header__logo{ grid-column:1; grid-row:2; }
	.stui-header__search{ grid-column:2; grid-row:2; width:auto; margin-left:0; }
	.stui-header__nav{ grid-column:3; grid-row:2; margin-left:0; }
	.stui-header__menu{ border-radius:0; margin-top:0; padding:0; overflow:hidden; white-space:nowrap;
		display:flex; flex-wrap:nowrap; justify-content:space-between; }
	.stui-header__menu.is-mobile-unfit{ display:none!important; }
	.stui-header__menu li{ flex:0 0 auto; }
	.stui-warp-head{ display:none; float:none; width:100%; padding:0; }
	.stui-warp-head.is-open{ display:block; }
	.stui-warp-content{ float:none; width:100%; }
	.stui-top-menu{ width:100%; }
	.stui-top-menu .stui-pannel__head{ padding:10px 14px; }
	.stui-top-menu .stui-pannel__menu li a{ min-height:44px; padding:10px 14px; }
	.stui-header__menu li{ float:none; display:inline-block; }
	.stui-header__menu li a{ padding:10px 12px; font-size:14px; line-height:150%; font-weight:700; }
	.stui-pannel{ margin-top:0; border:0; border-radius:0; box-shadow:none; }
	.stui-pannel__head{ padding:10px 12px; }
	.stui-pannel__head .title{ font-size:16px; }
	.stui-pannel-bd{ padding:4px; }
	.stui-vodlist li{ width:50%; padding:6px; }
	.stui-vodlist__detail .title{ font-size:13px; height:36px; line-height:18px; }
	.stui-vodlist__detail .sub{ font-size:11px; }
	.stui-vodlist__detail .sub .number,.stui-vodlist__detail .sub .eye{ letter-spacing:-0.3px; }
	.stui-vodlist__detail .sub .ytc-ico{ margin-right:1px; }
	.stui-page{ padding:0 10px; margin:12px 0 18px; }
	.stui-page li{ margin:0 3px; }
	.stui-page li a,.stui-page li .num{ padding:6px 12px; }
	.stui-detail{ display:block; padding:12px; }
	.stui-detail__pic{ width:118px; float:left; margin:0 10px 8px 0; }
	.stui-detail__info h1{ font-size:16px; margin-bottom:8px; }
	.stui-detail__info .meta{ font-size:12px; line-height:200%; }
	.stui-btn{ padding:8px 18px; margin-top:10px; }
	.stui-player{ border-radius:0; }
	.video-page--detail .video-detail__meta{ gap:4px 16px; margin:0 8px 4px; padding:0 4px 10px; font-size:12px; }
	.stui-player__title{ padding:10px 12px 0; }
	.stui-player__title h1{ font-size:16px; }
	.stui-player__meta{ padding:6px 12px 12px; font-size:12px; }
	.stui-ad,.stui-ad--content{ max-width:100%; margin:0 auto; }
	.stui-foot{ margin:12px 0 0; border-radius:0; border-left:0; border-right:0; padding:16px 12px; font-size:12px; }
}
