/* 圖片檢視器（viewer.js） */
.viewer {
	display: none;
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.88);
	align-items: center;
	justify-content: center;
}
.viewer.is-open { display: flex; }
.viewer-figure {
	margin: 0;
	max-width: 90vw;
	text-align: center;
}
.viewer-img {
	display: block;
	margin: 0 auto;
	max-width: 90vw;
	max-height: 82vh;
	width: auto;
	height: auto;
}
.viewer-caption {
	margin-top: 12px;
	color: #eee;
	font-family: "微軟正黑體", "Microsoft JhengHei", "Arial Unicode MS", sans-serif;
	font-size: 15px;
	line-height: 1.5;
}
.viewer button {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	border-radius: 4px;
}
.viewer button:hover,
.viewer button:focus { background: rgba(255, 255, 255, 0.28); }
.viewer-close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 34px; }
.viewer-prev,
.viewer-next { top: 50%; width: 48px; height: 64px; margin-top: -32px; }
.viewer-prev { left: 16px; }
.viewer-next { right: 16px; }
.viewer-link { cursor: zoom-in; }
