/* ================================================================
   Modown 子主题 · 漫画文章页风格
   仅在 body.mh-article 生效；配色/圆角来自 home-comic.css 的皮肤变量
   不修改 erphpdown 业务逻辑，仅做视觉适配
   ================================================================ */

/* ---------------------------------------------------------------
   1. 页面骨架
   --------------------------------------------------------------- */
body.mh-article{
	background:var(--mh-bg);
	color:var(--mh-text);
}
body.mh-article .main{
	padding-bottom:50px;
}
body.mh-article .breadcrumbs{
	margin:0 0 18px;
	padding:0;
	color:var(--mh-muted);
	font-size:12px;
	letter-spacing:.3px;
}
body.mh-article .breadcrumbs .sep,
body.mh-article .breadcrumbs .current,
body.mh-article .breadcrumbs a{
	color:var(--mh-muted);
}
body.mh-article .breadcrumbs .current{
	color:var(--mh-text);
}
body.mh-article .breadcrumbs a:hover{
	color:var(--mh-accent);
}

/* 统一卡片 */
body.mh-article .single-content,
body.mh-article .article-header-box,
body.mh-article .article-nav,
body.mh-article .single-related,
body.mh-article .single-comment,
body.mh-article .sidebar .widget{
	background:var(--mh-article-card);
	border:1px solid var(--mh-article-border);
	border-radius:var(--mh-radius);
	box-shadow:var(--mh-article-shadow);
}
body.mh-article .single-content,
body.mh-article .article-header-box{
	border-top:3px solid var(--mh-accent);
}

/* ---------------------------------------------------------------
   2. 标题 / 元信息 / 头图
   --------------------------------------------------------------- */
body.mh-article .single-content{
	padding:24px 20px 26px;
	margin-bottom:22px;
}
body.mh-article .article-header{
	margin:0 0 22px;
	padding:0 0 18px;
	border-bottom:1px dashed var(--mh-border);
}
body.mh-article .article-header-box .article-header{
	margin:0;
	padding:0;
	border:0;
}
body.mh-article .article-title{
	margin:0 0 14px;
	color:var(--mh-title);
	font-size:30px;
	font-weight:800;
	line-height:1.45;
	letter-spacing:.2px;
	word-break:break-word;
}
body.mh-article .article-meta{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:7px 16px;
	margin:0;
	color:var(--mh-muted);
	font-size:12px;
	line-height:1.8;
}
body.mh-article .article-meta .item{
	display:inline-flex;
	align-items:center;
	gap:5px;
	margin:0;
}
body.mh-article .article-meta .item .icon{
	top:0;
	color:var(--mh-accent);
	font-size:14px;
}
body.mh-article .article-meta a{
	color:var(--mh-muted);
}
body.mh-article .article-meta a:hover{
	color:var(--mh-accent);
}
body.mh-article .article-meta .item.right{
	margin-left:auto;
}
body.mh-article .article-meta .post-sign{
	margin-right:2px;
	padding:1px 7px;
	border-radius:4px;
	background:var(--mh-accent);
	color:var(--mh-accent-text);
	font-size:11px;
}

body.mh-article .article-header-box{
	margin-bottom:22px;
	padding:20px 18px 20px 448px;
}
body.mh-article .header-box-img{
	width:400px;
	height:260px;
	margin-left:-424px;
	overflow:hidden;
	background:var(--mh-img-bg);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
	box-shadow:0 16px 36px -30px rgba(0,0,0,.5);
}
body.mh-article .header-box-img img{
	width:100%;
	height:100%;
	object-fit:cover;
	border-radius:inherit;
}
body.mh-article .single-content .article-header-box{
	padding:0 0 0 265px;
	background:transparent;
	border:0;
	box-shadow:none;
}
body.mh-article .single-content .header-box-img{
	width:250px;
	height:162px;
	margin-left:-265px;
}
body.mh-article .header-box-con .article-title{
	margin-top:0;
	font-size:26px;
}
body.mh-article .header-box-con .custom-metas{
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
	color:var(--mh-muted);
}
body.mh-article .header-box-con .custom-metas .meta span{
	color:var(--mh-text);
}
body.mh-article .header-box-con .excerpt{
	color:var(--mh-muted);
}
body.mh-article .header-box-con .erphpdown{
	background:transparent !important;
	border:0 !important;
	box-shadow:none;
	padding:0 !important;
}
body.mh-article .header-box-con .erphpdown .erphpdown-child{
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
}
body.mh-article .header-box-con .erphpdown .erphpdown-child-title{
	background:var(--mh-soft-bg-2);
	color:var(--mh-text);
}

/* ---------------------------------------------------------------
   3. 正文排版
   --------------------------------------------------------------- */
