/* 总后台 / 分站浅色皮。布局壳自维护，组件用 Layui 2.13.9。 */
:root {
	--pro-primary: #1677ff;
	--pro-bg: #f0f2f5;
	--pro-text: rgba(0, 0, 0, 0.88);
	--pro-text-2: rgba(0, 0, 0, 0.65);
	--pro-text-3: rgba(0, 0, 0, 0.45);
	--pro-border: #f0f0f0;
	--pro-radius: 8px;
}

body.pro-shell,
body.pro-page,
.pro-page,
.layui-fluid {
	background: var(--pro-bg) !important;
	color: var(--pro-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	font-size: 14px;
}

.pro-shell .layui-layout-admin .layui-header {
	background: #fff !important;
	height: 56px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	border-bottom: 1px solid #f0f0f0;
}

.pro-shell .layui-layout-admin .layui-header .layui-nav .layui-nav-item a,
.pro-shell .layui-layout-admin .layui-header a,
.pro-shell .layui-layout-admin .layui-header a cite {
	color: var(--pro-text) !important;
}

.pro-shell .layui-layout-admin .layui-logo,
.pro-shell .layui-side-menu,
.pro-shell .layadmin-setTheme-side {
	background: #fff !important;
	box-shadow: none;
	width: 240px !important;
}

.pro-shell .layui-side-menu .layui-nav,
.pro-shell .layui-side-scroll {
	width: 240px !important;
	background: #fff !important;
}

/* 侧栏左下角版本号 */
.pro-shell .layui-side-menu {
	position: fixed;
}
.pro-shell .layui-side-scroll {
	padding-bottom: 44px;
	box-sizing: border-box;
}
.pro-shell .pro-side-version {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	padding: 12px 20px;
	font-size: 12px;
	line-height: 1.2;
	color: var(--pro-text-3);
	border-top: 1px solid var(--pro-border);
	background: #fff;
	box-sizing: border-box;
	pointer-events: none;
	user-select: none;
}

.pro-shell .layui-layout-admin .layui-logo {
	height: auto;
	line-height: 1.3;
	padding: 16px 20px 12px;
	text-align: left;
	box-shadow: none !important;
	color: var(--pro-text) !important;
}

.pro-shell .layui-layout-admin .layui-logo .pro-brand-title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: var(--pro-text);
}

.pro-shell .layui-layout-admin .layui-logo .pro-brand-meta {
	display: block;
	font-size: 12px;
	color: var(--pro-text-3);
	margin-top: 2px;
}

.pro-shell .layui-nav-tree .layui-nav-item a,
.pro-shell .layui-nav-itemed > a,
.pro-shell .layui-nav-tree .layui-nav-title a,
.pro-shell .layui-nav-tree .layui-nav-title a:hover {
	color: var(--pro-text-2) !important;
}

.pro-shell .layui-nav-tree .layui-nav-itemed > .layui-nav-child,
.pro-shell .layui-nav-tree .layui-nav-child {
	background: transparent !important;
	padding: 0 8px 8px;
}

.pro-shell .layui-nav-tree .layui-nav-child dd {
	background: transparent !important;
}

.pro-shell .layui-nav-tree .layui-nav-child a {
	background: transparent !important;
	border-radius: 6px;
	margin: 2px 0;
}

.pro-shell .layui-nav-tree .layui-nav-child a:hover {
	background: #f5f7fa !important;
	color: var(--pro-text) !important;
}

.pro-shell .layui-nav-tree .layui-nav-child dd.layui-this,
.pro-shell .layui-nav-tree .layui-nav-child dd.layui-this a,
.pro-shell .layui-nav-tree .layui-this,
.pro-shell .layui-nav-tree .layui-this > a,
.pro-shell .layui-nav-tree .layui-this > a:hover {
	background: #e6f4ff !important;
	color: var(--pro-primary) !important;
}

.pro-shell .layui-nav-tree .layui-nav-bar {
	background: var(--pro-primary) !important;
	width: 3px;
}

.pro-shell .layui-nav-tree .layui-nav-item > a {
	padding-left: 20px;
}

.pro-shell .layadmin-pagetabs {
	display: none !important;
}

