/* 本地细节修正：不影响 mb13 主风格 */
.btn.disabled,
.btn.disabled:hover{
	opacity:.45; cursor:not-allowed; pointer-events:none;
}
.stui-player__detail .title small,
.stui-player__detail .title .text-muted{
	font-size:14px; font-weight:400; margin-left:6px;
}
.stui-content__playlist li.active a{
	background-color:#1DB8A6; border-color:#1DB8A6; color:#fff;
}
.stui-header__search{
	position:relative;
	overflow:hidden;
	border-radius:16px;
	background:#0A2F3A;
}
.stui-header__search .form-control{
	color:#eee;
	background:#0A2F3A !important;
	border:0 !important;
	box-shadow:none !important;
	outline:none !important;
	-webkit-appearance:none;
	appearance:none;
}
.stui-header__search .form-control:focus{
	border:0 !important;
	box-shadow:none !important;
	outline:none !important;
}
.stui-header__search .form-control::placeholder{ color:#999; }
.stui-header__search .submit{
	background:transparent !important;
	border:0 !important;
	box-shadow:none !important;
	outline:none !important;
	padding:0;
	margin:0;
	-webkit-appearance:none;
	appearance:none;
}
.stui-header__search .submit .icon{ color:#bbb; }
.stui-header__search .submit:hover .icon,
.stui-header__search .submit:focus .icon{ color:#1DB8A6; }

/* Logo：图标 + CSS 文字品牌 */
.stui-header__logo{
	margin-left:0;
	margin-top:0;
}
.stui-header__logo .logo,
.stui-header__logo .mb13-brand{
	display:flex !important;
	align-items:center;
	gap:10px;
	width:auto !important;
	height:60px !important;
	text-indent:0 !important;
	overflow:visible !important;
	background:none !important;
	background-image:none !important;
	text-decoration:none !important;
}
.mb13-brand__mark{
	width:40px;
	height:40px;
	flex:0 0 40px;
	border-radius:50%;
	display:block;
	object-fit:contain;
	box-shadow:0 1px 4px rgba(0,0,0,.2);
}
.mb13-brand__text{
	display:flex;
	flex-direction:column;
	justify-content:center;
	min-width:0;
	line-height:1.15;
}
.mb13-brand__name{
	display:block;
	color:#fff;
	font-size:18px;
	font-weight:700;
	letter-spacing:1px;
	white-space:nowrap;
}
.mb13-brand__tag{
	display:block;
	margin-top:3px;
	color:rgba(29,184,166,.95);
	font-size:11px;
	font-weight:500;
	letter-spacing:.5px;
	white-space:nowrap;
	opacity:.92;
}
.mb13-brand:hover .mb13-brand__name{ color:#fff; }
.mb13-brand:hover .mb13-brand__mark{
	box-shadow:0 2px 8px rgba(29,184,166,.35);
}
@media (max-width:1024px){
	.stui-header__logo .logo,
	.stui-header__logo .mb13-brand{ height:44px !important; gap:8px; }
	.mb13-brand__mark{ width:32px; height:32px; flex-basis:32px; }
	.mb13-brand__name{ font-size:15px; letter-spacing:.5px; }
	.mb13-brand__tag{ display:none; }
}
@media (max-width:767px){
	.stui-header__logo{ margin-left:8px; }
	.stui-header__logo .logo,
	.stui-header__logo .mb13-brand{ height:40px !important; gap:6px; }
	.mb13-brand__mark{ width:28px; height:28px; flex-basis:28px; }
	.mb13-brand__name{ font-size:14px; }
}

/* 分类页码/筛选结果计数 */
.stui-pannel__head .more.text-muted{ max-width:55%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.stui-pannel_bd > .text-muted.text-center{ font-size:13px; }

/* 友链 */
.stui-link__text li{ display:inline-block; margin:0 12px 8px 0; }
.stui-pannel__head .title img{ width:24px; height:24px; object-fit:contain; vertical-align:middle; }

/* 播放页 */
.stui-player__detail .more-btn .btn.disabled{ pointer-events:none; }
.stui-pannel .btn-primary{ margin-top:4px; }

/* 播放器容器：固定高度，防止 absolute 外壳盖住下方按钮 */
.stui-player__video{
	position:relative !important;
	width:100%;
	height:560px;
	overflow:hidden !important;
	background:#000;
}
.stui-player__video .MacPlayer{
	position:absolute !important;
	left:0; top:0; right:0; bottom:0;
	width:100% !important;
	height:100% !important;
}
.stui-player__detail{
	position:relative;
	z-index:2;
	clear:both;
	margin-top:15px !important;
	overflow:hidden;
}
.stui-player__detail .more-btn{
	float:right;
	position:relative;
	z-index:3;
}
.stui-player__detail .title{ overflow:hidden; }
@media (max-width:991px){
	.stui-player__video{ height:auto; aspect-ratio:16/9; min-height:220px; }
}
@media (max-width:767px){
	.stui-player__video{ min-height:200px; }
	.stui-player__detail .more-btn{ float:none; }
}

/* ===== 海报统一比例：只约束列表 lazyload，避开详情 picture / 宽图 active ===== */
.stui-vodlist__thumb.lazyload:not(.picture):not(.square){
	padding-top:140% !important;
	height:0;
	overflow:hidden;
	background-color:#e8e8e8;
	background-size:cover !important;
	background-position:center top !important;
	border-radius:2px;
}
.stui-vodlist__thumb.picture{
	padding-top:140% !important;
	height:0;
	overflow:hidden;
}
.stui-vodlist__thumb .pic-text:empty{ display:none; }

/* ===== 首页 SEO 导语 ===== */
.mb13-seo-intro .stui-pannel-box{ padding:12px 0; }
.mb13-h1{
	margin:0 0 6px; font-size:20px; font-weight:700; line-height:1.4; color:#333;
}
.mb13-lead{ font-size:13px; line-height:1.7; }
@media (max-width:767px){
	.mb13-h1{ font-size:17px; }
	.mb13-lead{ font-size:12px; }
}

/* ===== 首页分类：干净标题 + 齐整栅格 ===== */
.mb13-home-type .stui-pannel__head .nav-text{
	max-width:62%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
}
.mb13-home-type .stui-pannel__head .nav-text li{ display:inline; }
.mb13-home-type .stui-pannel__head .nav-text li a{ padding:0 2px; font-size:13px; }
.mb13-home-type .stui-pannel__head .split-line{ margin:0 5px; opacity:.4; }
.mb13-home-type .stui-vodlist{ margin-bottom:0; }
.mb13-home-type .stui-vodlist__detail .title{
	font-size:14px; margin:8px 0 2px; font-weight:600;
}
.mb13-home-type .stui-vodlist__detail .text{
	font-size:12px; color:#999; min-height:18px;
}
.mb13-home-type .stui-vodlist > li{ margin-bottom:12px; }

/* 最近更新区块同样齐平 */
.stui-vodlist__detail .title{ font-size:14px; margin:8px 0 2px; }
.stui-vodlist__detail .text{ font-size:12px; color:#999; }

/* 空状态 */
.mb13-empty{ padding:48px 20px; }
.mb13-empty .btn{ margin-top:12px; }

/* 选集过多可滚动 */
.stui-content__playlist.overflow{
	max-height:280px; overflow-y:auto; -webkit-overflow-scrolling:touch;
}

/* ===== 播放页侧栏热播榜 ===== */
.mb13-qrcode{
	width:120px; height:120px; margin:10px auto; padding:0 !important;
	min-height:120px;
}
.mb13-qrcode img,
.mb13-qrcode canvas{ display:block; margin:0 auto; }

.mb13-side-rank .stui-pannel__head{ border-bottom:1px solid #f0f0f0; margin-bottom:0; }
.mb13-rank-top{
	display:flex; gap:10px; align-items:flex-start;
	padding-top:12px !important; padding-bottom:12px !important;
	border-bottom:1px solid #f5f5f5;
}
.mb13-rank-top__thumb.lazyload,
.mb13-rank-top__thumb.stui-vodlist__thumb,
.mb13-rank-top__thumb{
	position:relative !important;
	display:block !important;
	flex:0 0 70px !important;
	width:70px !important;
	min-width:70px !important;
	max-width:70px !important;
	height:98px !important;
	min-height:98px !important;
	max-height:98px !important;
	padding:0 !important;
	padding-top:0 !important;
	margin:0 !important;
	border-radius:4px;
	overflow:hidden;
	background-color:#eee;
	background-size:cover !important;
	background-position:center top !important;
	background-repeat:no-repeat !important;
	box-sizing:border-box !important;
}
.mb13-rank-top__no{
	position:absolute; left:0; top:0; z-index:2;
	min-width:20px; height:20px; line-height:20px; text-align:center;
	background:#E85D4C; color:#fff; font-size:12px; font-weight:700;
	border-radius:0 0 4px 0;
}
.mb13-rank-top__info{ flex:1; min-width:0; padding-top:2px; }
.mb13-rank-top__info .title{
	font-size:15px; margin:0 0 8px; font-weight:600; line-height:1.3;
}
.mb13-rank-top__info .title a{ color:#333; }
.mb13-rank-top__info .title a:hover{ color:#1DB8A6; }
.mb13-rank-top__info .meta{
	margin:0 0 4px; font-size:12px; color:#666; line-height:1.5;
	overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.mb13-rank-top__info .meta .text-muted{ color:#999; margin-right:2px; }

.mb13-rank-list{ padding-top:4px !important; padding-bottom:8px !important; }
.mb13-rank-list li{ border-bottom:1px dashed #f2f2f2; }
.mb13-rank-list li:last-child{ border-bottom:0; }
.mb13-rank-list li a{
	display:flex; align-items:center; gap:8px;
	padding:9px 0; color:#333; line-height:20px;
}
.mb13-rank-list li a:hover{ color:#1DB8A6; }
.mb13-rank-list li a:hover .mb13-rank-name{ color:#1DB8A6; }
.mb13-rank-no{
	flex:0 0 18px; width:18px; height:18px; line-height:18px;
	text-align:center; border-radius:2px; font-size:12px;
	background:#eee; color:#666;
}
.mb13-rank-no.is-2{ background:#1DB8A6; color:#fff; }
.mb13-rank-no.is-3{ background:#3DCFE0; color:#fff; }
.mb13-rank-name{
	flex:1; min-width:0; font-size:13px;
}
.mb13-rank-note{
	flex:0 0 auto; max-width:5.5em; font-size:12px; color:#aaa;
}
.mb13-rank-note:empty{ display:none; }

/* 历史下拉 */
#stui_history{ max-height:260px; overflow-y:auto; margin:8px 0 0; padding:0; list-style:none; }
#stui_history li{ padding:8px 0; border-top:1px solid #f0f0f0; }
#stui_history li a{ display:block; color:#333; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#stui_history li a:hover{ color:#1DB8A6; }

/* ===== 手机端深度优化 ===== */
@media (max-width:767px){
	body{ padding-top:92px !important; }
	.stui-header__top{
		height:auto !important;
		min-height:92px;
		box-shadow:0 1px 6px rgba(0,0,0,.18);
	}
	.stui-header_bd{
		display:flex !important;
		flex-wrap:wrap;
		align-items:center;
		padding:8px 0 0;
	}
	.stui-header__logo{
		order:1;
		float:none !important;
		margin:0 0 0 8px !important;
		flex:0 1 auto;
		max-width:46%;
		min-width:0;
	}
	.stui-header__logo .logo,
	.stui-header__logo .mb13-brand{
		height:36px !important;
		gap:6px !important;
		max-width:100%;
	}
	.mb13-brand__mark{
		width:28px !important;
		height:28px !important;
		flex:0 0 28px !important;
		box-shadow:0 1px 3px rgba(0,0,0,.2);
	}
	.mb13-brand__name{
		font-size:14px !important;
		letter-spacing:0 !important;
		overflow:hidden;
		text-overflow:ellipsis;
	}
	.mb13-brand__tag{ display:none !important; }

	.stui-header__side{
		order:2;
		position:static !important;
		float:none !important;
		left:auto !important;
		right:auto !important;
		width:auto !important;
		flex:1 1 0;
		display:flex !important;
		align-items:center;
		justify-content:flex-end;
		gap:6px;
		min-width:0;
		padding:0 10px 0 6px;
		margin:0 !important;
	}
	.stui-header__search{
		position:static !important;
		float:none !important;
		width:auto !important;
		flex:1 1 auto;
		min-width:0;
		margin:0 !important;
		max-width:none;
		overflow:hidden;
		border-radius:16px;
		background:#0A2F3A;
	}
	.stui-header__search form{ position:relative; }
	.stui-header__search .form-control{
		height:32px;
		padding:0 36px 0 14px !important;
		font-size:13px;
		line-height:32px;
		border-radius:16px !important;
		border:0 !important;
		background:transparent !important;
		color:#eee;
		box-shadow:none !important;
	}
	.stui-header__search .submit{
		position:absolute;
		top:0; right:0;
		width:36px; height:32px; line-height:32px;
		text-align:center;
		background:transparent !important;
		border:0 !important;
		box-shadow:none !important;
	}
	.stui-header__user{
		float:none !important;
		display:none !important;
	}

	.stui-header__menu{
		order:3;
		float:none !important;
		width:100%;
		flex:0 0 100%;
		margin:6px 0 0 !important;
		padding:0 4px 0 8px !important;
		overflow-x:auto;
		-webkit-overflow-scrolling:touch;
		white-space:nowrap;
		scrollbar-width:none;
	}
	.stui-header__menu::-webkit-scrollbar{ display:none; }
	.stui-header__menu:before{ display:none !important; }
	.stui-header__menu li{
		float:none !important;
		display:inline-block;
		margin:0 4px !important;
		vertical-align:top;
	}
	.stui-header__menu li a{
		display:inline-block;
		line-height:36px !important;
		padding:0 8px !important;
		font-size:14px !important;
	}
	.stui-header__menu li.active a{
		border-bottom:2px solid #1DB8A6 !important;
		color:#fff !important;
	}

	.container{ padding-left:10px !important; padding-right:10px !important; }
	.stui-pannel-box{ padding:8px !important; }
	.stui-pannel_hd{ padding:6px 8px !important; }
	.stui-pannel__head .title{
		font-size:15px !important;
		max-width:72%;
		overflow:hidden;
		text-overflow:ellipsis;
		white-space:nowrap;
	}
	.stui-pannel__head .title img{ width:20px; height:20px; }
	.mb13-seo-intro .stui-pannel-box{ padding:8px 10px !important; }
	.mb13-h1{ font-size:16px !important; margin-bottom:4px !important; }
	.mb13-lead{
		font-size:12px !important;
		line-height:1.55 !important;
		display:-webkit-box;
		-webkit-line-clamp:2;
		-webkit-box-orient:vertical;
		overflow:hidden;
	}

	.stui-vodlist__thumb.lazyload:not(.picture),
	.stui-vodlist__thumb.picture{ border-radius:6px; }
	.stui-vodlist__detail .title{
		font-size:13px !important;
		margin:6px 0 0 !important;
		line-height:1.35;
	}
	.stui-vodlist__detail .text{ display:none !important; }
	.stui-vodlist > li{ margin-bottom:6px; }

	.stui-content__detail .title{ font-size:17px !important; line-height:1.35 !important; }
	.stui-content__detail .play-btn .btn{
		padding:8px 16px !important;
		font-size:13px;
		margin:4px 8px 0 0;
	}
	.stui-content__detail .score{ margin-bottom:8px !important; }

	.stui-content__playlist{ margin:0 -2px; }
	.stui-content__playlist li{
		margin:0 0 8px !important;
		padding:0 3px;
		width:33.333% !important;
		float:left;
		box-sizing:border-box;
	}
	.stui-content__playlist li a{
		display:block !important;
		padding:10px 4px !important;
		text-align:center;
		font-size:13px;
		border-radius:6px;
		overflow:hidden;
		text-overflow:ellipsis;
		white-space:nowrap;
	}
	.stui-content__playlist.overflow{ max-height:240px; }

	.stui-player__detail{ margin-top:8px !important; }
	.stui-player__detail .more-btn{
		float:none !important;
		display:flex !important;
		gap:6px;
		padding:8px !important;
		margin:0 0 8px !important;
		background:#1a1a1a !important;
		border-radius:6px;
	}
	.stui-player__detail .more-btn li{
		flex:1;
		margin:0 !important;
		padding:0 !important;
	}
	.stui-player__detail .more-btn .btn{
		display:block;
		width:100%;
		padding:9px 0 !important;
		font-size:12px;
		border-radius:4px;
		border:0;
		background:#2a2a2a;
		color:#eee;
	}
	.stui-player__detail .more-btn .btn.disabled{
		opacity:.4;
		background:#222;
	}
	.stui-player__detail .title{
		font-size:16px !important;
		padding:0 4px;
		margin:6px 0 4px !important;
	}
	.stui-player__detail .data{
		padding:0 4px 6px;
		font-size:12px;
	}
	.stui-player__video{ min-height:210px !important; }

	.stui-screen__list{
		height:auto !important;
		max-height:none !important;
		overflow-x:auto !important;
		overflow-y:hidden !important;
		white-space:nowrap !important;
		padding:8px 0 !important;
		-webkit-overflow-scrolling:touch;
		scrollbar-width:none;
	}
	.stui-screen__list::-webkit-scrollbar{ display:none; }
	.stui-screen__list li{
		float:none !important;
		display:inline-block !important;
		margin:0 6px 0 0 !important;
		vertical-align:middle;
	}
	.stui-screen__list li a{
		padding:6px 10px !important;
		border-radius:14px;
		font-size:12px;
	}

	.stui-page{ padding:8px 0 16px; }
	.stui-page li a,
	.stui-page li .num{
		padding:6px 10px;
		font-size:12px;
		border-radius:4px;
	}

	.stui-foot{ padding:14px 8px !important; }
	.stui-extra li a,
	.stui-extra li span{
		width:40px; height:40px; line-height:40px;
		border-radius:8px;
	}
}