body.mh-article .article-content{
	color:var(--mh-text);
	font-size:16px;
	line-height:1.9;
	letter-spacing:.2px;
}
body.mh-article .article-content > *:first-child{
	margin-top:0;
}
body.mh-article .article-content p{
	margin:0 0 22px;
	overflow:visible;
}
body.mh-article .article-content a{
	color:var(--mh-accent);
	text-decoration:none;
	border-bottom:1px solid rgba(127,127,127,.32);
	transition:color .2s ease,border-color .2s ease;
}
body.mh-article .article-content a:hover{
	color:var(--mh-accent-2);
	border-bottom-color:currentColor;
}
body.mh-article .article-content h1,
body.mh-article .article-content h2,
body.mh-article .article-content h3,
body.mh-article .article-content h4,
body.mh-article .article-content h5,
body.mh-article .article-content h6{
	margin:34px 0 18px;
	padding:10px 16px;
	background:var(--mh-heading-bg);
	border-left:4px solid var(--mh-accent);
	border-radius:0 var(--mh-radius) var(--mh-radius) 0;
	color:var(--mh-title);
	font-weight:700;
	line-height:1.5;
}
body.mh-article .article-content h1{font-size:26px;}
body.mh-article .article-content h2{font-size:22px;}
body.mh-article .article-content h3{font-size:19px;}
body.mh-article .article-content h4{font-size:17px;}
body.mh-article .article-content h5,
body.mh-article .article-content h6{font-size:16px;}
body.mh-article .article-content ul,
body.mh-article .article-content ol{
	margin:0 0 22px 26px;
}
body.mh-article .article-content li{
	margin-bottom:8px;
}
body.mh-article .article-content blockquote{
	margin:26px 0;
	padding:16px 20px;
	background:var(--mh-soft-bg);
	border-left:4px solid var(--mh-accent);
	border-radius:0 var(--mh-radius) var(--mh-radius) 0;
	color:var(--mh-muted);
	font-size:15px;
}
body.mh-article .article-content blockquote p:last-child{
	margin-bottom:0;
}
body.mh-article .article-content img{
	max-width:100%;
	height:auto;
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
	transition:opacity .35s ease;
}
body.mh-article .article-content img.mh-img-fade,
body.mh-article .article-content img.loading{
	opacity:0;
}
body.mh-article .article-content img.mh-img-fade{
	background:var(--mh-soft-bg);
}
@media (prefers-reduced-motion:reduce){
	body.mh-article .article-content img{
		transition:none;
	}
}
body.mh-article .article-content .wp-caption-text{
	margin-top:8px;
	color:var(--mh-muted);
	font-size:12px;
	text-align:center;
}
body.mh-article .article-content code{
	padding:2px 6px;
	border-radius:4px;
	background:var(--mh-soft-bg-2);
	color:var(--mh-accent);
	font-size:.9em;
}
body.mh-article .article-content pre{
	margin:22px 0;
	padding:16px 18px;
	overflow:auto;
	background:var(--mh-code-bg);
	color:var(--mh-code-text);
	border-radius:var(--mh-radius);
	font:13px/1.75 Consolas,"Courier New",monospace;
}
body.mh-article .article-content pre code{
	padding:0;
	background:none;
	color:inherit;
}
body.mh-article .article-content table{
	width:100%;
	margin:0 0 22px;
	border:1px solid var(--mh-border);
	border-collapse:collapse;
	border-radius:var(--mh-radius);
	overflow:hidden;
}
body.mh-article .article-content table th,
body.mh-article .article-content table td{
	padding:9px 12px;
	border:1px solid var(--mh-border);
}
body.mh-article .article-content table th{
	background:var(--mh-heading-bg);
	color:var(--mh-title);
}
body.mh-article .article-content hr{
	margin:28px 0;
	border:0;
	border-top:1px solid var(--mh-border);
}
body.mh-article .article-content .feature-image img{
	margin-bottom:20px;
	border-radius:var(--mh-radius);
}
body.mh-article .article-audio{
	background:var(--mh-card-bg);
	border-bottom-color:var(--mh-border);
}
body.mh-article .article-post-minibox{
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-radius);
	color:var(--mh-muted);
}
body.mh-article .article-custom-metas{
	margin:18px 0 22px;
	padding:12px 14px 2px;
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-radius);
	color:var(--mh-text);
	font-size:13px;
	line-height:1.7;
}
body.mh-article .erphpdown-box + .article-custom-metas,
body.mh-article .erphpdown-box-default + .article-custom-metas{
	margin-top:14px;
}
body.mh-article .article-custom-metas .meta{
	float:left;
	width:calc(50% - 5px);
	margin:0 10px 10px 0;
	padding:8px 12px;
	box-sizing:border-box;
	background:var(--mh-card-bg);
	border:1px solid var(--mh-border);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
	color:var(--mh-text);
	font-size:13px;
	line-height:1.65;
	word-break:break-word;
}
body.mh-article .article-custom-metas .meta:nth-child(2n){
	margin-right:0;
}
body.mh-article .article-custom-metas .meta t{
	color:var(--mh-muted);
	font-size:12px;
	font-weight:600;
	letter-spacing:.3px;
}
body.mh-article .article-custom-metas .meta a{
	color:var(--mh-accent);
	text-decoration:none;
	border-bottom:0;
}
body.mh-article .article-custom-metas .meta a:hover{
	color:var(--mh-accent);
	text-decoration:underline;
}
@media (max-width:768px){
	body.mh-article .article-custom-metas .meta{
		float:none;
		width:100%;
		margin-right:0;
	}
	body.mh-article .article-custom-metas{
		padding:12px 12px 2px;
	}
}
body.mh-article .article-content .article-tips > div{
	padding:12px 16px;
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-left:4px solid var(--mh-accent);
	border-radius:0 var(--mh-radius) var(--mh-radius) 0;
	color:var(--mh-text);
}
body.mh-article .article-content .article-tips .icon{
	color:var(--mh-accent);
}
body.mh-article .article-content-all-more{
	background-image:linear-gradient(-180deg,rgba(0,0,0,0),var(--mh-article-card) 68%) !important;
}
body.mh-article .article-content-all-more span{
	color:var(--mh-accent);
}
body.mh-article .article-paging span{
	display:inline-block;
	margin:0 4px;
	padding:5px 11px;
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:5px;
	color:var(--mh-text);
}
body.mh-article .article-paging span.current{
	background:var(--mh-accent);
	border-color:transparent;
	color:var(--mh-accent-text);
}
body.mh-article .article-content .gallery-login span{
	background:var(--mh-soft-bg);
	color:var(--mh-muted);
}