.pro-shell .layui-layout-admin .layui-body {
	top: 56px !important;
	left: 240px !important;
	bottom: 0 !important;
	overflow: hidden;
	background: var(--pro-bg);
}

.pro-shell .layui-layout-admin .layui-side {
	top: 0;
	width: 240px !important;
}

.pro-shell .pro-header-tools a {
	color: var(--pro-text-2) !important;
	font-size: 18px;
}

.pro-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #1677ff;
	color: #fff;
	font-size: 12px;
	margin-right: 6px;
	vertical-align: middle;
}

.pro-page {
	min-height: 100%;
	padding: 16px 24px 24px;
	box-sizing: border-box;
}

.pro-card {
	background: #fff;
	border-radius: var(--pro-radius);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
	padding: 16px 20px;
	margin-bottom: 16px;
}

.pro-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.pro-card-head h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.pro-btn {
	display: inline-block;
	border: 1px solid #d9d9d9;
	background: #fff;
	color: var(--pro-text);
	border-radius: 6px;
	padding: 6px 14px;
	line-height: 22px;
	cursor: pointer;
	font-size: 14px;
}

.pro-btn-primary {
	display: inline-block;
	text-align: center;
	background: var(--pro-primary);
	border-color: var(--pro-primary);
	color: #fff;
}

.pro-btn-link {
	background: none;
	border: 0;
	color: var(--pro-primary);
	cursor: pointer;
	padding: 0 6px;
}

