.pmvc-card-list {
	display: grid;
	gap: 24px;
	margin-top: 20px;
}

.pmvc-notice {
	background: #fff;
	border-left: 4px solid #3858e9;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	padding: 12px 16px;
}

.pmvc-card {
	aspect-ratio: 85.6 / 53.98;
	background: linear-gradient(135deg, #172033, #37515a);
	background-position: center;
	background-size: cover;
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 112px;
	max-width: 540px;
	overflow: hidden;
	padding: 28px;
	position: relative;
	width: 100%;
}

.pmvc-card__logo {
	height: 100px;
	object-fit: contain;
	position: absolute;
	right: 24px;
	top: 24px;
	width: 100px;
	z-index: 2;
}

.pmvc-card::after {
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 14px;
	content: "";
	inset: 12px;
	pointer-events: none;
	position: absolute;
}

.pmvc-card__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	position: relative;
	z-index: 1;
}

.pmvc-card__header {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: auto;
	max-width: calc(100% - 100px);
	min-width: 0;
}

.pmvc-card__header span,
.pmvc-card__field span,
.pmvc-card__qr span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.pmvc-card__header strong {
	font-size: 18px;
	letter-spacing: 0;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.pmvc-card__fields {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 34px;
}

.pmvc-card__field {
	min-width: 0;
}

.pmvc-card__field strong {
	display: block;
	font-size: 16px;
	letter-spacing: 0;
	line-height: 1.2;
	margin-top: 4px;
	overflow-wrap: anywhere;
}

.pmvc-card__field--validity {
	grid-column: 1 / -1;
}

.pmvc-card__qr {
	align-self: end;
	cursor: zoom-in;
	display: grid;
	gap: 8px;
	justify-items: flex-end;
	position: relative;
	z-index: 1;
}

.pmvc-card__qr:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.9);
	outline-offset: 4px;
}

.pmvc-card__qr-code {
	background: #fff;
	border-radius: 8px;
	display: block;
	height: 96px;
	overflow: hidden;
	padding: 6px;
	width: 96px;
}

.pmvc-card__qr-code svg {
	display: block;
	height: 100%;
	width: 100%;
}

.pmvc-qr-modal-open {
	overflow: hidden;
}

.pmvc-qr-modal {
	align-items: center;
	background: rgba(7, 12, 18, 0.86);
	display: none;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 999999;
}

.pmvc-qr-modal.is-open {
	display: flex;
}

.pmvc-qr-modal__panel {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
	max-width: min(80vw, 520px);
	padding: 24px;
	width: min(80vw, 520px);
}

.pmvc-qr-modal__code svg {
	display: block;
	height: auto;
	width: 100%;
}

.pmvc-qr-modal__close {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 999px;
	color: #111;
	cursor: pointer;
	display: flex;
	font-size: 30px;
	height: 44px;
	justify-content: center;
	line-height: 1;
	position: fixed;
	right: 24px;
	top: 24px;
	width: 44px;
}

@media (max-width: 520px) {
	.pmvc-card {
		border-radius: 14px;
		grid-template-columns: minmax(0, 1fr) 86px;
		padding: 20px;
	}

	.pmvc-card__logo {
		height: 64px;
        right: 16px;
        top: 18px;
        width: 64px;
	}

	.pmvc-card__header {
		max-width: calc(100% - 24px);
	}

	.pmvc-card__header strong {
		font-size: 15px;
	}

	.pmvc-card__fields {
		gap: 8px;
		margin-top: 18px;
	}

	.pmvc-card__field strong {
		font-size: 13px;
	}

	.pmvc-card__qr-code {
		height: 60px;
		width: 60px;
		padding: 4px;
	}

	.pmvc-card__header span,
	.pmvc-card__field span,
	.pmvc-card__qr span {
		font-size: 9px;
	}
}
