 :root {
 	--cyan: #22D3EE;
 	--green: #34D399;
 	--amber: #F59E0B;
 	--bg: #020617;
 	--deep: #090d16;
 	--card: rgba(15, 23, 42, 0.8);
 	--border: rgba(255, 255, 255, 0.15);
 }

 /* 全局过渡 */
 .transition-glow {
 	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 }

 /* ====== 核心卡片 ====== */
 .vault-card {
 	background: var(--card);
 	backdrop-filter: blur(24px);
 	-webkit-backdrop-filter: blur(24px);
 	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 1.25rem 1.45rem;
 	box-shadow:
 		inset 0 1px 0 rgba(255, 255, 255, 0.04),
 		0 24px 48px -20px rgba(0, 0, 0, 0.6),
 		0 0 0 1px rgba(0, 0, 0, 0.3);
 	position: relative;
 	overflow: hidden;
 }

 .vault-card::before {
 	content: '';
 	position: absolute;
 	top: 0;
 	left: 0;
 	right: 0;
 	height: 1px;
 	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
 }

 /* 布局 */
 .main-layout {
 	display: grid;
 	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	max-width: 1500px;
	height: 100%;
	min-height: 0;
 	margin: 0 auto;
	overflow: hidden;
 }

 .main-layout > .vault-card,
 .main-layout > div {
	min-height: 0;
 }

 .main-layout > .vault-card:first-child,
 .main-layout > div {
	gap: 1rem !important;
 }

 .main-layout > .vault-card:first-child {
	display: flex;
	flex-direction: column;
 }

 .main-layout > div {
	display: flex;
	flex-direction: column;
	height: 100%;
 }

 .recharge-flow-column {
	height: 100%;
	min-height: 0;
 }

 .main-layout > div > .vault-card:has(#energyGrid) {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
 }

 .main-layout .vault-card:has(#energyGrid) > span:first-child {
	margin-bottom: 0.65rem !important;
 }

 #energyGrid + div {
	margin-top: 0.65rem !important;
 }

 @media (max-width: 1024px) {
 	.main-layout {
 		grid-template-columns: 1fr;
		height: auto;
		overflow: visible;
 	}

	 .recharge-flow-column {
		height: auto;
	 }
 }

 /* ====== 左侧：量子资产核心舱 ====== */
 .balance-display {
	font-size: 3.4rem;
 	font-weight: 800;
 	background: linear-gradient(135deg, #22D3EE 0%, #34D399 100%);
 	-webkit-background-clip: text;
 	-webkit-text-fill-color: transparent;
 	background-clip: text;
 	filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.5));
 	line-height: 1.1;
 	letter-spacing: -0.02em;
 	font-family: 'JetBrains Mono', 'Fira Code', monospace;
 }

 @media (max-width: 640px) {
 	.balance-display {
 		font-size: 2.8rem;
 	}
 }

 .shield-icon {
 	animation: shieldPulse 2.5s ease-in-out infinite;
 }

 @keyframes shieldPulse {

 	0%,
 	100% {
 		filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
 	}

 	50% {
 		filter: drop-shadow(0 0 18px rgba(52, 211, 153, 0.9));
 	}
 }

 /* 能量进度条 */
 .gauge-container {
 	position: relative;
	height: 14px;
 	background: rgba(0, 0, 0, 0.5);
 	border-radius: 12px;
 	overflow: hidden;
 	border: 1px solid rgba(255, 255, 255, 0.1);
 	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
 }

 .gauge-fill {
 	height: 100%;
 	background: repeating-linear-gradient(90deg,
 			rgba(34, 211, 238, 0.9) 0px,
 			rgba(34, 211, 238, 0.6) 4px,
 			rgba(52, 211, 153, 0.7) 6px,
 			rgba(52, 211, 153, 0.4) 8px);
 	border-radius: 12px;
 	transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
 	box-shadow: 0 0 16px rgba(34, 211, 238, 0.5);
 	position: relative;
 }

 .gauge-fill::after {
 	content: '';
 	position: absolute;
 	top: 0;
 	left: 0;
 	right: 0;
 	height: 50%;
 	background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
 	border-radius: 12px 12px 0 0;
 }

 .gauge-ticks {
 	position: absolute;
 	inset: 0;
 	background-image: repeating-linear-gradient(90deg,
 			rgba(255, 255, 255, 0.1) 0px,
 			rgba(255, 255, 255, 0.1) 1px,
 			transparent 1px,
 			transparent 12px);
 	pointer-events: none;
 }

 /* 微缩流水 */
 .micro-ledger {
 	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 0.8rem;
	margin-top: 0.6rem;
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
 }

 .ledger-row {
 	display: flex;
 	justify-content: space-between;
 	align-items: center;
	padding: 0.36rem 0;
 	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
 	font-size: 0.85rem;
 	transition: background 0.2s;
 }

 .ledger-row:hover {
 	background: rgba(34, 211, 238, 0.03);
 	border-radius: 6px;
 	padding-left: 0.5rem;
 	padding-right: 0.5rem;
 	margin-left: -0.5rem;
 	margin-right: -0.5rem;
 }

 .recharge-ledger-list {
     min-height: 0;
     flex: 1;
     overflow: hidden;
 }

 #rechargeRecordList {
     margin-top: 0.55rem !important;
 }

 .recharge-ledger-more {
     display: flex;
     justify-content: center;
     padding-top: 0.85rem;
     margin-top: auto;
 }

 .recharge-ledger-more-btn {
     min-width: 9rem;
     min-height: 2.45rem;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     border: 1px solid rgba(34, 211, 238, 0.45);
     border-radius: 999px;
     background: rgba(34, 211, 238, 0.08);
     color: #22D3EE;
     font-size: 0.88rem;
     font-weight: 700;
     cursor: pointer;
     transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
 }

 .recharge-ledger-more-btn:hover {
     border-color: rgba(34, 211, 238, 0.85);
     background: rgba(34, 211, 238, 0.16);
     color: #67E8F9;
     box-shadow: 0 0 18px rgba(34, 211, 238, 0.16);
     transform: translateY(-1px);
 }

 .recharge-ledger-more-btn:focus-visible {
     outline: 2px solid rgba(103, 232, 249, 0.75);
     outline-offset: 3px;
 }

 .recharge-ledger-row {
     gap: 0.8rem;
 }

 .recharge-ledger-time {
     flex: 0 0 6.2rem;
     color: #94a3b8;
 }

 .recharge-ledger-amount {
     flex: 1;
     color: #cbd5e1;
     font-family: 'JetBrains Mono', monospace;
     text-align: right;
 }

 .recharge-ledger-status {
     flex: 0 0 3.5rem;
     text-align: right;
     font-size: 0.75rem;
     font-weight: 700;
 }

 .recharge-ledger-status.is-paid {
     color: #34D399;
 }

 .recharge-ledger-status.is-unpaid {
     color: #F59E0B;
 }

 .recharge-ledger-status.is-unknown {
     color: #64748b;
 }

 .recharge-ledger-empty {
     justify-content: center;
     color: #64748b;
     border-bottom: 0;
     padding: 1.2rem 0;
 }

 .recharge-ledger-empty.is-error {
     color: #F87171;
 }

 /* ====== 右侧：充值与支付网关 ====== */
 /* 面额能量块 */
 .energy-grid {
 	display: grid;
 	grid-template-columns: repeat(3, 1fr);
	gap: 0.9rem;
 }

 @media (max-width: 640px) {
 	.energy-grid {
 		grid-template-columns: repeat(2, 1fr);
 	}
 }

 .energy-block {
 	background: rgba(255, 255, 255, 0.02);
 	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	min-height: 86px;
	padding: 1rem 0.9rem;
 	text-align: center;
 	cursor: pointer;
 	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 	position: relative;
 	overflow: hidden;
 }

 /* 斜向网格纹理 */
 .energy-block::before {
 	content: '';
 	position: absolute;
 	inset: 0;
 	background-image: repeating-linear-gradient(-35deg,
 			transparent,
 			transparent 20px,
 			rgba(255, 255, 255, 0.015) 20px,
 			rgba(255, 255, 255, 0.015) 22px);
 	pointer-events: none;
 }

 .energy-block:hover {
 	border-color: rgba(34, 211, 238, 0.4);
 	background: rgba(34, 211, 238, 0.04);
 	transform: translateY(-2px);
 }

 .energy-block.active {
 	border: 1.5px solid #22D3EE;
 	background: rgba(34, 211, 238, 0.08);
	box-shadow: 0 0 22px rgba(34, 211, 238, 0.24), 0 0 0 5px rgba(34, 211, 238, 0.04);
	transform: translateY(-2px);
 }

 .energy-block.active .block-amount {
	transform: translateY(-2px);
 	transition: transform 0.3s ease;
 }

 .block-amount {
	font-size: 1.5rem;
 	font-weight: 700;
 	color: #e2e8f0;
 	transition: transform 0.3s ease;
 }

 .energy-block.active .block-amount {
 	color: #22D3EE;
 }

 .bonus-tag {
 	position: absolute;
 	top: 8px;
 	right: 8px;
 	background: rgba(245, 158, 11, 0.15);
 	border: 1px solid rgba(245, 158, 11, 0.4);
 	color: #F59E0B;
 	font-size: 0.65rem;
 	font-weight: 700;
 	padding: 2px 8px;
 	border-radius: 20px;
 	letter-spacing: 0.3px;
 	box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
 }

 .bonus-dot {
 	width: 0.4rem;
 	height: 0.4rem;
 	border-radius: 50%;
 	background: #F59E0B;
 	display: inline-block;
 	margin-right: 3px;
 	animation: pulse 1.5s ease-in-out infinite;
 }

 @keyframes pulse {

 	0%,
 	100% {
 		opacity: 1;
 	}

 	50% {
 		opacity: 0.3;
 	}
 }

 .custom-input {
 	background: transparent;
 	border: none;
 	border-bottom: 2px solid rgba(255, 255, 255, 0.15);
	padding: 0.35rem 0.3rem;
 	font-size: 1rem;
 	color: #e2e8f0;
 	outline: none;
 	transition: border-color 0.3s;
 	width: 100%;
 	font-family: 'JetBrains Mono', monospace;
 }

 .custom-input:focus {
 	border-bottom-color: #22D3EE;
 }

 .recharge-payment-inline {
	margin-top: 1.35rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
 }

 .recharge-payment-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
 }

 .recharge-total-label,
 .recharge-pay-label {
	font-size: 0.75rem;
	color: #94a3b8;
	white-space: nowrap;
 }

 .recharge-total-amount {
	font-size: 1.95rem;
	font-weight: 800;
	background: linear-gradient(135deg, #22D3EE, #34D399);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.4));
	font-family: 'JetBrains Mono', 'Fira Code', monospace;
 }

 .recharge-payment-method-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
 }

 .recharge-submit-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
 }

 .recharge-submit-status {
	min-width: 0;
	color: #94a3b8;
	font-size: 0.78rem;
	line-height: 1.5;
 }

 .recharge-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 150px;
	height: 42px;
	padding: 0 1.25rem;
	border: 1px solid rgba(34, 211, 238, 0.75);
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(52, 211, 153, 0.18));
	color: #e0fbff;
	font-size: 0.92rem;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 0 20px rgba(34, 211, 238, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	white-space: nowrap;
 }

 .recharge-submit-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 0 28px rgba(34, 211, 238, 0.32);
 }

 .recharge-submit-btn:disabled {
	cursor: wait;
	opacity: 0.72;
 }

 .recharge-submit-btn .loading-spinner {
	width: 1rem;
	height: 1rem;
 }

 /* 支付网关 */
 .pay-tab-group {
 	display: flex;
	flex-wrap: wrap;
 	gap: 0.5rem;
 	background: rgba(0, 0, 0, 0.3);
	border-radius: 14px;
	padding: 0.3rem;
 	width: fit-content;
 	border: 1px solid rgba(255, 255, 255, 0.06);
	margin-bottom: 0.75rem !important;
 }

 .pay-tab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.42rem;
	padding: 0.52rem 1.15rem;
	border-radius: 10px;
 	font-weight: 600;
 	font-size: 0.85rem;
 	cursor: pointer;
 	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 	color: #94a3b8;
 	background: transparent;
 	border: 1px solid transparent;
 	white-space: nowrap;
	line-height: 1;
 }

 .payment-brand-icon {
	width: 1.25rem;
	height: 1.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 0;
	align-self: center;
	vertical-align: middle;
 }

 .pay-tab-btn > span:not(.payment-brand-icon) {
	display: inline-flex;
	align-items: center;
	min-height: 1.25rem;
 }

 .payment-brand-icon svg,
 .payment-brand-icon img {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible;
	object-fit: contain;
 }

 .pay-tab-btn.active {
 	background: rgba(34, 211, 238, 0.12);
 	border-color: #22D3EE;
 	color: #22D3EE;
 	box-shadow: 0 0 16px rgba(34, 211, 238, 0.2);
 }

 .pay-tab-btn:hover:not(.active) {
 	color: #cbd5e1;
 	background: rgba(255, 255, 255, 0.03);
 }

 .crypto-box {
 	background: rgba(0, 0, 0, 0.5);
 	border: 1px solid rgba(255, 255, 255, 0.12);
 	border-radius: 14px;
 	padding: 1rem 1.2rem;
 	display: flex;
 	align-items: center;
 	justify-content: space-between;
 	gap: 0.8rem;
 	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
 }

 .crypto-address {
 	font-family: 'JetBrains Mono', monospace;
 	font-size: 0.8rem;
 	color: #cbd5e1;
 	overflow: hidden;
 	text-overflow: ellipsis;
 	white-space: nowrap;
 	flex: 1;
 }

 .copy-icon-btn {
 	background: rgba(34, 211, 238, 0.15);
 	border: 1px solid rgba(34, 211, 238, 0.4);
 	color: #22D3EE;
 	padding: 0.5rem 0.9rem;
 	border-radius: 10px;
 	cursor: pointer;
 	font-size: 0.8rem;
 	font-weight: 600;
 	transition: all 0.3s;
 	white-space: nowrap;
 }

 .copy-icon-btn:hover {
 	background: rgba(34, 211, 238, 0.25);
 	box-shadow: 0 0 14px rgba(34, 211, 238, 0.3);
 }

 .copied-flash {
 	background: rgba(52, 211, 153, 0.25) !important;
 	border-color: #34D399 !important;
 	color: #34D399 !important;
 	box-shadow: 0 0 20px rgba(52, 211, 153, 0.4) !important;
 }

 .notice-box {
	margin-top: auto;
 	border: 1px dashed rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 0.6rem 0.8rem;
	font-size: 0.72rem;
 	color: #94a3b8;
	line-height: 1.45;
 	background: rgba(255, 255, 255, 0.01);
 }

 .notice-box br {
	display: none;
 }

 .notice-dot {
 	color: #F59E0B;
 	margin-right: 0.3rem;
 }

 @media (max-width: 640px) {
	 .recharge-payment-summary,
	 .recharge-payment-method-row,
	 .recharge-submit-row {
		 align-items: stretch;
		 flex-direction: column;
		 gap: 0.65rem;
	 }

	 .recharge-submit-btn {
		 width: 100%;
	 }

     .pay-tab-group {
         width: 100%;
     }

     .pay-tab-btn {
         flex: 1;
         padding-left: 0.8rem;
         padding-right: 0.8rem;
     }
 }
