/* 麦尔会微信会员中心 */
.mayer-wx-box,
.mayer-wx-member {
	--wx-ink: #162033;
	--wx-muted: #667085;
	--wx-line: #e4e8ef;
	--wx-blue: #1f5fd6;
	--wx-blue-dark: #1649a8;
	--wx-soft: #f5f7fb;
	--wx-danger: #b42318;
	max-width: 760px;
	margin: 24px auto;
	color: var(--wx-ink);
	font-size: 15px;
	line-height: 1.65;
}

.mayer-wx-box {
	padding: 24px;
	border: 1px solid var(--wx-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(16, 24, 40, .06);
}

.mayer-wx-member {
	display: grid;
	gap: 14px;
}

.mayer-wx-card {
	padding: 22px;
	border: 1px solid var(--wx-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.mayer-wx-card h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.3;
}

.mayer-wx-card-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.mayer-wx-card-title span {
	color: var(--wx-muted);
	font-size: 13px;
}

.mayer-wx-profile {
	background: linear-gradient(135deg, #12305f, #1f5fd6 60%, #5b8def);
	color: #fff;
	border: 0;
}

.mayer-wx-profile .mayer-wx-muted,
.mayer-wx-profile h2 {
	color: #fff;
}

.mayer-wx-profile-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mayer-wx-profile h2 {
	margin: 0 0 4px;
	font-size: 20px;
	line-height: 1.2;
}

.mayer-wx-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	border-radius: 50%;
	object-fit: cover;
	background: rgba(255, 255, 255, .22);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
}

.mayer-wx-avatar.is-empty {
	border: 1px solid rgba(255, 255, 255, .35);
}

.mayer-wx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--wx-blue);
	border-radius: 999px;
	background: var(--wx-blue);
	color: #fff !important;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .18s ease, transform .18s ease;
}

.mayer-wx-btn:hover {
	background: var(--wx-blue-dark);
	border-color: var(--wx-blue-dark);
	color: #fff !important;
	transform: translateY(-1px);
}

.mayer-wx-btn.is-small {
	min-height: 36px;
	padding: 0 14px;
	font-size: 13px;
}

.mayer-wx-btn.is-ghost {
	background: transparent;
	color: var(--wx-blue) !important;
}

.mayer-wx-btn.is-ghost:hover {
	background: var(--wx-soft);
}

.mayer-wx-link {
	color: var(--wx-blue);
	text-decoration: none;
}

.mayer-wx-muted {
	margin: 0;
	color: var(--wx-muted);
	font-size: 13px;
}

.mayer-wx-list,
.mayer-wx-notices {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mayer-wx-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
	border-bottom: 1px solid var(--wx-line);
}

.mayer-wx-list li:last-child {
	border-bottom: 0;
}

.mayer-wx-list-main {
	font-weight: 600;
}

.mayer-wx-list-main em {
	margin-left: 4px;
	padding: 1px 7px;
	border-radius: 999px;
	background: #eef4ff;
	color: var(--wx-blue);
	font-size: 11px;
	font-style: normal;
}

.mayer-wx-danger {
	margin-left: auto;
	color: var(--wx-danger) !important;
	font-size: 13px;
	text-decoration: none;
}

.mayer-wx-form,
.mayer-wx-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.mayer-wx-input {
	flex: 1 1 180px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--wx-line);
	border-radius: 10px;
	font-size: 14px;
	background: #fff;
}

.mayer-wx-input:focus {
	outline: 2px solid rgba(31, 95, 214, .18);
	border-color: var(--wx-blue);
}

.mayer-wx-notices li {
	padding: 12px 0;
	border-bottom: 1px solid var(--wx-line);
}

.mayer-wx-notices li:last-child {
	border-bottom: 0;
}

.mayer-wx-notices li.is-unread {
	padding-left: 12px;
	border-left: 3px solid var(--wx-blue);
	background: #f7faff;
}

.mayer-wx-notice-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.mayer-wx-notice-head time {
	color: var(--wx-muted);
	font-size: 12px;
	white-space: nowrap;
}

.mayer-wx-notice-body {
	margin-top: 4px;
	color: #344054;
	font-size: 14px;
}

.mayer-wx-alert {
	margin: 0;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 14px;
}

.mayer-wx-alert.is-ok {
	border: 1px solid #b7e4c7;
	background: #effaf3;
	color: #17663a;
}

.mayer-wx-alert.is-error {
	border: 1px solid #f5c2c0;
	background: #fff4f3;
	color: #912018;
}

.mayer-wx-foot {
	text-align: center;
}

@media (max-width: 560px) {
	.mayer-wx-box,
	.mayer-wx-member {
		margin: 14px auto;
		font-size: 14px;
	}

	.mayer-wx-card,
	.mayer-wx-box {
		padding: 16px;
		border-radius: 12px;
	}

	.mayer-wx-form,
	.mayer-wx-inline {
		display: grid;
	}

	.mayer-wx-btn,
	.mayer-wx-input {
		width: 100%;
	}
}