.pro-btn-warn { color: #fa8c16; }
.pro-btn-danger { color: #ff4d4f; }

.pro-sorts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.pro-sorts a {
	padding: 6px 12px;
	border-radius: 16px;
	background: #f5f5f5;
	color: var(--pro-text-2);
	text-decoration: none;
}

.pro-sorts a.active {
	background: #e6f4ff;
	color: var(--pro-primary);
}

.pro-table {
	width: 100%;
	border-collapse: collapse;
}

.pro-table th,
.pro-table td {
	padding: 12px 8px;
	border-bottom: 1px solid var(--pro-border);
	text-align: left;
	font-size: 13px;
}

.pro-table th { color: var(--pro-text-3); font-weight: 500; }

.pro-tag {
	display: inline-block;
	padding: 0 8px;
	line-height: 22px;
	border-radius: 4px;
	background: #e6f4ff;
	color: var(--pro-primary);
	font-size: 12px;
}

.pro-tag-green { background: #f6ffed; color: #52c41a; }
.pro-tag-orange { background: #fff7e6; color: #d46b08; }
.pro-price { color: #fa8c16; font-weight: 600; }

.pro-welcome {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(90deg, #f0f5ff 0%, #fff 55%);
	border-radius: var(--pro-radius);
	padding: 20px 24px;
	margin-bottom: 16px;
}

.pro-welcome h2 { margin: 0 0 6px; font-size: 22px; }
.pro-welcome p { margin: 0; color: var(--pro-text-3); }

.pro-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 16px;
}

.pro-stat {
	background: #fff;
	border-radius: var(--pro-radius);
	padding: 16px 18px;
}

.pro-stat .label { color: var(--pro-text-3); font-size: 13px; }
.pro-stat .value { font-size: 26px; font-weight: 700; margin-top: 8px; }

.pro-notice li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	color: var(--pro-text-2);
	border-bottom: 1px solid var(--pro-border);
}

.pro-modal-mask {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 19891020;
	align-items: center;
	justify-content: center;
}

.pro-modal-mask.show { display: flex; }

.pro-modal {
	width: 720px;
	max-width: 92vw;
	max-height: 86vh;
	overflow: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pro-modal-sm { width: 520px; }

.pro-promo-modal { width: 560px; }

.pro-promo-close {
	color: #bfbfbf;
	font-size: 20px;
	line-height: 1;
}

.pro-promo-row {
	display: flex;
	align-items: stretch;
	margin-bottom: 12px;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.pro-promo-label {
	flex: 0 0 88px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	color: var(--pro-text-2);
	border-right: 1px solid #e8e8e8;
	font-size: 13px;
}

.pro-promo-row input[type="text"] {
	flex: 1;
	min-width: 0;
	border: 0;
	border-radius: 0;
	padding: 8px 10px;
	min-height: 36px;
	background: #fff;
}

.pro-promo-row .pro-btn {
	border: 0;
	border-radius: 0;
	padding: 0 18px;
}

.pro-promo-row .pro-copy-ico {
	flex: 0 0 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-left: 1px solid #e8e8e8;
	border-radius: 0;
	background: #fafafa;
	color: #8c8c8c;
	cursor: pointer;
	padding: 0;
	min-height: 36px;
	font-size: 16px;
	line-height: 1;
}
.pro-promo-row .pro-copy-ico:hover {
	color: var(--pro-primary);
	background: #f0f5ff;
}
.pro-promo-row .pro-copy-ico:active {
	color: var(--pro-primary);
}

/* 码支付配置：对齐码支付会员中心 info-row，值后紧跟复制图标 */
.pay-info-row {
	max-width: 560px;
	padding: 12px 14px;
	margin-bottom: 10px;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	background: #fafafa;
}
.pay-info-label {
	font-size: 12px;
	color: #8c8c8c;
	margin-bottom: 6px;
}
.pay-info-value {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	font-size: 14px;
	font-weight: 600;
	color: #262626;
	font-family: "SF Mono", Monaco, Consolas, "Courier New", monospace;
	word-break: break-all;
}
.pay-info-text {
	line-height: 1.5;
}
.pay-info-copy {
	border: 0;
	background: transparent;
	color: #8c8c8c;
	cursor: pointer;
	padding: 0 2px;
	font-size: 15px;
	line-height: 1;
	flex-shrink: 0;
}
.pay-info-copy:hover {
	color: var(--pro-primary);
}
.pay-info-link {
	border: 0;
	background: transparent;
	color: var(--pro-primary);
	cursor: pointer;
	padding: 0;
	font-size: 13px;
	font-weight: 400;
	font-family: inherit;
	flex-shrink: 0;
}
.pay-info-link:hover {
	opacity: 0.85;
}

.pro-promo-qrs {
	display: flex;
	justify-content: space-around;
	gap: 24px;
	margin-top: 8px;
	padding: 16px 0 8px;
	border-top: 1px solid var(--pro-border);
}

.pro-promo-qr {
	text-align: center;
}

.pro-promo-qr-box {
	width: 156px;
	height: 156px;
	margin: 0 auto 10px;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pro-promo-qr-box img,
.pro-promo-qr-box canvas {
	display: block;
}

.pro-promo-qr p {
	margin: 0;
	color: var(--pro-text);
	font-size: 13px;
}

.pro-modal-head,
.pro-modal-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-bottom: 1px solid var(--pro-border);
}

.pro-modal-foot { border-bottom: 0; border-top: 1px solid var(--pro-border); justify-content: flex-end; gap: 8px; }

.pro-modal-body { padding: 16px 20px 8px; }

.pro-tabs { display: flex; gap: 20px; margin-bottom: 16px; border-bottom: 1px solid var(--pro-border); }
.pro-tabs span { padding-bottom: 10px; cursor: pointer; color: var(--pro-text-2); }
.pro-tabs span.active { color: var(--pro-primary); border-bottom: 2px solid var(--pro-primary); }

.pro-seg {
	display: inline-flex;
	align-items: stretch;
	padding: 3px;
	border-radius: 6px;
	background: #f5f5f5;
}
.pro-seg-block { display: flex; width: 100%; box-sizing: border-box; }
.pro-seg button {
	border: 0;
	background: transparent;
	color: var(--pro-text);
	padding: 5px 16px;
	min-height: 32px;
	border-radius: 4px;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	line-height: 22px;
}
.pro-seg-block button { flex: 1; }
.pro-seg button.active {
	background: var(--pro-primary);
	color: #fff;
}

.pro-field { margin-bottom: 14px; }
.pro-field label { display: block; margin-bottom: 6px; color: var(--pro-text-2); }
.pro-field input[type="text"],
.pro-field input[type="number"],
.pro-field input[type="date"],
.pro-field input[type="password"],
.pro-field select,
.pro-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	padding: 8px 10px;
	min-height: 36px;
}

.pro-tpl-section {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 8px 0 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--pro-text);
}

.pro-tpl-section span {
	font-size: 13px;
	font-weight: 400;
	color: var(--pro-text-3);
}

.pro-tpl-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding: 12px 0 8px;
}

.pro-tpl-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: hover) {
	.pro-tpl-card:hover { transform: translateY(-4px); }
	.pro-tpl-card:hover .pro-phone-actions { opacity: 1; pointer-events: auto; }
}

.pro-phone {
	width: 100%;
	max-width: 230px;
	aspect-ratio: 1 / 2;
	background: #fff;
	border-radius: 32px;
	border: 5px solid #1f1f1f;
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	color: #111;
	min-height: 0;
	padding: 0;
}

.pro-phone-notch {
	height: 26px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
	color: #1f1f1f;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
}

.pro-phone-screen {
	flex: 1;
	overflow: hidden;
	position: relative;
	background: #f5f7fa;
	color: #111;
	border-radius: 0;
	min-height: 0;
}

.pro-phone-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.pro-phone-qr {
	display: none;
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 2;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px;
	pointer-events: none;
	text-align: center;
}

.pro-tpl-card:hover .pro-phone-qr {
	display: flex;
}

.pro-phone-qr-box {
	width: 120px;
	height: 120px;
	background: #fff;
	padding: 6px;
	border-radius: 8px;
	box-sizing: content-box;
	line-height: 0;
}

.pro-phone-qr-box img,
.pro-phone-qr-box canvas {
	width: 120px;
	height: 120px;
	display: block;
}

.pro-phone-qr-hint {
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.4;
	color: #fff;
}

.pro-phone-copy {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	padding: 10px 10px 0;
	background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(255,255,255,0.55) 70%, transparent);
}

.pro-phone-title { font-weight: 600; font-size: 13px; line-height: 1.4; }
.pro-phone-sub { padding-top: 4px; color: #888; font-size: 11px; line-height: 1.4; }

.pro-phone-pay {
	position: static;
	height: 32px;
	flex-shrink: 0;
	left: auto;
	right: auto;
	bottom: auto;
	background: var(--pro-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 16px;
	margin: 0 10px 10px;
	padding: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.pro-phone-actions {
	position: absolute;
	inset: auto 0 0 0;
	padding: 20px 14px 14px;
	background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
	display: flex;
	justify-content: center;
	gap: 8px;
	opacity: 0;
	transition: opacity 0.25s;
	pointer-events: none;
	border-radius: 0 0 26px 26px;
	z-index: 3;
}

.pro-tpl-act {
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border-radius: 17px;
	background: rgba(255, 255, 255, 0.92);
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: #333;
	text-decoration: none;
	flex-shrink: 0;
}

.pro-tpl-act:hover { background: #fff; color: #1677ff; }
.pro-tpl-act-danger:hover { color: #ff4d4f; }
.pro-tpl-act-copy { background: rgba(22, 119, 255, 0.92); color: #fff; }
.pro-tpl-act-copy:hover { background: #1677ff; color: #fff; }

.pro-tpl-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 4px 0;
	width: 100%;
	max-width: 230px;
}

.pro-tpl-name {
	flex: 1;
	font-size: 13px;
	font-weight: 600;
	color: var(--pro-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pro-tpl-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d9d9d9;
	flex-shrink: 0;
}

.pro-tpl-dot.on { background: #52c41a; box-shadow: 0 0 6px rgba(82, 196, 26, 0.4); }

.pro-tpl-master {
	font-size: 10px;
	font-weight: 600;
	color: #b8860b;
	background: #fff3cd;
	border: 1px solid #ffd666;
	border-radius: 4px;
	padding: 1px 6px;
	flex-shrink: 0;
	line-height: 17px;
}

.pro-tpl-card-master .pro-phone {
	border-color: #3d3d3d;
	box-shadow: 0 20px 40px -12px rgba(180, 130, 0, 0.15), 0 0 0 1px rgba(180, 130, 0, 0.12);
}

.pro-phone-name { padding: 10px 8px 0; font-size: 13px; color: var(--pro-text-2); text-align: center; }

@media (max-width: 1400px) { .pro-tpl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .pro-tpl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	.pro-tpl-grid { grid-template-columns: 1fr; gap: 16px; }
	.pro-phone { max-width: 280px; }
	.pro-phone-actions { opacity: 1; pointer-events: auto; }
	.pro-tpl-foot { max-width: 280px; }
}

.pro-editor {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: #f6f7fb;
}

.pro-editor-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: #fff;
	border-bottom: 1px solid var(--pro-border);
}

.pro-editor-main {
	display: grid;
	grid-template-columns: 220px 1fr 360px;
	gap: 12px;
	padding: 12px;
	min-height: calc(100vh - 56px);
}

.pro-editor-left,
.pro-editor-right {
	background: #fff;
	border-radius: 8px;
	padding: 12px;
	overflow: auto;
}

.pro-comp { padding: 8px; border: 1px dashed #d9d9d9; border-radius: 6px; margin-bottom: 8px; color: var(--pro-text-2); cursor: pointer; }

/* 分站数据大屏：按 iframe 容器铺满，图表高度跟父级走，禁止写死 380/160/180 */
body.pro-page.pro-page-screen {
	height: 100vh;
	padding: 12px;
	overflow: hidden;
}

.pro-screen {
	display: grid;
	grid-template-columns: minmax(220px, 0.22fr) minmax(0, 1fr) minmax(240px, 0.24fr);
	grid-template-rows: minmax(0, 1fr);
	gap: 12px;
	background: #fff;
	border-radius: 10px;
	padding: 16px;
	height: 100%;
	min-height: 0;
	box-sizing: border-box;
}

.pro-screen-side {
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
	overflow: auto;
	margin: 0;
}

.pro-screen-map {
	background: #f7f9fc;
	border-radius: 8px;
	min-height: 0;
	height: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
}

.pro-screen-map #map_1 {
	flex: 1 1 0;
	min-height: 0;
	width: 100%;
}

.pro-screen-map-note {
	margin: 0;
	padding: 0 12px 8px;
	color: #8c8c8c;
	font-size: 12px;
}

.pro-screen-foot {
	flex: 0 0 auto;
	display: flex;
	justify-content: space-around;
	padding: 10px 0;
}

.pro-screen-chart {
	flex: 1 1 auto;
	min-height: 180px;
	width: 100%;
}

/* 半圆仪表盘按宽度定高，禁止跟柱状图均分被拉扁 */
.pro-screen-gauge {
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 2 / 1;
	min-height: 170px;
	max-height: 200px;
}

/* 大屏侧栏指标单列横排，禁止三等分把中文标签挤成竖排 */
.pro-screen .pro-stat-grid {
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 12px;
	margin-bottom: 12px;
}
.pro-screen .pro-stat {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 8px 0;
	background: transparent;
}
.pro-screen .pro-stat .label {
	white-space: nowrap;
}
.pro-screen .pro-stat .value {
	margin-top: 0;
	font-size: 22px;
}

/* v1.9.1 登录页：左右分栏，左侧仅 CSS 渐变+装饰条，禁止 WebGL */
body.pro-login-page {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	background: #fff;
}
body.pro-login-page .layui-layer,
body.pro-login-page .layui-layer-content {
	color: #333 !important;
}

.pro-login-wrap {
	min-height: 100vh;
	display: flex;
	background: #fff;
	color: var(--pro-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.pro-login-brand {
	position: relative;
	flex: 1.45;
	min-width: 0;
	overflow: hidden;
	background: linear-gradient(135deg, #5b2bea 0%, #3d5bff 42%, #2b8cff 74%, #1ea0ff 100%);
}

.pro-login-deco {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.pro-login-deco span {
	position: absolute;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pro-login-deco span:nth-child(1) { width: 150px; height: 150px; top: 9%; left: 11%; }
.pro-login-deco span:nth-child(2) { width: 86px; height: 86px; top: 20%; right: 16%; }
.pro-login-deco span:nth-child(3) { width: 210px; height: 210px; bottom: 6%; left: 16%; background: rgba(255, 255, 255, 0.1); }
.pro-login-deco span:nth-child(4) { width: 64px; height: 64px; top: 46%; left: 44%; }
.pro-login-deco span:nth-child(5) { width: 118px; height: 118px; bottom: 20%; right: 11%; }
.pro-login-deco span:nth-child(6) { width: 46px; height: 46px; top: 14%; left: 48%; }

.pro-login-brand-text {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(440px, 72%);
	color: #fff;
}
.pro-login-brand-title {
	font-size: 42px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1.3;
}
.pro-login-brand-slogan {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.75;
	font-weight: 400;
	opacity: 0.92;
}

.pro-login-panel {
	width: 42%;
	min-width: 400px;
	max-width: 520px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

.pro-login-card {
	width: 360px;
	background: #fff;
	padding: 8px 0 0;
	box-shadow: none;
	border-radius: 0;
}

.pro-login-card h1 {
	margin: 0 0 28px;
	font-size: 28px;
	font-weight: 700;
	color: #1f1f1f;
	text-align: center;
}
.pro-login-divider {
	display: flex;
	align-items: center;
	margin: 0 0 28px;
	color: #bfbfbf;
	font-size: 13px;
}
.pro-login-divider::before,
.pro-login-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #ececec;
}
.pro-login-divider span {
	padding: 0 12px;
	white-space: nowrap;
}
.pro-login-card > label {
	display: block;
	font-size: 14px;
	color: var(--pro-text);
	margin-bottom: 8px;
}
.pro-login-card input[type="text"],
.pro-login-card input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	height: 44px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 0 14px;
	margin: 0 0 18px;
	font-size: 14px;
	background: #fff;
}
.pro-login-card input[type="text"]:focus,
.pro-login-card input[type="password"]:focus {
	border-color: var(--pro-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.08);
}

.pro-login-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	margin: 2px 0 22px;
	color: var(--pro-text-2);
}
.pro-login-row label {
	display: flex;
	align-items: center;
	margin: 0;
	font-weight: 400;
	color: var(--pro-text-2);
}
.pro-login-row input[type="checkbox"] {
	width: auto;
	margin: 0 6px 0 0;
}
.pro-login-row a {
	color: var(--pro-primary);
	text-decoration: none;
}
.pro-login-row a:hover { opacity: 0.82; }

.pro-login-card .pro-btn-primary {
	display: block;
	width: 100%;
	height: 44px;
	line-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	font-size: 16px;
	box-sizing: border-box;
	background: linear-gradient(90deg, #1677ff 0%, #2b8cff 100%);
	box-shadow: 0 8px 18px rgba(22, 119, 255, 0.28);
}

@media (max-width: 860px) {
	.pro-login-brand { display: none; }
	.pro-login-panel {
		width: 100%;
		min-width: 0;
		max-width: none;
		padding: 32px 20px;
		box-sizing: border-box;
	}
	.pro-login-card { width: 100%; max-width: 360px; }
}

.pro-iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--pro-bg);
}

.pro-shell.pro-collapsed .layui-side,
.pro-shell.pro-collapsed .layui-logo,
.pro-shell.pro-collapsed .layui-side-scroll,
.pro-shell.pro-collapsed .layui-nav-tree {
	width: 72px !important;
}

.pro-shell.pro-collapsed .layui-body {
	left: 72px !important;
}

.pro-shell.pro-collapsed .pro-brand-meta,
.pro-shell.pro-collapsed .layui-nav-item cite,
.pro-shell.pro-collapsed .layui-nav-child {
	display: none !important;
}

.pro-shell.pro-collapsed .pro-side-version {
	padding: 10px 4px;
	font-size: 11px;
	text-align: center;
	letter-spacing: -0.02em;
	word-break: break-all;
}

.pro-nav-shade {
	display: none;
	position: fixed;
	top: 56px;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1001;
}

/* 窄屏走 240px 抽屉，禁止再收成 72px 把标题和二级菜单挤变形 */
@media screen and (max-width: 992px) {
	.pro-shell .layui-layout-admin .layui-header {
		z-index: 1003;
	}
	.pro-shell .layui-layout-admin .layui-side {
		top: 56px !important;
		transform: translate3d(-240px, 0, 0) !important;
		-webkit-transform: translate3d(-240px, 0, 0) !important;
		width: 240px !important;
		z-index: 1002;
	}
	.pro-shell .layui-layout-admin .layui-body,
	.pro-shell.pro-collapsed .layui-body {
		left: 0 !important;
	}
	.pro-shell.pro-collapsed .layui-side,
	.pro-shell.pro-collapsed .layui-logo,
	.pro-shell.pro-collapsed .layui-side-scroll,
	.pro-shell.pro-collapsed .layui-nav-tree {
		width: 240px !important;
	}
	.pro-shell.pro-collapsed .pro-brand-meta,
	.pro-shell.pro-collapsed .layui-nav-item cite,
	.pro-shell.pro-collapsed .layui-nav-child {
		display: unset !important;
	}
	/* 打开态必须保留 transform：admin.css 的 .layui-logo 是 fixed，靠侧栏 transform 当定位基准；写 none 标题会跳回顶栏后面 */
	.pro-shell.pro-nav-open .layui-layout-admin .layui-side {
		transform: translate3d(0, 0, 0) !important;
		-webkit-transform: translate3d(0, 0, 0) !important;
	}
	.pro-shell.pro-nav-open .pro-nav-shade {
		display: block;
	}
}

.layui-btn {
	background-color: var(--pro-primary);
	border-radius: 6px;
	height: 32px;
	line-height: 32px;
	padding: 0 14px;
	font-size: 14px;
}
.layui-btn-primary {
	background: #fff;
	border: 1px solid #d9d9d9;
	color: var(--pro-text);
}
.layui-btn-danger { background: #ff4d4f; }
.layui-btn-warm { background: #fa8c16; }
.layui-btn-normal { background: var(--pro-primary); }
.layui-btn-sm { height: 28px; line-height: 28px; padding: 0 10px; }

.layui-card {
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
	border: 1px solid #f0f0f0;
}
.layui-fluid { padding: 16px 20px; }

.layui-table { color: var(--pro-text); }
.layui-table thead tr { background: #fafafa; }
.layui-table td,
.layui-table th { border-color: #f0f0f0; }

.layui-input,
.layui-select,
.layui-textarea {
	border-radius: 6px;
	height: 36px;
}

.layui-laypage .layui-laypage-curr .layui-laypage-em,
.layui-laypage-molv .layui-laypage-curr .layui-laypage-em {
	background-color: var(--pro-primary) !important;
}

.pro-comp {
	cursor: default;
	opacity: 0.55;
	pointer-events: none;
}

/* 默认按 500–700px 弹层：240px 标签会把控件顶到右边 */
.pro-form .layui-form-label {
	width: 110px;
	color: var(--pro-text-2);
}

.pro-form .layui-input-block {
	margin-left: 130px;
}

.pro-form .layui-input {
	max-width: 280px;
}

.pro-form-wide .layui-form-label {
	width: 240px;
}

.pro-form-wide .layui-input-block {
	margin-left: 260px;
}

.pro-page-dialog {
	padding: 16px 20px 8px;
	background: #fff !important;
	min-height: auto;
}

.pro-page-dialog .pro-card {
	box-shadow: none;
	padding: 0;
	margin-bottom: 0;
}

.pro-form .layui-footer {
	position: static;
	box-shadow: none;
	left: auto;
	padding: 16px 0 0;
	background: transparent;
}

.pro-toolbar {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.pro-search {
	height: 32px;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	padding: 0 10px;
	min-width: 220px;
}

.pro-empty {
	text-align: center;
	color: var(--pro-text-3);
	padding: 40px 8px;
}

.pro-pager { margin-top: 16px; }

.pro-table-wrap { overflow-x: auto; }

.pro-dash-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 16px;
}

.pro-dash-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 12px;
	margin-bottom: 16px;
}

.pro-dash-ranks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.pro-dash-note {
	color: var(--pro-text-3);
	font-size: 12px;
	margin: 0 0 12px;
}

@media (max-width: 1100px) {
	.pro-stat-grid { grid-template-columns: 1fr 1fr; }
	.pro-editor-main { grid-template-columns: 1fr; }
	body.pro-page.pro-page-screen { height: auto; overflow: auto; }
	.pro-screen {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		height: auto;
	}
	.pro-screen-side,
	.pro-screen-map { height: auto; }
	.pro-screen-map #map_1 { height: 380px; flex: none; }
	.pro-screen-chart { height: 180px; flex: none; }
	.pro-screen-gauge { max-height: none; }
	.pro-dash-stats,
	.pro-dash-main,
	.pro-dash-ranks { grid-template-columns: 1fr; }
	.pay-cfg-row,
	.pay-cfg-channels { grid-template-columns: 1fr; }
}

.pay-cfg-head h3 {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}

.pay-cfg-head h3 i {
	color: var(--pro-primary);
	font-size: 20px;
}

.pay-cfg-sub {
	font-size: 14px;
	font-weight: 600;
	color: var(--pro-text);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.pay-cfg-sub i {
	color: var(--pro-text-3);
}

.pay-cfg-error {
	color: #ff4d4f;
	background: #fff2f0;
	border: 1px solid #ffccc7;
	border-radius: 8px;
	padding: 12px 16px;
}

.pay-cfg-item {
	margin-bottom: 18px;
}

.pay-cfg-label {
	display: block;
	margin-bottom: 8px;
	color: var(--pro-text);
	font-size: 14px;
}

.pay-cfg-input {
	width: 100%;
	height: 40px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	padding: 0 12px;
	box-sizing: border-box;
	color: var(--pro-text);
}

.pay-cfg-input:focus {
	border-color: var(--pro-primary);
	outline: none;
}

.pay-cfg-hint {
	margin: 8px 0 0;
	color: var(--pro-text-3);
	font-size: 12px;
	line-height: 1.6;
}
.pay-cfg-hint-danger {
	color: #cf1322;
}

.pay-cfg-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.pay-cfg-channels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.pay-cfg-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid #d9d9d9;
	border-radius: 10px;
	padding: 16px 14px;
	cursor: pointer;
	background: #fff;
	box-sizing: border-box;
}

.pay-cfg-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.pay-cfg-card.is-on {
	border-color: #91caff;
	background: #f0f7ff;
}

.pay-cfg-check {
	width: 16px;
	height: 16px;
	border: 1px solid #d9d9d9;
	border-radius: 3px;
	flex-shrink: 0;
	position: relative;
	background: #fff;
}

.pay-cfg-card.is-on .pay-cfg-check {
	border-color: var(--pro-primary);
	background: var(--pro-primary);
}

.pay-cfg-card.is-on .pay-cfg-check:after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.pay-cfg-ico {
	font-size: 28px;
	flex-shrink: 0;
}

.pay-cfg-ico-ali { color: #1677ff; }
.pay-cfg-ico-wx { color: #07c160; }

.pay-cfg-card-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.pay-cfg-card-text strong {
	font-size: 14px;
	color: var(--pro-text);
	font-weight: 600;
}

.pay-cfg-card-text em {
	font-style: normal;
	font-size: 12px;
	color: var(--pro-text-3);
}

.pay-cfg-radios {
	display: flex;
	gap: 24px;
	color: var(--pro-text-2);
}

.pay-cfg-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 8px;
}

.pay-cfg-save {
	min-width: 120px;
}

.pro-field-row {
	display: flex;
	gap: 16px;
}

.pro-field-row .pro-field {
	flex: 1;
	min-width: 0;
}

.pro-amount-wrap {
	display: flex;
	align-items: stretch;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.pro-amount-wrap span {
	display: flex;
	align-items: center;
	padding: 0 10px;
	background: #f5f5f5;
	color: var(--pro-text-2);
	border-right: 1px solid #d9d9d9;
}

.pro-amount-wrap input {
	border: 0 !important;
	border-radius: 0 !important;
	min-height: 36px;
}

.pro-switch-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	color: var(--pro-text);
}

.pro-switch-row label,
.pro-tab-pane .pro-field > label input[type="checkbox"] {
	margin-right: 6px;
}

.pro-field-hint {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--pro-text-3);
	line-height: 1.6;
}

.pro-field textarea {
	min-height: 96px;
	resize: vertical;
}

.pro-upload-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.pro-upload-item {
	position: relative;
	width: 72px;
	height: 72px;
	border: 1px solid #f0f0f0;
	border-radius: 6px;
	overflow: hidden;
	background: #fafafa;
}

.pro-upload-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pro-upload-del {
	position: absolute;
	top: 0;
	right: 0;
	width: 18px;
	height: 18px;
	line-height: 16px;
	text-align: center;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 12px;
}