.mjdd-zj {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	clear: both;
	margin: 16px 0 12px;
	padding: 14px 16px 18px;
	overflow: hidden;
	background: #fff;
	color: #243028;
	border: 1px solid #e4f2e5;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(24, 60, 32, 0.08);
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.mjdd-zj::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 34px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 36' preserveAspectRatio='none'%3E%3Cpath fill='%23dff3d8' d='M0 18c48 12 96 16 150 6 46-8 78-16 128-10 42 5 82 14 122 8v14H0z'/%3E%3Cpath fill='%23eef8ea' d='M0 24c70 8 120 2 180-4 48-5 90 8 140 5 36-2 58 4 80 2v9H0z'/%3E%3C/svg%3E") no-repeat bottom center / 100% 34px;
	pointer-events: none;
}

.mjdd-zj__badge,
.mjdd-zj__body {
	position: relative;
	z-index: 1;
}

.mjdd-zj__badge {
	display: flex;
	flex: 0 0 34px;
	width: 34px;
	margin-top: 1px;
}

.mjdd-zj__badge svg {
	display: block;
	width: 34px;
	height: 40px;
}

.summary .mjdd-zj__title,
.mjdd-zj__title {
	margin: 0 0 3px;
	color: #1c1c1c;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	clear: none;
}

.mjdd-zj p {
	margin: 0;
}

.mjdd-zj__text {
	color: #5e6862;
	font-size: 13px;
	line-height: 1.45;
}

a.mjdd-zj__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 7px;
	color: #178a3c;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: underline;
	text-underline-offset: 2px;
}

a.mjdd-zj__more:hover,
a.mjdd-zj__more:focus,
a.mjdd-zj__more:active {
	color: #116b2e;
}

.mjdd-zj-pages {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 820px;
	margin: 0 auto 1.5rem;
}

.mjdd-zj-pages img {
	display: block;
	width: 100%;
	height: auto;
	background: #fff;
}

.mjdd-zj-modal[hidden] {
	display: none !important;
}

.mjdd-zj-modal {
	position: fixed;
	z-index: 1000001;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 24px;
	overflow: hidden;
	background: rgba(0, 13, 34, 0.72);
}

.mjdd-zj-modal__dialog {
	position: relative;
	display: flex;
	width: fit-content;
	max-width: calc(100vw - 48px);
	max-height: calc(100vh - 56px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: transparent;
	border-radius: 12px;
	box-sizing: border-box;
}

.mjdd-zj-modal__close {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #141414;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.mjdd-zj-modal__close:hover,
.mjdd-zj-modal__close:focus {
	background: #e4e4e4;
	color: #141414;
}

.mjdd-zj-modal .mjdd-zj-pages {
	flex: 1 1 auto;
	min-height: 0;
	width: auto;
	max-width: none;
	margin: 0;
	overflow: hidden;
}

.mjdd-zj-modal .mjdd-zj-pages img {
	width: auto;
	height: auto;
	max-width: calc(100vw - 48px);
	max-height: calc(100vh - 56px);
	object-fit: contain;
}

@media (max-width: 767px) {
	.mjdd-zj-modal {
		padding: 20px 16px;
	}

	.mjdd-zj-modal__dialog {
		max-width: calc(100vw - 32px);
		max-height: calc(100vh - 40px);
	}

	.mjdd-zj-modal .mjdd-zj-pages img {
		max-width: calc(100vw - 32px);
		max-height: calc(100vh - 40px);
	}
}

html.mjdd-zj-lock,
html.mjdd-zj-lock body {
	overflow: hidden;
}