/* 选项卡 / FAQ / 版权 */
body.mh-article .article-tabs-tab{
	margin:0 -20px 24px;
	padding:0 12px;
	border-bottom:1px solid var(--mh-border);
}
body.mh-article .article-tabs-tab a{
	padding:11px 18px;
	color:var(--mh-muted);
	font-size:16px;
}
body.mh-article .article-tabs-tab a.active{
	color:var(--mh-title);
}
body.mh-article .article-tabs-tab a.active:after{
	height:2px;
	border-radius:2px;
	background:var(--mh-accent);
}
body.mh-article .article-faqs{
	margin:22px 0;
	padding:18px 20px;
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-radius);
	color:var(--mh-muted);
}
body.mh-article .article-faqs .article-faq-title{
	color:var(--mh-title);
}
body.mh-article .article-faqs .items .item{
	border-bottom-color:var(--mh-border);
}
body.mh-article .article-faqs .items .item .que{
	color:var(--mh-text);
}
body.mh-article .article-faqs .items .item .que .icon-help{
	color:var(--mh-accent);
}
body.mh-article .article-faqs .ans{
	color:var(--mh-muted);
}
body.mh-article .article-copyright{
	padding:12px 15px;
	background:var(--mh-soft-bg);
	border:1px dashed var(--mh-border);
	border-radius:var(--mh-radius);
	color:var(--mh-muted);
}
body.mh-article .article-copyright a{
	color:var(--mh-accent);
}

/* ---------------------------------------------------------------
   4. 下载 / 购买框（erphpdown）
   --------------------------------------------------------------- */
