﻿body {
	overflow: hidden;
	background-color: #0c0c0c;
	background-image: linear-gradient(180deg, #1a1a1a 0%, #0c0c0c 40%, #1b3022 100%);
	margin: 0;
	padding: 0;
}
#canvas {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #141414 0%, #0c0c0c 55%, #16261a 100%);
}
.dz-topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	box-sizing: border-box;
	pointer-events: none;
}
.dz-topbar a {
	pointer-events: auto;
	color: rgba(255,255,255,0.85);
	text-decoration: none;
	font: 600 14px/1.2 "Microsoft YaHei", Arial, sans-serif;
}
.dz-topbar a:hover { color: #fff; }
.dz-title {
	color: #fff;
	font: 700 16px/1.2 "Microsoft YaHei", Arial, sans-serif;
	letter-spacing: 0.04em;
}
.magazine-viewport .container {
	position: absolute;
	top: 54%;
	left: 50%;
	width: 1400px;
	height: 781px;
	margin: auto;
}
.magazine-viewport .magazine {
	width: 1400px;
	height: 781px;
	left: -661px;
	top: -300px;
}
.magazine-viewport .page {
	width: 700px;
	height: 781px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.magazine-viewport .zoomer .region { display: none; }
.magazine .region {
	position: absolute;
	overflow: hidden;
	background: #0066FF;
	opacity: 0.2;
	border-radius: 10px;
	cursor: pointer;
}
.magazine .page {
	box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.magazine-viewport .page img {
	-webkit-user-select: none;
	user-select: none;
	margin: 0;
	object-fit: contain;
	background: #fff;
}
.magazine .even .gradient {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background-image: linear-gradient(to right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
	pointer-events: none;
}
.magazine .odd .gradient {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background-image: linear-gradient(to left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
	pointer-events: none;
}
.magazine-viewport .zoom-in .even .gradient,
.magazine-viewport .zoom-in .odd .gradient { display: none; }
.magazine-viewport .loader {
	width: 28px;
	height: 28px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -14px 0 0 -14px;
	border: 3px solid rgba(45,106,62,0.2);
	border-top-color: #2d6a3e;
	border-radius: 50%;
	animation: dz-spin 0.8s linear infinite;
}
@keyframes dz-spin { to { transform: rotate(360deg); } }
.page-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #999;
	font: 14px/1.4 "Microsoft YaHei", Arial, sans-serif;
}
.magazine-viewport .shadow {
	transition: box-shadow 0.5s;
	box-shadow: 0 0 20px #ccc;
}
.next-button,
.previous-button {
	width: 52px;
	height: 52px;
	position: absolute;
	top: 50%;
	margin-top: -26px;
	z-index: 10;
	border-radius: 50%;
	background: rgba(45,106,62,0.92);
	box-shadow: 0 4px 16px rgba(0,0,0,0.35);
	cursor: pointer;
}
.next-button::before,
.previous-button::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	box-sizing: border-box;
}
.next-button::before {
	transform: translate(-65%, -50%) rotate(45deg);
}
.previous-button::before {
	transform: translate(-35%, -50%) rotate(-135deg);
}
.next-button { right: 10px; }
.previous-button { left: 10px; }
.magazine-viewport .previous-button-hover,
.magazine-viewport .next-button-hover {
	background: #2d6a3e;
	cursor: pointer;
}
.magazine-viewport .zoom-in .next-button,
.magazine-viewport .zoom-in .previous-button { display: none; }
.animated {
	transition: margin-left 0.5s;
}
.exit-message {
	position: absolute;
	top: 10px;
	left: 0;
	width: 100%;
	height: 40px;
	z-index: 10000;
}
.exit-message > div {
	width: 180px;
	height: 30px;
	margin: auto;
	background: rgba(0,0,0,0.5);
	text-align: center;
	font: 12px arial;
	line-height: 30px;
	color: white;
	border-radius: 10px;
}
.zoom-icon {
	position: absolute;
	z-index: 1000;
	width: 36px;
	height: 36px;
	top: 56px;
	right: 18px;
	border-radius: 50%;
	background: rgba(255,255,255,0.14);
	cursor: pointer;
}
.zoom-icon::before,
.zoom-icon::after {
	content: '';
	position: absolute;
	background: #fff;
}
.zoom-icon-in::before {
	width: 14px;
	height: 14px;
	left: 9px;
	top: 9px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
	box-sizing: border-box;
}
.zoom-icon-in::after {
	width: 8px;
	height: 2px;
	left: 22px;
	top: 22px;
	transform: rotate(45deg);
	transform-origin: left center;
}
.zoom-icon-out::before {
	width: 14px;
	height: 2px;
	left: 11px;
	top: 17px;
}
.zoom-icon-out::after { display: none; }
.zoom-icon-in.zoom-icon-in-hover,
.zoom-icon-out.zoom-icon-out-hover {
	background: rgba(45,106,62,0.95);
}
.bottom {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
}
.dz-empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.75);
	font: 16px/1.6 "Microsoft YaHei", Arial, sans-serif;
	z-index: 5;
}
