:root {
	--qimeng-payment-bg: #ffffff;
	--qimeng-payment-white: #ffffff;
	--qimeng-payment-surface: #f8fafc;
	--qimeng-payment-border: #e5e7eb;
	--qimeng-payment-text: #374151;
	--qimeng-payment-muted: #6b7280;
	--qimeng-payment-primary: #15c66b;
	--qimeng-payment-primary-soft: #effdf5;
	--qimeng-payment-danger: #e5484d;
	--qimeng-payment-disabled: #cbd5e1;
	--qimeng-payment-alipay: #2277f3;
	--qimeng-payment-alipay-soft: #eff6ff;
	--qimeng-payment-epay: #ff6a3d;
	--qimeng-payment-epay-soft: #fff4ed;
	--qimeng-payment-focus-ring: rgba(21, 198, 107, 0.12);
	--qimeng-payment-backdrop: rgba(17, 24, 39, 0.08);
	--qimeng-payment-dark-border: rgba(255, 255, 255, 0.08);
	--qimeng-payment-dark-border-strong: rgba(255, 255, 255, 0.1);
	--qimeng-payment-dark-surface: rgba(255, 255, 255, 0.04);
	--qimeng-payment-dark-surface-strong: rgba(255, 255, 255, 0.06);
	--qimeng-payment-dark-field: rgba(15, 23, 42, 0.82);
	--qimeng-payment-dark-text: #f8fafc;
	--qimeng-payment-dark-label: #f3f4f6;
	--qimeng-payment-dark-muted: rgba(226, 232, 240, 0.72);
	--qimeng-payment-shadow: 0 16px 48px rgba(15, 23, 42, 0.16);
	--qimeng-payment-modal-shadow: 0 20px 48px rgba(15, 23, 42, 0.08),
		0 6px 18px rgba(15, 23, 42, 0.05);
}

.qm-vip-pay {
	display: grid;
	gap: 14px;
}

.qm-vip-pay__disabled {
	border: 1px solid var(--qimeng-payment-border);
	border-radius: var(--qm-radius-sm);
	background: var(--qimeng-payment-surface);
	color: var(--qimeng-payment-muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	padding: 12px;
	text-align: center;
}

.qm-vip-order-strip,
.qm-vip-order-method,
.qm-vip-order-total {
	border: 1px solid var(--qimeng-payment-border);
	border-radius: var(--qm-radius-sm);
	background: var(--qimeng-payment-surface);
	color: var(--qimeng-payment-text);
}

.qm-vip-order-strip {
	padding: 10px 12px;
	font-size: 13px;
	color: var(--qimeng-payment-muted);
}

.qm-vip-order-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 12px;
}

.qm-vip-pay__label,
.qm-vip-order-method__hint {
	font-size: 13px;
	font-weight: 400;
	color: var(--qimeng-payment-muted);
}

.qm-vip-pay__price {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--qimeng-payment-text);
}

.qm-vip-order-methods {
	display: grid;
	gap: 8px;
}

.qm-vip-order-method {
	display: grid;
	gap: 3px;
	padding: 10px 12px 10px 36px;
	position: relative;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.qm-vip-order-method input {
	position: absolute;
	left: 12px;
	top: 13px;
}

.qm-vip-order-method--active {
	border-color: var(--qimeng-payment-primary);
	background: var(--qimeng-payment-primary-soft);
}

.qm-vip-order-method__name {
	font-size: 15px;
	font-weight: 500;
	color: var(--qimeng-payment-text);
}

.qm-vip-pay__button {
	width: 100%;
	border: 0;
	border-radius: var(--qm-radius-sm);
	padding: 12px 14px;
	background: var(--qimeng-payment-primary);
	color: var(--qimeng-payment-white);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.qm-vip-pay__button:disabled,
[data-qm-payment-loading="1"] {
	cursor: not-allowed;
	opacity: 0.65;
}

.qm-payment-coupon-field {
	display: grid;
	gap: 8px;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--qimeng-payment-border);
	border-radius: 10px;
	background: var(--qimeng-payment-surface);
}

.qm-payment-coupon-field__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.qm-payment-coupon-field__label {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--qimeng-payment-text);
}

.qm-payment-coupon-field__note,
.qm-payment-coupon-field__summary {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--qimeng-payment-muted);
}

.qm-payment-coupon-field__control {
	display: block;
}