body.mh-article .article-content .erphpdown,
body.mh-article .article-content .erphpdown-content-vip,
body.mh-article .erphpdown-box,
body.mh-article .erphpdown-box-default{
	background:var(--mh-card-bg) !important;
	border:1px dashed var(--mh-accent) !important;
	border-radius:var(--mh-radius);
	box-shadow:var(--mh-article-shadow);
	color:var(--mh-text);
}
body.mh-article .erphpdown-box,
body.mh-article .erphpdown-box-default{
	border-style:solid !important;
}
body.mh-article .erphpdown .erphpdown-title,
body.mh-article .erphpdown-box .erphpdown-title,
body.mh-article .erphpdown-box-default .erphpdown-title{
	background:var(--mh-accent);
	color:var(--mh-accent-text);
	border-radius:0 0 6px 6px;
}
body.mh-article .erphpdown .erphpdown-child,
body.mh-article .erphpdown-box .erphpdown-child,
body.mh-article .erphpdown-box-default .erphpdown-child{
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
	color:var(--mh-text);
}
body.mh-article .erphpdown .erphpdown-child > legend,
body.mh-article .erphpdown-box .erphpdown-child > legend,
body.mh-article .erphpdown-box-default .erphpdown-child > legend{
	color:var(--mh-text);
}
body.mh-article .erphpdown .erphpdown-child .erphpdown-child-title,
body.mh-article .erphpdown-box .erphpdown-child .erphpdown-child-title,
body.mh-article .erphpdown-box-default .erphpdown-child .erphpdown-child-title{
	background:var(--mh-soft-bg-2);
	color:var(--mh-text);
	border-radius:0 0 5px 5px;
}
body.mh-article .erphpdown .erphpdown-box-tips{
	background:var(--mh-soft-bg);
	border-radius:6px;
	color:var(--mh-muted);
}
body.mh-article .erphpdown .erphpdown-box-tips .erphpdown-vip,
body.mh-article .erphpdown .erphpdown-box-tips .erphp-login-must,
body.mh-article .erphpdown .erphp-vip{
	background:transparent !important;
	padding:0 !important;
	color:#fbb715 !important;
}
body.mh-article .erphpdown .erphpdown-buy,
body.mh-article .erphpdown .erphp-login-must{
	padding:7px 18px;
	background:var(--mh-accent) !important;
	border-radius:var(--mh-chip-radius);
	color:var(--mh-accent-text) !important;
}
body.mh-article .erphpdown .erphpdown-down{
	padding:7px 18px;
	background:#5cb85c !important;
	border-radius:var(--mh-chip-radius);
	color:#fff !important;
}
body.mh-article .erphpdown .erphpdown-vip{
	padding:7px 18px;
	background:linear-gradient(90deg,#f0d68d 0%,#e0bf73 100%) !important;
	border-radius:var(--mh-chip-radius);
	color:#4e342e !important;
}
body.mh-article .erphpdown .erphpdown-free{
	padding:15px;
	background:var(--mh-soft-bg);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
}
body.mh-article .erphpdown .erphpdown-price{
	color:var(--mh-accent);
}
body.mh-article .erphpdown .erphpdown-btn-large{
	display:inline-block;
	padding:8px 18px;
	background:var(--mh-accent) !important;
	border-radius:var(--mh-chip-radius);
	color:var(--mh-accent-text) !important;
	font-size:14px;
	line-height:1.5;
	text-align:center;
	box-shadow:none;
}
body.mh-article .erphpdown .erphpdown-btn-large:hover{
	opacity:.9;
}
body.mh-article .erphpdown .erphpdown-btn-large.vip{
	background:linear-gradient(90deg,#f0d68d 0%,#e0bf73 100%) !important;
	color:#4e342e !important;
}
body.mh-article .erphpdown .erphpdown-btn-large.bought{
	background:#5cb85c !important;
	color:#fff !important;
}
body.mh-article .erphpdown .erphpdown-btn-large.erphpdown-tuan-btn{
	background:#03c8d4 !important;
	color:#fff !important;
}
body.mh-article .erphpdown .erphpdown-btn-large.erphpdown-tuan-over{
	background:var(--mh-soft-bg-2) !important;
	color:var(--mh-muted) !important;
}
body.mh-article .erphpdown .erphpdown-tuan .erphpdown-price{
	color:var(--mh-accent);
}
body.mh-article .single-content > .erphpdown-box.fixed{
	background:var(--mh-card-bg);
	border-bottom:1px solid var(--mh-border);
	box-shadow:0 14px 34px -24px rgba(0,0,0,.55);
}

/* ---------------------------------------------------------------
   5. 互动 / 标签 / 上下篇
   --------------------------------------------------------------- */
body.mh-article .article-act{
	margin:26px 0 30px;
}
body.mh-article .article-act .article-collect,
body.mh-article .article-act .article-zan,
body.mh-article .article-act .article-shang{
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	color:var(--mh-muted) !important;
	box-shadow:none;
}
body.mh-article .article-act .article-shang{
	color:var(--mh-accent) !important;
}
body.mh-article .article-act .article-collect.active{
	color:#fbb715 !important;
	border-color:rgba(251,183,21,.45);
}
body.mh-article .article-act .article-zan.active{
	color:var(--mh-accent) !important;
	border-color:var(--mh-accent);
}
body.mh-article .article-act a span{
	color:var(--mh-muted);
}
body.mh-article .article-act > .popup{
	background:var(--mh-card-bg);
	border:1px solid var(--mh-border);
	box-shadow:0 22px 48px -32px rgba(0,0,0,.5);
}
body.mh-article .article-act ul.platform{
	background:var(--mh-card-bg);
}
body.mh-article .article-tags{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin:0 0 22px;
}
body.mh-article .article-tags a{
	margin:0;
	padding:6px 11px;
	background:var(--mh-soft-bg) !important;
	border:1px solid var(--mh-border);
	border-radius:var(--mh-chip-radius);
	color:var(--mh-text) !important;
	font-size:12px;
	line-height:1.4;
}
body.mh-article .article-tags a:hover{
	background:var(--mh-accent) !important;
	border-color:transparent;
	color:var(--mh-accent-text) !important;
}
body.mh-article .article-shares b{
	color:var(--mh-muted);
}
body.mh-article .article-shares a.right{
	color:var(--mh-muted) !important;
}
body.mh-article .article-shares a.right:hover{
	color:var(--mh-accent) !important;
}
body.mh-article .article-shares .share-popover .share-popover-inner{
	background:var(--mh-card-bg);
	border-color:var(--mh-border);
}
body.mh-article .article-shares .share-popover .share-popover-inner:after{
	border-top-color:var(--mh-card-bg);
}
body.mh-article .article-shares .share-popover .share-popover-inner:before{
	border-top-color:var(--mh-border);
}
body.mh-article .article-nav{
	padding:18px 16px;
	color:var(--mh-muted);
	font-size:12px;
}
body.mh-article .article-nav a{
	color:var(--mh-text);
}
body.mh-article .article-nav a:hover{
	color:var(--mh-accent);
}
body.mh-article .article-nav .article-nav-prev{
	border-right-color:var(--mh-border);
}

/* ---------------------------------------------------------------
   6. 相关推荐
   --------------------------------------------------------------- */
body.mh-article .single-related{
	margin-bottom:22px;
	padding:20px 20px 6px;
}
body.mh-article .single-related .related-title{
	display:flex;
	align-items:center;
	gap:8px;
	margin-bottom:18px;
	color:var(--mh-title);
	font-size:18px;
	font-weight:700;
}
body.mh-article .single-related .related-title .icon{
	color:var(--mh-accent);
}
body.mh-article .single-related .grids:not(.waterfall){
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:20px;
	margin:0 0 14px;
}
body.mh-article .single-related .grids:not(.waterfall):before,
body.mh-article .single-related .grids:not(.waterfall):after{
	content:none !important;
	display:none !important;
}
body.mh-article .single-related .grids:not(.waterfall) .grid{
	float:none;
	width:auto;
	margin:0;
}
body.mh-article .single-related .grids .grid{
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-radius);
	box-shadow:none;
	overflow:hidden;
	transition:transform .25s ease,border-color .25s ease;
}
body.mh-article .single-related .grids .grid:hover{
	transform:translateY(-4px);
	border-color:var(--mh-accent);
}
body.mh-article .single-related .grids .grid:active{
	transform:translateY(-1px) scale(.985);
	transition-duration:.08s;
}
body.mh-article .single-related .grids .grid .img{
	height:auto !important;
	aspect-ratio:15 / 8;
	padding:0;
	background:var(--mh-img-bg);
	border-radius:var(--mh-radius) var(--mh-radius) 0 0;
}
body.mh-article .single-related .grids .grid .thumb{
	width:100%;
	height:100%;
	padding:0 !important;
	object-fit:cover;
	border-radius:var(--mh-radius) var(--mh-radius) 0 0;
}
/* 封面角标与首页/分类页统一：左下角胶囊 */
body.mh-article .single-related .grids .grid .img .img-cat{
	position:absolute;
	left:10px;
	right:auto;
	top:auto;
	bottom:10px;
	z-index:11;
	padding:3px 9px;
	border-radius:999px;
	background:rgba(0,0,0,.46);
	color:#fff;
	font-size:0;
	line-height:1.5;
	-webkit-backdrop-filter:blur(4px);
	backdrop-filter:blur(4px);
}
body.mh-article .single-related .grids .grid .img .img-cat .mh-vip-discount{
	display:inline-block;
	font-size:11px;
	line-height:1.5;
	color:#fff;
	white-space:nowrap;
}
body.mh-article .single-related .grids .grid .con{
	padding:12px 14px 14px;
}
body.mh-article .single-related .grids .grid .cat{
	height:auto;
	margin-bottom:6px;
	padding-left:0;
	color:var(--mh-muted);
	font-size:11px;
}
body.mh-article .single-related .grids .grid .cat:before{
	background:var(--mh-accent);
}
body.mh-article .single-related .grids .grid .tag{
	display:none;
}
body.mh-article .single-related .grids .grid h3 a{
	display:-webkit-box;
	height:auto;
	overflow:hidden;
	color:var(--mh-text) !important;
	font-size:14px;
	font-weight:600;
	line-height:1.45;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
}
body.mh-article .single-related .grids .grid h3 a:hover{
	color:var(--mh-accent) !important;
}
body.mh-article .single-related .grids .grid .grid-meta{
	height:auto;
	margin-top:auto;
	padding-top:8px;
	color:var(--mh-muted);
	font-size:11px;
}
body.mh-article .single-related .grids .grid .grid-author{
	display:none;
}
body.mh-article .single-related .lists{
	padding:0;
	background:transparent;
}
body.mh-article .single-related .lists .list{
	margin-bottom:12px;
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-radius);
}
body.mh-article .single-related .lists .list h3 a{
	color:var(--mh-text);
}
body.mh-article .single-related .lists .list h3 a:hover{
	color:var(--mh-accent);
}

