@charset 'utf-8';

body {
	background: var(--bg-basic);
}

.head .title {
	font-size: 20px;
	font-weight: 700;
}

.root .main {
	margin-top: var(--head-height);
	padding-top: 0;
	height: calc(100% - var(--head-height) - var(--menu-height));
}
.main .box {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 8px;
	border-radius: 8px;
}

.box .item {
	position: relative;
	width: 49%;
	margin-top: 12px;
	line-height: 0;
	background: var(--color-light);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 2px 2px 4px var(--bg-shade);
}
.box .item img {
	border-radius: 8px;
}
.box .item div {
	position: absolute;
	width: calc(100% - 16px);
	padding: 8px 8px;
	bottom: 0;
	color: var(--color-title);
	text-align: center;
	font-size: 16px;
	line-height: 16px;
	z-index: 9;
	opacity: 0.7;
	background: var(--color-light);
}

.modal-preview {
	/* display: block; */
}
.modal-preview .modal-mask {
	background: #000C;
}
.modal-preview .modal-body {
	padding: 0;
	background: transparent;
	/* border: 1px solid crimson; */
}
.modal-preview .modal-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	max-height: 100vh;
	padding: 0;
	overflow-y: hidden;
	background: transparent;
}
.modal-preview .nav {
	align-self: flex-start;
}
.modal-preview .nav img {
	width: 32px;
}
.modal-preview .image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80%;
	min-height: 80vh;
	flex-grow: 1;
	flex-shrink: 1;
	padding: 8px;
	line-height: 0;
}
.modal-preview .image .example {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 6px;
}
.modal-preview .button {
	width: calc(100% - 32px);
	margin: 0 8px;
	padding: 0 8px;
	text-align: center;
	/* background-color: chocolate; */
}
.modal-preview .button .btn {
	width: 80%;
	padding: 12px 0 12px 4px;
	font-size: 18px;
	line-height: 18px;
	letter-spacing: 4px;
	background-color: #C73A3A;
	border-radius: 4px;
}