.qm-payment-coupon-field__control select {
	width: 100%;
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid var(--qimeng-payment-border);
	border-radius: 10px;
	background: var(--qimeng-payment-bg);
	color: var(--qimeng-payment-text);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qm-payment-coupon-field__control select:focus {
	border-color: var(--qimeng-payment-primary);
	box-shadow: 0 0 0 3px var(--qimeng-payment-focus-ring);
}

.qm-payment-coupon-field.qm-article-inline-download__coupon,
.qm-payment-coupon-field.qm-article-download-card__coupon {
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	gap: 0;
}

.qm-payment-coupon-field.qm-article-inline-download__coupon .qm-payment-coupon-field__head,
.qm-payment-coupon-field.qm-article-inline-download__coupon .qm-payment-coupon-field__summary,
.qm-payment-coupon-field.qm-article-download-card__coupon .qm-payment-coupon-field__head,
.qm-payment-coupon-field.qm-article-download-card__coupon .qm-payment-coupon-field__summary {
	display: none;
}

.qm-payment-coupon-field.qm-article-inline-download__coupon .qm-payment-coupon-field__control,
.qm-payment-coupon-field.qm-article-download-card__coupon .qm-payment-coupon-field__control {
	display: block;
}

.qm-payment-coupon-field.qm-article-inline-download__coupon .qm-payment-coupon-field__control select,
.qm-payment-coupon-field.qm-article-download-card__coupon .qm-payment-coupon-field__control select {
	min-height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: 10px;
	background: var(--qimeng-payment-surface);
	box-shadow: none;
	color: var(--qimeng-payment-muted);
}

.qm-payment-coupon-field.qm-article-inline-download__coupon .qm-payment-coupon-field__control select:focus,
.qm-payment-coupon-field.qm-article-download-card__coupon .qm-payment-coupon-field__control select:focus {
	border-color: transparent;
	box-shadow: none;
}

.qimeng-payment-method-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 16px;
}

.qimeng-payment-method-modal,
.qimeng-payment-method-modal *,
.qimeng-payment-method-modal *::before,
.qimeng-payment-method-modal *::after {
	box-sizing: border-box;
}

.qimeng-payment-method-modal__backdrop {
	position: absolute;
	inset: 0;
	background: var(--qimeng-payment-backdrop);
}

.qimeng-payment-method-modal__card {
	position: relative;
	z-index: 1;
	width: min(380px, 100%);
	border-radius: 14px;
	background: var(--qimeng-payment-bg);
	box-shadow: var(--qimeng-payment-modal-shadow);
	padding: 26px 22px 22px;
	text-align: center;
}

.qimeng-payment-method-modal__card.is-license {
	width: min(410px, 100%);
	padding: 28px 24px 24px;
}

.qimeng-payment-method-modal__card.is-license .qimeng-payment-method-modal__title {
	margin-bottom: 4px;
	font-size: 18px;
}

.qimeng-payment-method-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: var(--qm-radius-xs);
	background: var(--qimeng-payment-surface);
	color: var(--qimeng-payment-muted);
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
}

.qimeng-payment-method-modal__title {
	margin: 0 0 16px;
	color: var(--qimeng-payment-text);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}

.qimeng-payment-method-modal__qr {
	display: grid;
	place-items: center;
	width: min(200px, 62vw);
	aspect-ratio: 1;
	margin: 0 auto 10px;
	border: 1px solid var(--qimeng-payment-border);
	border-radius: var(--qm-radius-sm);
	background: var(--qimeng-payment-white);
	overflow: hidden;
}

.qimeng-payment-method-modal__qr[data-state="loading"] {
	background: var(--qimeng-payment-surface);
}

.qimeng-payment-method-modal__qr[data-gateway="alipay"] {
	--qimeng-payment-primary: var(--qimeng-payment-alipay);
}

.qimeng-payment-method-modal__qr[data-gateway="epay"] {
	--qimeng-payment-primary: var(--qimeng-payment-epay);
}

.qimeng-payment-method-modal__qr-img {
	display: block;
	width: min(200px, 62vw);
	aspect-ratio: 1;
	background: var(--qimeng-payment-white);
	object-fit: contain;
	animation: qimeng-payment-qr-reveal 0.24s ease both;
}