/* ---------------------------------------------------------------
   7. 评论
   --------------------------------------------------------------- */
body.mh-article .single-comment{
	padding:20px 18px;
	margin-bottom:22px;
}
body.mh-article .comment-signarea{
	padding:16px;
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-radius);
	color:var(--mh-muted);
}
body.mh-article .comment-signarea a{
	color:var(--mh-accent);
}
body.mh-article .comment{
	padding:16px 0 16px 54px;
	border-bottom:1px solid var(--mh-border) !important;
	color:var(--mh-text);
}
body.mh-article .comment .comt-title{
	color:var(--mh-muted);
}
body.mh-article .comment .comt-title .avatar{
	background:var(--mh-img-bg);
}
body.mh-article .comment .comt-meta{
	color:var(--mh-muted);
}
body.mh-article .comment .comt-meta a{
	color:var(--mh-text);
}
body.mh-article .comment .comt-meta a:hover{
	color:var(--mh-accent);
}
body.mh-article .comment .comt-content{
	color:var(--mh-text);
}
body.mh-article .comment .comt-reply a,
body.mh-article .comment .comt-reply a:hover{
	color:var(--mh-muted);
}
body.mh-article .comt-box{
	background:var(--mh-input-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-radius);
}
body.mh-article .comt-area{
	background:transparent;
	color:var(--mh-text);
}
body.mh-article .comt-submit{
	background:var(--mh-accent);
	color:var(--mh-accent-text);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
}
body.mh-article .comt-comterinfo input,
body.mh-article .comt-ctrl #captcha_code{
	background:var(--mh-input-bg);
	border:1px solid var(--mh-border);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
	color:var(--mh-text);
}
body.mh-article .comt-count{
	color:var(--mh-muted);
}
body.mh-article .comt-ctrl .smile{
	background-color:var(--mh-card-bg);
}
body.mh-article .comt-ctrl .smile a{
	background-color:var(--mh-soft-bg);
	border-color:var(--mh-card-bg);
}
body.mh-article .comt-comterinfo{
	color:var(--mh-muted);
}

/* ---------------------------------------------------------------
   8. 侧栏
   --------------------------------------------------------------- */
body.mh-article .sidebar .widget{
	padding:18px;
	margin-bottom:20px;
}
body.mh-article .sidebar .widget.nopadding{
	padding:0;
	background:transparent;
	border:0;
	box-shadow:none;
}
body.mh-article .sidebar .widget h3{
	margin-bottom:14px;
	color:var(--mh-title);
	font-size:16px;
	font-weight:700;
}
body.mh-article .sidebar .widget h3 .icon{
	color:var(--mh-accent);
}
body.mh-article .sidebar .widget a{
	color:var(--mh-muted);
}
body.mh-article .sidebar .widget a:hover{
	color:var(--mh-accent);
}
body.mh-article .sidebar .widget:not(.widget-postlist) ul li{
	padding:9px 0;
	border-bottom:1px solid var(--mh-border);
}
body.mh-article .sidebar .widget:not(.widget-postlist) ul li:last-child{
	border-bottom:0;
}
/* 缩略图文章列表保持主题原生左内边距，避免标题压到图片上 */
body.mh-article .sidebar .widget.widget-postlist ul li{
	border-bottom:1px solid var(--mh-border);
}
body.mh-article .sidebar .widget.widget-postlist ul li:last-child{
	border-bottom:0;
}
body.mh-article .sidebar .widget input[type='text'],
body.mh-article .sidebar .widget input[type='search'],
body.mh-article .sidebar .widget select,
body.mh-article .sidebar .widget textarea{
	background:var(--mh-input-bg);
	border:1px solid var(--mh-border);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
	color:var(--mh-text);
}
body.mh-article .widget-tags .items a{
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-chip-radius);
	color:var(--mh-muted) !important;
}
body.mh-article .widget-tags .items a:hover{
	background:var(--mh-accent);
	border-color:transparent;
	color:var(--mh-accent-text) !important;
}
body.mh-article .widget-commentlist .sidebar-comments-comment{
	background:var(--mh-soft-bg);
	color:var(--mh-muted);
}
body.mh-article .widget-commentlist .sidebar-comments-comment:before{
	border-bottom-color:var(--mh-soft-bg);
}
body.mh-article .widget-erphpdown .erphpdown-child{
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:max(0px, calc(var(--mh-radius) - 2px));
}
body.mh-article .widget-erphpdown .erphpdown-title{
	background:var(--mh-soft-bg-2);
	color:var(--mh-text);
}
body.mh-article .widget-erphpdown .erphpdown-child .erphpdown-child-title{
	background:var(--mh-soft-bg-2);
	color:var(--mh-muted);
}
body.mh-article .widget-erphpdown .epdvip{
	background:var(--mh-accent);
	color:var(--mh-accent-text);
}
body.mh-article .widget-erphpdown .price span{
	color:var(--mh-accent);
}
/* 侧栏字段小工具：参数行样式 */
body.mh-article .widget-erphpdown .custom-metas{
	margin:14px 0 4px;
	padding:10px 14px;
	background:var(--mh-soft-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-radius);
	color:var(--mh-text);
	font-size:13px;
	line-height:1.7;
}
body.mh-article .widget-erphpdown .custom-metas:after{
	content:none !important;
	display:none !important;
}
body.mh-article .widget-erphpdown .custom-metas .meta{
	position:static;
	display:flex;
	flex-wrap:wrap;
	align-items:baseline;
	justify-content:space-between;
	gap:2px 12px;
	min-width:0;
	padding:7px 0;
	border-top:1px dashed var(--mh-border);
	color:var(--mh-text);
	font-size:13px;
	line-height:1.6;
	text-align:right;
	word-break:break-word;
}
body.mh-article .widget-erphpdown .custom-metas .meta:first-child{
	padding-top:0;
	border-top:0;
}
body.mh-article .widget-erphpdown .custom-metas .meta:last-child{
	padding-bottom:0;
}
body.mh-article .widget-erphpdown .custom-metas .meta span{
	position:static;
	display:block;
	flex:none;
	color:var(--mh-muted);
	font-size:12px;
	font-weight:600;
	letter-spacing:.3px;
	text-align:left;
}
body.mh-article .widget-erphpdown .custom-metas .meta a{
	color:var(--mh-accent);
	text-decoration:none;
}
body.mh-article .widget-erphpdown .custom-metas .meta a:hover{
	text-decoration:underline;
}
/* 字段标签跟随皮肤字体 */
body.mh-style-6.mh-article .article-custom-metas .meta t,
body.mh-style-9.mh-article .article-custom-metas .meta t,
body.mh-style-6.mh-article .widget-erphpdown .custom-metas .meta span,
body.mh-style-9.mh-article .widget-erphpdown .custom-metas .meta span{
	font-family:"LXGW WenKai","Kaiti SC","STKaiti","KaiTi","Kaiti TC","Songti SC","STSong","SimSun",serif;
}
body.mh-style-7.mh-article .article-custom-metas .meta t,
body.mh-style-7.mh-article .widget-erphpdown .custom-metas .meta span{
	font-family:Georgia,"Noto Serif SC","Songti SC","STSong","SimSun",serif;
}

