@charset "utf-8";
@import url(base.css);
html,body{background: #f5f5f5;max-width: 750px;margin: 0 auto;height: 100vh;}
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 10px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.headerleft a {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	text-decoration: none;
}

.headeright {
	display: flex;
	gap: 15px;
}

.headeright span{
	font-size: 14px;
	color: #2C6BFE;
	cursor: pointer;
}

.conter {
	position: fixed;
	top: 45px;
	bottom: 60px;
	left: 0;
	right: 0;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.flipbook-container {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f5f5f5;
}

.flipbook {
	transform-origin: center center;
}

.flipbook .page {
	background: white;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	position: relative;
}

.flipbook .page img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    /* 默认情况下使用 10px 的底部 padding */
    padding-bottom: 20px;
}
 


.footer a {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	padding: 8px 15px;
	border-radius: 4px;
	transition: all 0.3s;
}

.footer a:hover {
	background: #f0f0f0;
}

.footer a i {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.footer .prev i {
	background-image: url("../images/left.svg");
}

.footer .next i {
	background-image: url("../images/right.svg");
}
.mobile{width: 100%;height: 100%;position: fixed;top: 0;right: -100%;z-index: 3000;}
.mobilebj{width: 100%;height: 100%;position: fixed;top: 0;right: -100%;background: rgba(0,0,0,0.5);}
.mobilebox{width: 60%;height: 100%;position: absolute;top: 0;right: -50%;background: #F6F7F8;}
.mobilebox .close{width: 100%;height: 44px;position: relative;background: #fff;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);}
.mobilebox .close span{font-size: 16px;color: #333;float: left;margin-left: 16px;height: 44px;display: flex;align-items: center;}
.mobilebox .close i{float: right;width: 44px;height: 44px;background: url(../images/menu-close.svg) center no-repeat;cursor: pointer;}
.mobilelist{width: 100%;height: calc(100% - 60px);padding: 20px;box-sizing: border-box;overflow-y: auto;}
.mobilelist>ul>li{width: 32%;margin-right: 2%;margin-bottom: 2%;float: left;}
.mobilelist>ul>li:nth-child(3n){margin-right: 0;}
.mobilelist>ul>li>a{display: block;width: 100%;}
.mobileimg{width: 100%;box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.05);background:#fff;border: 4px solid #EBEBEB;box-sizing:border-box;height:260px;overflow:hidden;}
.mobileimg img{width: 200px;height: 100%;object-fit: contain;margin: 0 auto;display: block;}
.mobilelist>ul>li>a p{font-size: 14px;color: #333;text-align: center;padding: 10px 4px;box-sizing: border-box;
overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}

@media screen and (max-width: 1030px) {
	.mobilebox{width: 80%;right: -80%;}
	.magazine-viewport .container{top: 52%;}
}
@media screen and (max-width: 768px) {
	.flipbook {
		width: 95%;
		height: 85%;
	}

	.footer {
		padding: 10px 10px 20px 10px;
		gap: 15px;
	}

	.footer a {
		padding: 6px 10px;
		font-size: 12px;
	}
}

@media screen and (max-width: 680px) {
	.magazine-viewport .container{top: 53%;}
	.mobilebox{width: 100%;right: -100%;}
	.mobilelist{padding: 12px;}
	.mobileimg{height:150px;}
	.mobileimg img{width: 100%;}
}