.qimeng-payment-method-modal__qr-loader {
	display: grid;
	justify-items: center;
	gap: 12px;
	padding: 20px;
	color: var(--qimeng-payment-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.qimeng-payment-method-modal__qr-spinner {
	width: 38px;
	height: 38px;
	border: 3px solid var(--qimeng-payment-border);
	border-top-color: var(--qimeng-payment-primary);
	border-radius: 50%;
	animation: qimeng-payment-spin 0.8s linear infinite;
}

.qimeng-payment-method-modal__qr-placeholder {
	padding: 0 18px;
	color: var(--qimeng-payment-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.qimeng-payment-method-modal__qr-placeholder.is-error {
	color: var(--qimeng-payment-danger);
}

.qimeng-payment-method-modal__selected {
	min-height: 24px;
	margin-bottom: 14px;
	color: var(--qimeng-payment-primary);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

html.dark .qm-payment-coupon-field,
body.dark .qm-payment-coupon-field {
	border-color: var(--qimeng-payment-dark-border);
	background: var(--qimeng-payment-dark-surface);
}

html.dark .qm-payment-coupon-field__label,
body.dark .qm-payment-coupon-field__label {
	color: var(--qimeng-payment-dark-label);
}

html.dark .qm-payment-coupon-field__note,
html.dark .qm-payment-coupon-field__summary,
body.dark .qm-payment-coupon-field__note,
body.dark .qm-payment-coupon-field__summary {
	color: var(--qimeng-payment-dark-muted);
}

html.dark .qm-payment-coupon-field__control select,
body.dark .qm-payment-coupon-field__control select {
	border-color: var(--qimeng-payment-dark-border-strong);
	background: var(--qimeng-payment-dark-field);
	color: var(--qimeng-payment-dark-text);
}

html.dark .qm-payment-coupon-field.qm-article-inline-download__coupon .qm-payment-coupon-field__control select,
html.dark .qm-payment-coupon-field.qm-article-download-card__coupon .qm-payment-coupon-field__control select,
body.dark .qm-payment-coupon-field.qm-article-inline-download__coupon .qm-payment-coupon-field__control select,
body.dark .qm-payment-coupon-field.qm-article-download-card__coupon .qm-payment-coupon-field__control select {
	border-color: transparent;
	background: var(--qimeng-payment-dark-surface-strong);
	box-shadow: none;
}

.qimeng-payment-method-modal__selected[data-gateway="alipay"] {
	color: var(--qimeng-payment-alipay);
}

.qimeng-payment-method-modal__selected[data-gateway="epay"] {
	color: var(--qimeng-payment-epay);
}

.qimeng-payment-method-modal__methods {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.qimeng-payment-method-modal__method {
	display: grid;
	justify-items: center;
	gap: 6px;
	width: 72px;
	min-height: 78px;
	padding: 9px 6px 8px;
	border: 2px solid transparent;
	border-radius: var(--qm-radius-sm);
	background: var(--qimeng-payment-surface);
	color: var(--qimeng-payment-text);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.qimeng-payment-method-modal__method.is-active {
	border-color: var(--qimeng-payment-primary);
	background: var(--qimeng-payment-primary-soft);
}

.qimeng-payment-method-modal__method.is-active[data-gateway="alipay"] {
	border-color: var(--qimeng-payment-alipay);
	background: var(--qimeng-payment-alipay-soft);
}

.qimeng-payment-method-modal__method.is-active[data-gateway="epay"] {
	border-color: var(--qimeng-payment-epay);
	background: var(--qimeng-payment-epay-soft);
}

.qimeng-payment-method-modal__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: var(--qm-radius-sm);
	background: var(--qimeng-payment-primary);
	color: var(--qimeng-payment-white);
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
}

.qimeng-payment-method-modal__icon[data-gateway="alipay"] {
	background: var(--qimeng-payment-alipay);
}

.qimeng-payment-method-modal__icon[data-gateway="epay"] {
	background: var(--qimeng-payment-epay);
}

.qimeng-payment-method-modal__name {
	color: var(--qimeng-payment-text);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.qimeng-payment-method-modal__empty {
	width: 100%;
	padding: 16px;
	border-radius: var(--qm-radius-sm);
	background: var(--qimeng-payment-surface);
	color: var(--qimeng-payment-muted);
	font-size: 15px;
	line-height: 1.55;
}

.qimeng-payment-method-modal__status {
	margin-top: 10px;
	color: var(--qimeng-payment-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.qimeng-payment-method-modal__order {
	margin-top: 6px;
	color: var(--qimeng-payment-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	word-break: break-all;
}

.qimeng-payment-method-modal__license {
	display: grid;
	gap: 16px;
	margin-top: 12px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: left;
	box-shadow: none;
}

.qimeng-payment-method-modal__license[hidden],
.qimeng-payment-method-modal__qr[hidden],
.qimeng-payment-method-modal__methods[hidden] {
	display: none;
}

.qimeng-payment-method-modal__license-row {
	display: grid;
	gap: 10px;
	padding: 16px;
	border: 1px solid var(--qimeng-payment-border);
	border-radius: 10px;
	background: var(--qimeng-payment-surface);
}

.qimeng-payment-method-modal__license-label {
	color: var(--qimeng-payment-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.qimeng-payment-method-modal__license-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 36px;
	align-items: center;
	gap: 12px;
}

.qimeng-payment-method-modal__license code {
	display: block;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--qimeng-payment-text);
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0;
	overflow-wrap: anywhere;
	word-break: normal;
}

.qimeng-payment-method-modal__license-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border: 1px solid var(--qimeng-payment-border);
	border-radius: 6px;
	background: var(--qimeng-payment-bg);
	color: var(--qimeng-payment-text);
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	line-height: 1;
	transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.qimeng-payment-method-modal__license-copy:hover,
.qimeng-payment-method-modal__license-copy:focus-visible {
	border-color: var(--qimeng-payment-primary);
	color: var(--qimeng-payment-primary);
	transform: translateY(-1px);
}

.qimeng-payment-method-modal__license-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	padding: 14px 0;
	border-top: 1px solid var(--qimeng-payment-border);
	border-bottom: 1px solid var(--qimeng-payment-border);
}

.qimeng-payment-method-modal__license-item {
	display: grid;
	gap: 4px;
	min-width: 0;
	padding: 0 14px;
	background: transparent;
}

.qimeng-payment-method-modal__license-item + .qimeng-payment-method-modal__license-item {
	border-left: 1px solid var(--qimeng-payment-border);
}

.qimeng-payment-method-modal__license-item span {
	color: var(--qimeng-payment-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.qimeng-payment-method-modal__license-item strong {
	color: var(--qimeng-payment-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.qimeng-payment-method-modal__license-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 6px;
	background: var(--qimeng-payment-primary);
	color: var(--qimeng-payment-white);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.qimeng-payment-method-modal__license-download:hover,
.qimeng-payment-method-modal__license-download:focus-visible {
	color: var(--qimeng-payment-white);
	transform: translateY(-1px);
}

.qimeng-payment-method-modal__license-download.is-disabled {
	background: var(--qimeng-payment-disabled);
	color: var(--qimeng-payment-white);
	cursor: not-allowed;
	pointer-events: none;
}

@media (min-width: 1024px) {
	body.qimeng-payment-modal-open:has(.qimeng-payment-method-modal.is-vip-desktop) {
		overflow: hidden;
	}

	.qimeng-payment-method-modal.is-vip-desktop {
		display: block;
		min-width: 1024px;
		min-height: 624px;
		padding: 0;
		overflow: auto;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	}

	.qimeng-payment-method-modal.is-vip-desktop .qimeng-payment-method-modal__backdrop {
		position: fixed;
		background: rgba(0, 0, 0, 0.4);
	}

	.qimeng-payment-method-modal.is-vip-desktop .qimeng-vip-desktop {
		position: absolute;
		top: max(12px, calc(50% - 288.5px));
		left: max(22px, calc(50% - 475px));
		width: 980px;
		height: 600px;
		padding: 0;
		border-radius: 13px;
		background: #fff;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
		color: #18181a;
		text-align: left;
		overflow: hidden;
	}

	.qimeng-vip-desktop a {
		text-decoration: none;
	}

	.qimeng-vip-desktop__header {
		position: absolute;
		inset: 0 0 auto;
		z-index: 0;
		height: 58px;
		border-radius: 13px 13px 0 0;
		background: linear-gradient(98deg, #ef8ccc 0%, #fe3d75 52%, #f57882 100%);
		overflow: hidden;
	}

	.qimeng-vip-desktop__header-facets {
		position: absolute;
		inset: 0 auto 0 0;
		width: 272.5px;
		opacity: 0.38;
	}

	.qimeng-vip-desktop__header-facets::before,
	.qimeng-vip-desktop__header-facets::after {
		position: absolute;
		content: "";
	}

	.qimeng-vip-desktop__header-facets::before {
		inset: -22px 112px -22px -28px;
		border-radius: 50%;
		background: rgba(217, 116, 245, 0.8);
		transform: rotate(-19deg);
	}

	.qimeng-vip-desktop__header-facets::after {
		inset: 0 0 0 94px;
		background:
			linear-gradient(119deg, rgba(255, 255, 255, 0.23) 0 32%, transparent 32% 54%, rgba(218, 90, 207, 0.36) 54% 76%, transparent 76%),
			linear-gradient(62deg, transparent 0 42%, rgba(255, 255, 255, 0.18) 42% 66%, transparent 66%);
		clip-path: polygon(0 0, 100% 0, 76% 100%, 18% 100%);
	}

	.qimeng-vip-desktop__header-watermark {
		position: absolute;
		top: -10px;
		right: 199.5px;
		display: grid;
		place-items: center;
		width: 130px;
		height: 67px;
		color: #ff164f;
		font-size: 76px;
		opacity: 0.22;
		transform: rotate(9deg);
	}

	.qimeng-vip-desktop__account,
	.qimeng-vip-desktop__promotion,
	.qimeng-vip-desktop__header-actions,
	.qimeng-vip-desktop > .qimeng-payment-method-modal__close {
		position: absolute;
		z-index: 4;
	}

	.qimeng-vip-desktop__account {
		top: 13.5px;
		left: 15px;
		display: flex;
		align-items: center;
		gap: 8px;
		height: 25px;
		color: #fff;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__account > span {
		display: grid;
		place-items: center;
		width: 25px;
		height: 25px;
		border-radius: 50%;
		background: rgba(213, 142, 255, 0.72);
		font-size: 12px;
	}

	.qimeng-vip-desktop__account strong,
	.qimeng-vip-desktop__account b {
		font-size: 13px;
		font-weight: 500;
		line-height: 18px;
	}

	.qimeng-vip-desktop__account b {
		font-weight: 400;
	}

	.qimeng-vip-desktop__account > i {
		font-size: 10px;
	}

	.qimeng-vip-desktop__promotion {
		top: 14px;
		left: 307.5px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 342px;
		height: 23px;
		padding: 0 9px;
		border: 1px solid rgba(255, 255, 255, 0.26);
		border-radius: 12px;
		background: rgba(255, 60, 122, 0.2);
		color: #fff;
		font-size: 11.5px;
		font-weight: 400;
		line-height: 16px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__promotion small {
		color: rgba(255, 255, 255, 0.72);
		font-size: 10px;
	}

	.qimeng-vip-desktop__header-actions {
		top: 14.5px;
		right: 47px;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 8px;
		height: 21px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__header-actions a,
	.qimeng-vip-desktop__header-actions span {
		color: #fff;
		font-size: 12px;
		font-weight: 400;
		line-height: 17px;
	}

	.qimeng-vip-desktop__header-actions a {
		display: inline-flex;
		align-items: center;
		gap: 4px;
	}

	.qimeng-vip-desktop__header-actions span {
		opacity: 0.58;
	}

	.qimeng-vip-desktop > .qimeng-payment-method-modal__close {
		top: 11.5px;
		right: 13.5px;
		display: grid;
		place-items: center;
		width: 22px;
		height: 22px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #fff;
		font-size: 19px;
		line-height: 20px;
	}

	.qimeng-vip-desktop > .qimeng-payment-method-modal__close:focus-visible,
	.qimeng-vip-desktop__plan:focus-visible,
	.qimeng-vip-desktop__privileges:focus-visible,
	.qimeng-vip-desktop__privileges-more:focus-visible,
	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__method:focus-visible,
	.qimeng-vip-desktop a:focus-visible {
		outline: 2px solid #18181a;
		outline-offset: 2px;
	}

	.qimeng-vip-desktop__membership-band {
		position: absolute;
		top: 58px;
		left: 0;
		z-index: 1;
		width: 641.5px;
		height: 42px;
		background: #fdd3df;
		clip-path: polygon(0 0, 100% 0, 96.5% 100%, 0 100%);
	}

	.qimeng-vip-desktop__brand-row {
		position: absolute;
		top: 9.5px;
		left: 191.5px;
		display: flex;
		align-items: center;
		gap: 7px;
		height: 24px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__brand-row > span {
		display: grid;
		place-items: center;
		width: 20px;
		height: 20px;
		border-radius: 5px;
		background: #ff2e42;
		color: #fff;
		font-size: 11px;
	}

	.qimeng-vip-desktop__brand-row strong {
		color: #4c3f44;
		font-size: 14.5px;
		font-weight: 600;
		line-height: 20px;
	}

	.qimeng-vip-desktop__brand-row em {
		padding: 1px 7px;
		border-radius: 4px;
		background: #ff345e;
		color: #fff;
		font-size: 11px;
		font-style: normal;
		font-weight: 500;
		line-height: 18px;
	}

	.qimeng-vip-desktop__plans-title,
	.qimeng-vip-desktop__privileges-title {
		position: absolute;
		left: 24px;
		z-index: 3;
		margin: 0;
		color: #222225;
		font-size: 12px;
		font-weight: 600;
		line-height: 18px;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__plans-title {
		top: 125.5px;
	}

	.qimeng-vip-desktop__plans {
		position: absolute;
		top: 147px;
		left: 24px;
		z-index: 3;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 164.5px;
		gap: 12.5px;
		width: 695.5px;
		height: 231px;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: thin;
	}

	.qimeng-vip-desktop__plan {
		position: relative;
		display: grid;
		grid-template-rows: 1fr 34px;
		width: 164.5px;
		height: 231px;
		padding: 10px 0 0;
		border: 0;
		border-radius: 7px;
		background: transparent;
		color: #18181a;
		cursor: pointer;
		text-align: left;
		overflow: visible;
	}

	.qimeng-vip-desktop__plan::before {
		position: absolute;
		inset: 10px 0 0;
		z-index: 0;
		border: 1px solid #eeeef0;
		border-radius: 7px;
		background: #fff;
		content: "";
	}

	.qimeng-vip-desktop__plan.is-selected::before {
		border-color: #ff5a6e;
		background: linear-gradient(180deg, #fff 0%, #fff9fa 56%, #fff1f4 100%);
	}

	.qimeng-vip-desktop__plan:disabled {
		cursor: not-allowed;
		opacity: 0.58;
	}

	.qimeng-vip-desktop__plan-tag {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		height: 20px;
		padding: 0 5.5px;
		border-radius: 7px 7px 7px 0;
		background: linear-gradient(90deg, #ff5a8a, #ff85a8);
		color: #fff;
		font-size: 11px;
		font-weight: 500;
		line-height: 15px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__plan-body,
	.qimeng-vip-desktop__plan-footer {
		position: relative;
		z-index: 1;
	}

	.qimeng-vip-desktop__plan-body {
		display: flex;
		flex-direction: column;
		padding: 22px 19px 0;
		overflow: hidden;
	}

	.qimeng-vip-desktop__plan-price {
		display: flex;
		align-items: baseline;
		min-height: 36px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__plan-price small {
		margin-right: 2px;
		font-size: 17px;
		font-weight: 600;
		line-height: 24px;
	}

	.qimeng-vip-desktop__plan-price strong {
		font-size: 30px;
		font-weight: 700;
		line-height: 36px;
	}

	.qimeng-vip-desktop__plan-price del {
		margin-left: 6px;
		color: #99999f;
		font-size: 10.5px;
		font-weight: 400;
		line-height: 18px;
	}

	.qimeng-vip-desktop__plan-name {
		display: flex;
		align-items: center;
		gap: 5px;
		margin-top: 10px;
		color: #4f4f54;
		font-size: 13px;
		font-weight: 500;
		line-height: 18px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__plan-name i {
		flex: 0 0 auto;
		color: #ff75cd;
		font-size: 11px;
	}

	.qimeng-vip-desktop__plan-benefits {
		display: grid;
		gap: 1px;
		margin-top: 17px;
		color: #66666a;
		font-size: 12.5px;
		font-weight: 400;
		line-height: 20px;
	}

	.qimeng-vip-desktop__plan-benefits span {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__plan-footer {
		display: grid;
		place-items: center;
		margin: 0 1px 1px;
		border-radius: 0 0 6px 6px;
		background: #f7f7f9;
		color: #66666a;
		font-size: 11px;
		font-weight: 500;
		line-height: 16px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.qimeng-vip-desktop__plan.is-selected .qimeng-vip-desktop__plan-footer {
		background: #feeaec;
		color: #ff425f;
	}

	.qimeng-vip-desktop__privileges-title {
		top: 416.5px;
	}

	.qimeng-vip-desktop__privileges-more {
		position: absolute;
		top: 416.5px;
		right: 260.5px;
		z-index: 3;
		display: inline-flex;
		align-items: center;
		gap: 4px;
		height: 18px;
		padding: 0;
		border: 0;
		background: transparent;
		color: #ff5a8a;
		font-size: 10.5px;
		font-weight: 500;
		line-height: 18px;
		white-space: nowrap;
		cursor: pointer;
	}

	.qimeng-vip-desktop__privileges-more:hover {
		color: #f43a66;
	}

	.qimeng-vip-desktop__privileges-more[hidden] {
		display: none;
	}

	.qimeng-vip-desktop__privileges-more i {
		font-size: 8px;
	}

	.qimeng-vip-desktop__privileges {
		position: absolute;
		top: 460px;
		left: 24px;
		z-index: 3;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 129px;
		gap: 11.5px;
		width: 695.5px;
		height: 58px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-inline: contain;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		touch-action: pan-x;
		cursor: grab;
	}

	.qimeng-vip-desktop__privileges::-webkit-scrollbar {
		display: none;
	}

	.qimeng-vip-desktop__privileges.is-dragging {
		scroll-snap-type: none;
		cursor: grabbing;
		user-select: none;
	}

	.qimeng-vip-desktop__privilege {
		display: grid;
		grid-template-columns: 27px minmax(0, 1fr);
		align-items: center;
		width: 129px;
		height: 58px;
		padding: 0 12px;
		border-radius: 7px;
		background: #f7f7f9;
		scroll-snap-align: start;
		overflow: hidden;
	}

	.qimeng-vip-desktop__privilege-icon {
		display: grid;
		place-items: center;
		width: 20px;
		height: 20px;
		border-radius: 5px;
		background: #6366f1;
		color: #fff;
		font-size: 11px;
	}

	.qimeng-vip-desktop__privilege[data-color-index="1"] .qimeng-vip-desktop__privilege-icon { background: #1eb4ff; }
	.qimeng-vip-desktop__privilege[data-color-index="2"] .qimeng-vip-desktop__privilege-icon { background: #ff75e8; }
	.qimeng-vip-desktop__privilege[data-color-index="3"] .qimeng-vip-desktop__privilege-icon { background: #ff7b64; }
	.qimeng-vip-desktop__privilege[data-color-index="4"] .qimeng-vip-desktop__privilege-icon { background: #ffb000; }

	.qimeng-vip-desktop__privilege-copy {
		display: grid;
		min-width: 0;
		line-height: 15px;
	}

	.qimeng-vip-desktop__privilege-copy strong,
	.qimeng-vip-desktop__privilege-copy small {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__privilege-copy strong {
		color: #28282b;
		font-size: 12px;
		font-weight: 500;
	}

	.qimeng-vip-desktop__privilege-copy small {
		color: #99999f;
		font-size: 10px;
		font-weight: 400;
	}

	.qimeng-vip-desktop__usage-note {
		position: absolute;
		top: 533px;
		right: 261px;
		z-index: 3;
		margin: 0;
		color: #99999f;
		font-size: 10px;
		font-weight: 400;
		line-height: 15px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__payment-pane {
		position: absolute;
		top: 50px;
		right: 0;
		z-index: 2;
		width: 338.5px;
		height: 550px;
		border-radius: 15px 13px 13px 0;
		background: #fff;
		overflow: visible;
	}

	.qimeng-vip-desktop__payment-pane::before {
		position: absolute;
		top: 14px;
		left: -22.5px;
		z-index: 0;
		width: 45px;
		height: 36px;
		background: #fff;
		clip-path: polygon(100% 0, 100% 100%, 0 100%);
		content: "";
	}

	.qimeng-vip-desktop__payment-pane > * {
		position: absolute;
		z-index: 1;
	}

	.qimeng-vip-desktop__divider {
		top: 58.5px;
		left: 98.5px;
		width: 1px;
		height: 449px;
		background: #eeeef0;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__title {
		top: 17.5px;
		left: 0;
		width: 100%;
		margin: 0;
		color: #171719;
		font-size: 14.5px;
		font-weight: 600;
		line-height: 20px;
		text-align: center;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__qr {
		top: 306.5px;
		left: 159px;
		display: grid;
		place-items: center;
		width: 119.5px;
		height: 119.5px;
		aspect-ratio: auto;
		margin: 0;
		padding: 7px;
		border: 0;
		border-radius: 0;
		background:
			linear-gradient(#fe3d63, #fe3d63) left top / 10px 2px no-repeat,
			linear-gradient(#fe3d63, #fe3d63) left top / 2px 10px no-repeat,
			linear-gradient(#fe3d63, #fe3d63) right top / 10px 2px no-repeat,
			linear-gradient(#fe3d63, #fe3d63) right top / 2px 10px no-repeat,
			linear-gradient(#fe3d63, #fe3d63) left bottom / 10px 2px no-repeat,
			linear-gradient(#fe3d63, #fe3d63) left bottom / 2px 10px no-repeat,
			linear-gradient(#fe3d63, #fe3d63) right bottom / 10px 2px no-repeat,
			linear-gradient(#fe3d63, #fe3d63) right bottom / 2px 10px no-repeat,
			#fff;
		overflow: hidden;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__qr-img {
		width: 105.5px;
		height: 105.5px;
		aspect-ratio: auto;
		animation: none;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__qr-loader {
		gap: 7px;
		padding: 8px;
		font-size: 10px;
		line-height: 14px;
		text-align: center;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__qr-spinner {
		width: 28px;
		height: 28px;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__selected {
		display: none;
	}

	.qimeng-vip-desktop__amount {
		top: 436.5px;
		left: 155px;
		display: flex;
		align-items: baseline;
		justify-content: center;
		gap: 7px;
		width: 151px;
		height: 34.5px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__amount strong {
		display: flex;
		align-items: baseline;
		color: #f43a2e;
		font-size: 29px;
		font-weight: 700;
		line-height: 34px;
	}

	.qimeng-vip-desktop__amount strong small {
		font-size: 17px;
	}

	.qimeng-vip-desktop__amount em {
		color: #ff4a70;
		font-size: 10px;
		font-style: normal;
		font-weight: 400;
		line-height: 15px;
	}

	.qimeng-vip-desktop__amount em[hidden] {
		display: none;
	}

	.qimeng-vip-desktop__amount > i {
		color: #a0a0a5;
		font-size: 10px;
	}

	.qimeng-vip-desktop__payment-method-row {
		top: 478.5px;
		left: 137px;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: 179.5px;
		height: 23px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__methods {
		position: static;
		display: flex;
		gap: 5px;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__method {
		display: grid;
		place-items: center;
		width: 21px;
		height: 21px;
		min-height: 21px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__method.is-active {
		background: transparent;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__icon {
		width: 18px;
		height: 18px;
		border-radius: 50%;
		font-size: 11px;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__name {
		display: none;
	}

	.qimeng-vip-desktop__payment-method-row > span {
		color: #28282b;
		font-size: 11px;
		font-weight: 400;
		line-height: 16px;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__status {
		top: 429.5px;
		left: 159px;
		width: 119.5px;
		margin: 0;
		color: #66666a;
		font-size: 10px;
		line-height: 14px;
		text-align: center;
	}

	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__order,
	.qimeng-vip-desktop__payment-pane .qimeng-payment-method-modal__license {
		display: none;
	}

	.qimeng-vip-desktop__payment-footer {
		top: 510.5px;
		left: 137px;
		display: flex;
		justify-content: center;
		gap: 4px;
		width: 180px;
		height: 17px;
		white-space: nowrap;
	}

	.qimeng-vip-desktop__payment-pane:has(.qimeng-payment-method-modal__status:not([hidden])) .qimeng-vip-desktop__amount {
		top: 446.5px;
	}

	.qimeng-vip-desktop__payment-pane:has(.qimeng-payment-method-modal__status:not([hidden])) .qimeng-vip-desktop__payment-method-row {
		top: 488.5px;
	}

	.qimeng-vip-desktop__payment-pane:has(.qimeng-payment-method-modal__status:not([hidden])) .qimeng-vip-desktop__payment-footer {
		top: 520.5px;
	}

	.qimeng-vip-desktop__payment-footer a,
	.qimeng-vip-desktop__payment-footer span {
		color: #99999f;
		font-size: 10px;
		font-weight: 400;
		line-height: 15px;
	}
}

@keyframes qimeng-payment-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes qimeng-payment-qr-reveal {
	from {
		opacity: 0;
		transform: scale(0.98);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (max-width: 640px) {
	.qimeng-payment-method-modal__card {
		width: min(100%, 360px);
		padding: 24px 16px 20px;
	}

	.qimeng-payment-method-modal__card.is-license {
		width: min(100%, 360px);
		padding: 26px 18px 20px;
	}

	.qimeng-payment-method-modal__methods {
		gap: 10px;
	}

	.qimeng-payment-method-modal__method {
		width: 68px;
		min-height: 76px;
		padding: 9px 6px 8px;
	}

	.qimeng-payment-method-modal__icon {
		width: 32px;
		height: 32px;
		font-size: 17px;
	}

	.qimeng-payment-method-modal__name {
		font-size: 12px;
	}

	.qimeng-payment-method-modal__license {
		gap: 14px;
	}

	.qimeng-payment-method-modal__license-row {
		padding: 14px;
	}

	.qimeng-payment-method-modal__license-meta {
		padding: 13px 0;
	}

	.qimeng-payment-method-modal__license-item {
		padding: 0 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.qimeng-vip-desktop__privileges {
		scroll-behavior: auto;
	}

	.qimeng-payment-method-modal__qr-spinner,
	.qimeng-payment-method-modal__qr-img {
		animation: none;
	}

	.qimeng-payment-method-modal__qr-spinner {
		border-right-color: var(--qimeng-payment-primary);
	}
}