/* ---------------------------------------------------------------
   9. 目录 / 只有 VIP
   --------------------------------------------------------------- */
body.mh-article .post-fixed-nav{
	border-right:2px solid var(--mh-border);
	color:var(--mh-muted);
}
body.mh-article .post-fixed-nav a{
	color:var(--mh-muted);
}
body.mh-article .post-fixed-nav a:hover,
body.mh-article .post-fixed-nav a.active{
	color:var(--mh-accent);
}
body.mh-article .only-erphpdown-vip .container{
	padding:40px;
	background:var(--mh-card-bg);
	border:1px solid var(--mh-border);
	border-radius:var(--mh-radius);
	box-shadow:var(--mh-article-shadow);
	color:var(--mh-text);
}
body.mh-article .only-erphpdown-vip .icon{
	color:var(--mh-accent);
}

/* ---------------------------------------------------------------
   10. 皮肤差异
   --------------------------------------------------------------- */
/* 02 热血 */
body.mh-style-2.mh-article .article-title{
	font-style:italic;
	font-weight:900;
	letter-spacing:.5px;
}
body.mh-style-2.mh-article .article-content h2,
body.mh-style-2.mh-article .article-content h3,
body.mh-style-2.mh-article .article-content h4{
	border-left-width:6px;
}
body.mh-style-2.mh-article .single-content,
body.mh-style-2.mh-article .article-header-box,
body.mh-style-2.mh-article .article-nav,
body.mh-style-2.mh-article .single-related,
body.mh-style-2.mh-article .single-comment,
body.mh-style-2.mh-article .sidebar .widget{
	box-shadow:0 18px 40px -32px rgba(26,21,16,.45);
}

/* 04 黑白网点 */
body.mh-style-4.mh-article .article-title{
	font-weight:800;
	letter-spacing:.4px;
}
body.mh-style-4.mh-article .single-related .grids .grid .thumb{
	filter:grayscale(1) contrast(1.05);
}
body.mh-style-4.mh-article .single-related .grids .grid:hover .thumb{
	filter:grayscale(0) contrast(1.02);
}
body.mh-style-4.mh-article .single-content,
body.mh-style-4.mh-article .article-header-box,
body.mh-style-4.mh-article .article-nav,
body.mh-style-4.mh-article .single-related,
body.mh-style-4.mh-article .single-comment,
body.mh-style-4.mh-article .sidebar .widget{
	box-shadow:0 18px 40px -32px rgba(17,17,17,.45);
}

/* 06 复古波普 */
body.mh-style-6.mh-article .article-title{
	font-weight:800;
}
body.mh-style-6.mh-article .single-content,
body.mh-style-6.mh-article .article-header-box,
body.mh-style-6.mh-article .article-nav,
body.mh-style-6.mh-article .single-related,
body.mh-style-6.mh-article .single-comment,
body.mh-style-6.mh-article .sidebar .widget{
	box-shadow:0 20px 46px -34px rgba(230,57,70,.45);
}

/* 07 杂志编辑 */
body.mh-style-7.mh-article .article-title,
body.mh-style-7.mh-article .article-content h1,
body.mh-style-7.mh-article .article-content h2,
body.mh-style-7.mh-article .article-content h3,
body.mh-style-7.mh-article .article-content h4,
body.mh-style-7.mh-article .single-related .related-title,
body.mh-style-7.mh-article .sidebar .widget h3{
	font-family:Georgia,"Noto Serif SC","Songti SC","STSong","SimSun",serif;
	font-weight:600;
	letter-spacing:.5px;
}
body.mh-style-7.mh-article .single-related .grids .grid h3 a,
body.mh-style-7.mh-article .single-related .lists .list h3 a{
	font-family:Georgia,"Noto Serif SC","Songti SC","STSong","SimSun",serif;
	font-weight:600;
	letter-spacing:.2px;
}
body.mh-style-7.mh-article .article-content h1,
body.mh-style-7.mh-article .article-content h2,
body.mh-style-7.mh-article .article-content h3,
body.mh-style-7.mh-article .article-content h4{
	padding:0 0 8px;
	background:transparent;
	border-left:0;
	border-bottom:1px solid var(--mh-border);
	border-radius:0;
}
body.mh-style-7.mh-article .article-content blockquote{
	border-left-width:2px;
	border-radius:0;
}

