﻿@import url("system.css");
/* 纵向屏幕 */
@media (orientation: portrait) {
	:root {
		--varimgwidht: 412px;
		--varimgheight: calc(var(--varimgwidht) / (52 / 25));
	}

	.bb-item img, .bb-inner img {
		width: var(--varimgwidht);
	}
}

@media (orientation: portrait) and (max-width: 393px) {
	:root {
		--varimgwidht: 390px;
	}
}

@media (orientation: portrait) and (max-width: 375px) {
	:root {
		--varimgwidht: 360px;
	}
}


/* 横向屏幕 */
@media (orientation: landscape) and  (max-width: 915px)  {
	:root {
		--varimgheight: 320px;
	}

	.bb-item img, .bb-inner img {
		height: var(--varimgheight);
		width: calc(var(--varimgheight) * (52 / 25));
	}

}
@media (orientation: landscape) and  (max-width: 740px)  {
	:root {
		--varimgheight: 280px;
	}
}
@media (orientation: landscape) and  (max-width: 667px)  {
	:root {
		--varimgheight: 260px;
	}
}






.image-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 1000;
}

.image-popup img {
	max-width: 90%;
	max-height: 90%;
	margin: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	touch-action: pinch-zoom;
}

.close-popup {
	position: absolute;
	top: 15px;
	right: 25px;
	color: #fff;
	font-size: 35px;
	cursor: pointer;
}



.mp .bb-bookblock,
.ml .bb-bookblock {
	height: var(--varimgheight);
	margin: calc((100vh - var(--varimgheight)) / 2) auto 0;
}

.mp .bb-custom-wrapper nav {
	margin: calc((100vh - var(--varimgheight)) / 2) auto 0;
	z-index: 99999;
	top: -5vh;
}

.ml .bb-custom-wrapper nav {
	margin: calc((100vh - var(--varimgheight)) / 2) auto 0;
	z-index: 99999;
	top: auto;
	bottom: 5vh;
}

.mp .backtonear, .ml .backtonear {
	display: none;
}
#bb-nav-wap, .mp #bb-nav-wap{
	display: none;
}
.ml #bb-nav-wap{
	display: inline-block;
}
 #bb-nav-wap:hover{
	opacity: 1 !important;
}
.weixininfo {
	width: 100%;
	overflow: hidden;
	color: #666;
	margin-top: 5vh;
	font-size: 0.8125rem;
	display: none;
	text-align: left;
}
.mp .weixininfo.wx{
	display: block;
}
.weixininfo p{
	width: 80%;
	margin: 0 auto ;
	line-height: 1.4;
}
.weixininfo p b{
	color: #999;
}
.weixininfo p:first-child{
	text-align: center;
	padding: 20px 0;
}