.item-tool:has(> .item-tool-dropdown-menu > .mn-property-share-empty),
.btn-share:has(> .item-tool-dropdown-menu > .mn-property-share-empty) { display: none !important; }
.item-tool[hidden],
.btn-share[hidden] { display: none !important; }

.item-tool-dropdown-menu { background-color: #202020; }
.item-tool-share[role="button"]:focus-visible { outline: 2px solid #b58c5e; outline-offset: 2px; }

.item-tool-dropdown-menu .mn-share-wechat {
	width: 100%;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.mn-wechat-share-open,
.mn-wechat-share-open body { overflow: hidden !important; }
.mn-wechat-share-dialog {
	position: fixed;
	width: min(380px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 1px solid #d9dce0;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 18px 60px rgba(7, 21, 38, .24);
	color: #20272c;
}
.mn-wechat-share-dialog::backdrop { background: rgba(5, 17, 31, .66); }
.mn-wechat-share-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 58px;
	padding: 8px 16px 8px 20px;
	border-bottom: 1px solid #e4e5e7;
}
.mn-wechat-share-dialog__header h2 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}
.mn-wechat-share-dialog__close {
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #4b535b;
	font-size: 18px;
	cursor: pointer;
}
.mn-wechat-share-dialog__close:hover { background: #f2f3f4; }
.mn-wechat-share-dialog__body { padding: 20px; }
.mn-wechat-share-dialog__qr { display: flex; justify-content: center; margin-bottom: 16px; }
.mn-wechat-share-dialog__qr img { display: block; width: 200px; height: 200px; object-fit: contain; }
.mn-wechat-share-dialog__qr[hidden] { display: none; }
.mn-wechat-share-dialog__help { margin: 0 0 18px; color: #4b535b; font-size: 13px; line-height: 1.45; text-align: center; }
.mn-wechat-share-dialog__label { display: block; margin-bottom: 12px; color: #394149; font-size: 12px; font-weight: 600; }
.mn-wechat-share-dialog__link {
	display: block;
	width: 100%;
	height: 40px;
	margin-top: 6px;
	padding: 0 10px;
	border: 1px solid #cfd3d7;
	border-radius: 4px;
	background: #f7f8f9;
	color: #30383f;
	font-size: 12px;
}
.mn-wechat-share-dialog__copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #b58c5e;
	border-radius: 4px;
	background: #b58c5e;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.mn-wechat-share-dialog__copy:hover { border-color: #957044; background: #957044; color: #fff; }
.mn-wechat-share-dialog__status { min-height: 17px; margin: 8px 0 0; color: #46704a; font-size: 12px; text-align: center; }
.mn-wechat-share-dialog__close:focus-visible,
.mn-wechat-share-dialog__copy:focus-visible,
.item-tool-dropdown-menu .mn-share-wechat:focus-visible { outline: 2px solid #b58c5e; outline-offset: 2px; }