/* 06 与 09 使用同一套字体 */
body.mh-style-6.mh-article .article-title,
body.mh-style-6.mh-article .article-content h1,
body.mh-style-6.mh-article .article-content h2,
body.mh-style-6.mh-article .article-content h3,
body.mh-style-6.mh-article .article-content h4,
body.mh-style-6.mh-article .single-related .related-title,
body.mh-style-6.mh-article .sidebar .widget h3,
body.mh-style-9.mh-article .article-title,
body.mh-style-9.mh-article .article-content h1,
body.mh-style-9.mh-article .article-content h2,
body.mh-style-9.mh-article .article-content h3,
body.mh-style-9.mh-article .article-content h4,
body.mh-style-9.mh-article .single-related .related-title,
body.mh-style-9.mh-article .sidebar .widget h3{
	font-family:"LXGW WenKai","Kaiti SC","STKaiti","KaiTi","Kaiti TC","Songti SC","STSong","SimSun",serif;
	font-weight:600;
	letter-spacing:1px;
}
/* 猜你喜欢卡片标题与漫画标题同字体 */
body.mh-style-6.mh-article .single-related .grids .grid h3 a,
body.mh-style-6.mh-article .single-related .lists .list h3 a,
body.mh-style-9.mh-article .single-related .grids .grid h3 a,
body.mh-style-9.mh-article .single-related .lists .list h3 a{
	font-family:"LXGW WenKai","Kaiti SC","STKaiti","KaiTi","Kaiti TC","Songti SC","STSong","SimSun",serif;
	font-weight:600;
	letter-spacing:.3px;
}
body.mh-style-9.mh-article .article-content h2,
body.mh-style-9.mh-article .article-content h3,
body.mh-style-9.mh-article .article-content h4{
	border-left-width:3px;
}

/* 10 极简暗夜 */
body.mh-style-10.mh-article .article-title{
	font-weight:300;
	letter-spacing:1.6px;
}
body.mh-style-10.mh-article .article-content h2,
body.mh-style-10.mh-article .article-content h3,
body.mh-style-10.mh-article .article-content h4{
	padding:8px 12px;
	background:transparent;
	border-left:1px solid var(--mh-accent);
	border-radius:0;
	font-weight:400;
	letter-spacing:.8px;
}
body.mh-style-10.mh-article .single-content,
body.mh-style-10.mh-article .article-header-box{
	border-top-width:1px;
}

/* 08 琉璃梦境：文章卡片玻璃化 */
body.mh-style-8.mh-article .single-content,
body.mh-style-8.mh-article .article-header-box,
body.mh-style-8.mh-article .article-nav,
body.mh-style-8.mh-article .single-related,
body.mh-style-8.mh-article .single-comment,
body.mh-style-8.mh-article .sidebar .widget{
	-webkit-backdrop-filter:blur(14px);
	backdrop-filter:blur(14px);
}
body.mh-skin.night.mh-style-8.mh-article .single-content,
body.mh-skin.night.mh-style-8.mh-article .article-header-box,
body.mh-skin.night.mh-style-8.mh-article .article-nav,
body.mh-skin.night.mh-style-8.mh-article .single-related,
body.mh-skin.night.mh-style-8.mh-article .single-comment,
body.mh-skin.night.mh-style-8.mh-article .sidebar .widget{
	background:rgba(22,24,34,.66);
	border-color:rgba(255,255,255,.1);
	-webkit-backdrop-filter:blur(16px);
	backdrop-filter:blur(16px);
}

/* ---------------------------------------------------------------
   11. 响应式
   --------------------------------------------------------------- */
@media (max-width:1024px){
	body.mh-article .single-content{
		padding:22px 18px;
	}
	body.mh-article .article-title{
		font-size:27px;
	}
	body.mh-article .article-tabs-tab{
		margin:0 -18px 24px;
	}
	body.mh-article .single-related{
		padding:18px 18px 4px;
	}
	body.mh-article .single-related .grids:not(.waterfall){
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:18px;
		margin:0 0 12px;
	}
}
@media (max-width:768px){
	body.mh-article .main{
		padding-bottom:40px;
	}
	body.mh-article .single-content{
		padding:16px 14px 18px;
		margin-bottom:16px;
	}
	body.mh-article .single-comment{
		padding:16px 14px;
	}
	body.mh-article .single-related{
		padding:16px 14px 4px;
	}
	body.mh-article .article-title{
		font-size:23px;
		line-height:1.45;
	}
	body.mh-article .header-box-con .article-title{
		font-size:22px;
	}
	body.mh-article .article-header-box{
		padding:16px 14px;
	}
	body.mh-article .header-box-img,
	body.mh-article .single-content .header-box-img{
		float:none;
		width:100%;
		height:auto;
		aspect-ratio:16 / 9;
		margin:0 0 16px;
	}
	body.mh-article .header-box-img img{
		height:100%;
	}
	body.mh-article .single-content .article-header-box{
		padding:0;
	}
	body.mh-article .article-meta{
		gap:6px 12px;
		font-size:11px;
	}
	body.mh-article .article-content{
		font-size:15.5px;
		line-height:1.85;
	}
	body.mh-article .article-content h2{font-size:20px;}
	body.mh-article .article-content h3{font-size:18px;}
	body.mh-article .article-content h4{font-size:16px;}
	body.mh-article .article-tabs-tab{
		margin:0 -14px 20px;
	}
	body.mh-article .article-tabs-tab a{
		padding:10px 12px;
		font-size:15px;
	}
	body.mh-article .single-related .grids:not(.waterfall){
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:14px;
		margin:0 0 10px;
	}
	body.mh-article .single-related .grids .grid .img .img-cat{
		left:7px;
		bottom:7px;
		padding:2px 7px;
	}
	body.mh-article .single-related .grids .grid .img .img-cat .mh-vip-discount{
		font-size:10px;
	}
	body.mh-article .article-act .article-collect,
	body.mh-article .article-act .article-zan,
	body.mh-article .article-act .article-shang{
		width:52px;
		height:52px;
		line-height:46px;
	}
	body.mh-article .article-nav{
		padding:16px;
	}
}
@media (max-width:480px){
	body.mh-article .article-title{
		font-size:21px;
	}
	body.mh-article .article-content{
		font-size:15px;
	}
	body.mh-article .single-related .grids:not(.waterfall){
		grid-template-columns:minmax(0,1fr);
		gap:14px;
		margin:0 0 8px;
	}
	body.mh-article .article-tabs-tab{
		display:flex;
		overflow-x:auto;
		white-space:nowrap;
	}
	body.mh-article .article-tabs-tab a{
		flex:none;
	}
}

