.sytec-club-card {
	position: relative;
	box-sizing: border-box;
	container-type: inline-size;
	width: 100%;
	max-width: 720px;
	aspect-ratio: 1016 / 640;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: var(--sytec-club-card-radius);
	color: #fff;
	box-shadow: 0 18px 45px rgba(7, 59, 76, .24);
}

.sytec-club-card--fallback {
	background: linear-gradient(145deg, #073b4c, #0f8f91);
}

.sytec-club-card__background {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: fill;
	object-position: center;
}

.sytec-club-card__fallback-brand {
	position: absolute;
	top: 7%;
	right: 5%;
	max-width: 55%;
	font-size: 3.2cqw;
	font-weight: 800;
	line-height: 1;
	text-align: right;
	text-transform: uppercase;
	letter-spacing: .08em;
	opacity: .78;
}

.sytec-club-card__logo {
	position: absolute;
	top: 5%;
	left: 5%;
	display: block;
	width: 12%;
	height: 19%;
	object-fit: contain;
}

.sytec-club-card__item {
	position: absolute;
	left: var(--card-x);
	top: var(--card-y);
	z-index: 1;
	box-sizing: border-box;
	margin: 0;
}

.sytec-club-card__name,
.sytec-club-card__code,
.sytec-club-card__balance {
	max-width: 39%;
	color: var(--card-color);
	font-size: var(--card-font-size);
	font-weight: var(--card-font-weight);
	line-height: 1.08;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sytec-club-card__balance {
	max-width: 38%;
}

.sytec-club-card__meta {
	max-width: 38%;
	color: #fff;
	font-size: 1.8cqw;
	font-weight: 600;
	line-height: 1.15;
	white-space: nowrap;
}

.sytec-club-card__qr {
	width: var(--card-qr-size);
	max-width: 40%;
	overflow: hidden;
	padding: 1%;
	transform: translate(-50%, -50%);
	border-radius: 6%;
	background: #fff;
	color: #1d2327;
	font-size: 1.5cqw;
	line-height: 1.2;
	text-align: center;
}

.sytec-club-card__qr svg,
.sytec-club-card__qr .sytec-club-qr {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: 100%;
}

.sytec-club-card__classic {
	position: relative;
	z-index: 2;
	display: grid;
	width: 100%;
	height: 100%;
	grid-template-columns: var(--classic-columns);
	gap: var(--classic-gap);
	align-items: stretch;
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
	padding: var(--classic-padding);
}

.sytec-club-card__column {
	display: flex;
	flex-direction: column;
	align-items: var(--column-align);
	justify-content: var(--column-justify);
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	gap: var(--column-gap);
	padding: var(--column-padding);
	border-radius: var(--column-radius);
	background-color: var(--column-background-color, transparent);
	background-image: var(--column-background-image, none);
}

.sytec-club-card__classic-item {
	align-self: var(--item-self);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-top: var(--item-margin-top);
	margin-bottom: var(--item-margin-bottom);
	padding: var(--item-padding);
	overflow: hidden;
	border-radius: var(--item-radius);
	background-color: var(--item-background-color, transparent);
	background-image: var(--item-background-image, none);
	color: var(--item-color);
	font-size: var(--item-font-size);
	font-weight: var(--item-weight);
	line-height: 1.08;
	text-align: var(--item-align);
	overflow-wrap: anywhere;
}

.sytec-club-card__balance-label {
	text-transform: uppercase;
	letter-spacing: .06em;
}

.sytec-club-card__classic-qr {
	width: var(--classic-qr-size);
	aspect-ratio: 1 / 1;
	flex: 0 1 auto;
}

.sytec-club-card__classic-qr svg,
.sytec-club-card__classic-qr .sytec-club-qr {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: 100%;
}

.sytec-club-card__logo {
	z-index: 2;
}

@supports not (font-size: 1cqw) {
	.sytec-club-card__fallback-brand { font-size: clamp(12px, 3vw, 32px); }
	.sytec-club-card__name,
	.sytec-club-card__code,
	.sytec-club-card__balance { font-size: clamp(10px, 3vw, 42px); }
	.sytec-club-card__meta { font-size: clamp(9px, 1.6vw, 18px); }
	.sytec-club-card__qr { font-size: clamp(8px, 1.4vw, 15px); }
	.sytec-club-card__classic-item { font-size: clamp(8px, 2.4vw, 42px); }
}
