.mycode-wallet-section {
	width: 100%;
	margin: 20px auto 0;
	padding: 0 32px;
	box-sizing: border-box;
}

.mycode-cards-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	direction: rtl;
	max-width: 480px;
	margin: 0 auto;
}

/* ── Shared card base ── */
.mycode-wallet-card,
.mycode-stars-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 12px;
	border-radius: 16px;
	color: #fff;
	aspect-ratio: 3 / 4;
	text-align: center;
}

.mycode-wallet-card {
	background: #020152;
}
.mycode-stars-card {
	background: #aa1444;
}

.mycode-wallet-card--guest,
.mycode-stars-card--guest {
	cursor: pointer;
}

/* ── Decorative blob ── */
.mycode-wallet-card::before,
.mycode-stars-card::before {
	content: "";
	position: absolute;
	top: -38px;
	left: -38px;
	width: 130px;
	height: 130px;
	border-radius: 30px;
	transform: rotate(20deg);
	pointer-events: none;
}

.mycode-wallet-card::before {
	background: rgba(91, 194, 231, 0.4);
}
.mycode-stars-card::before {
	background: rgba(255, 100, 130, 0.35);
}

/* ── Header ── */
.mycode-wallet-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
}

.mycode-wallet-title {
	font-size: 13px;
	font-weight: 600;
}

/* ── Balance ── */
.mycode-wallet-balance,
.mycode-stars-balance {
	font-size: 24px;
	font-weight: 700;
	position: relative;
}

.mycode-wallet-balance--guest,
.mycode-stars-balance--guest {
	font-size: 12px;
	font-weight: 400;
	opacity: 0.85;
	position: relative;
}

/* ── Desktop ── */
@media (min-width: 600px) {
	.mycode-wallet-section {
		padding: 0 24px;
	}

	.mycode-wallet-card,
	.mycode-stars-card {
		padding: 22px 18px;
		aspect-ratio: 4 / 3;
		border-radius: 20px;
		gap: 12px;
	}

	.mycode-wallet-title {
		font-size: 16px;
	}

	.mycode-wallet-balance,
	.mycode-stars-balance {
		font-size: 34px;
	}

	.mycode-wallet-balance--guest,
	.mycode-stars-balance--guest {
		font-size: 14px;
	}
}