/* ---------------------------------------------------------------
   购买详情弹窗（layui iframe 外框，仅文章页）
   --------------------------------------------------------------- */
body.mh-article .mh-buy-layer{
	overflow:hidden;
	max-width:calc(100vw - 20px);
	box-sizing:border-box;
	background:var(--mh-card-bg);
	border:var(--mh-card-border);
	border-radius:var(--mh-radius-lg) !important;
	box-shadow:0 30px 80px -30px rgba(16,18,24,.6);
}
body.mh-article .mh-buy-layer .layui-layer-title{
	padding:0 46px 0 18px;
	border-bottom:1px solid var(--mh-border) !important;
	color:var(--mh-title);
	font-weight:600;
	letter-spacing:.5px;
}
body.mh-article .mh-buy-layer .layui-layer-content{
	background:#f7f7f9;
}
body.mh-article .mh-buy-layer .layui-layer-content iframe{
	background:transparent;
}
body.mh-article .mh-buy-layer .layui-layer-setwin{
	top:8px;
	right:10px;
}
body.mh-article .mh-buy-layer .layui-layer-setwin .layui-layer-close{
	display:block;
	width:26px;
	height:26px;
	line-height:26px;
	border-radius:50%;
	background-color:var(--mh-soft-bg);
	background-image:none;
	color:var(--mh-muted);
	font-size:16px;
	text-align:center;
	text-decoration:none;
}
body.mh-article .mh-buy-layer .layui-layer-setwin .layui-layer-close:before{
	content:"×";
	display:block;
	line-height:26px;
}
body.mh-article .mh-buy-layer .layui-layer-setwin .layui-layer-close:hover{
	background-color:var(--mh-accent);
	color:var(--mh-accent-text);
}

/* 06 复古波普 */
body.mh-article.mh-style-6 .mh-buy-layer{
	border:3px solid #111;
	border-radius:2px !important;
	box-shadow:9px 9px 0 #e63946;
}
body.mh-article.mh-style-6 .mh-buy-layer .layui-layer-title,
body.mh-article.mh-style-9 .mh-buy-layer .layui-layer-title{
	font-family:"LXGW WenKai","Kaiti SC","STKaiti","KaiTi","Kaiti TC","Songti SC","STSong","SimSun",serif;
	letter-spacing:1.5px;
}
body.mh-article.mh-style-6 .mh-buy-layer .layui-layer-title{
	border-bottom:2px solid #111 !important;
}
body.mh-article.mh-style-6 .mh-buy-layer .layui-layer-setwin .layui-layer-close{
	border:2px solid #111;
	background-color:#ffd166;
	color:#111;
}

/* 07 杂志编辑 */
body.mh-article.mh-style-7 .mh-buy-layer .layui-layer-title{
	font-family:Georgia,"Noto Serif SC","Songti SC","STSong","SimSun",serif;
	letter-spacing:1px;
}

/* 08 琉璃 */
body.mh-article.mh-style-8 .mh-buy-layer{
	background:rgba(255,255,255,.9);
	border:1px solid rgba(255,255,255,.95);
	border-radius:24px !important;
	-webkit-backdrop-filter:blur(18px);
	backdrop-filter:blur(18px);
}

/* 09 水墨 */
body.mh-article.mh-style-9 .mh-buy-layer{
	border-radius:4px !important;
}

/* 夜间 */
body.mh-skin.night.mh-article .mh-buy-layer{
	border-color:var(--mh-border);
	box-shadow:0 30px 80px -30px #000;
}
body.mh-skin.night.mh-article.mh-style-6 .mh-buy-layer{
	border:1px solid rgba(255,255,255,.16);
	box-shadow:0 26px 60px -30px #000;
}
body.mh-skin.night.mh-article.mh-style-6 .mh-buy-layer .layui-layer-title{
	border-bottom:1px solid rgba(255,255,255,.12) !important;
}
body.mh-skin.night.mh-article.mh-style-6 .mh-buy-layer .layui-layer-setwin .layui-layer-close{
	border-color:rgba(255,255,255,.14);
	background-color:rgba(255,255,255,.06);
	color:var(--mh-title);
}
body.mh-skin.night.mh-article.mh-style-8 .mh-buy-layer{
	background:rgba(23,26,33,.94);
	border-color:rgba(255,255,255,.1);
}
body.mh-skin.night.mh-article .mh-buy-layer .layui-layer-content{
	background:#14151a;
}

/* 手机与小屏：弹窗限制在视口内并居中 */
@media (max-width:480px), (max-height:560px){
	body.mh-article .mh-buy-layer{
		left:50% !important;
		right:auto !important;
		top:50% !important;
		width:calc(100vw - 20px) !important;
		max-width:400px;
		height:calc(100vh - 24px) !important;
		height:calc(100dvh - 24px) !important;
		max-height:480px;
		margin:0 !important;
		box-sizing:border-box;
		transform:translate(-50%,-50%);
		animation:mh-buy-layer-fadein .2s ease-out !important;
	}
	body.mh-article .mh-buy-layer.mh-buy-closing{
		opacity:0 !important;
		transition:opacity .16s ease !important;
	}
	body.mh-article .mh-buy-layer .layui-layer-content{
		height:calc(100% - 42px) !important;
	}
	body.mh-article .mh-buy-layer .layui-layer-content iframe{
		height:100% !important;
	}
}
@keyframes mh-buy-layer-fadein{
	from{
		opacity:0;
	}
	to{
		opacity:1;
	}
}
