/* EvePics – square social visual (/{lang}/promo/social).
   Crop = dark square (hero + QR). Full = A4 poster composition fitted into 1080×1080. */

.promo-page--social .promo-toolbar,
.promo-page--social .promo-mode-switch,
.promo-page--social .poster-code-form {
	max-width: 1080px;
}

.social-stage {
	display: flex;
	justify-content: center;
	padding: 0 0 var(--space-xl);
	overflow: auto;
}

.social-body {
	color-scheme: light;
	--bg-page: #f4f6f9;
	--text-primary: #1a1d24;
	--text-secondary: #5c6370;
	font-family: var(--font-body);
	color: var(--text-primary);
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

.social-body *,
.social-body *::before,
.social-body *::after {
	box-sizing: border-box;
}

.social-sheet {
	width: 1080px;
	height: 1080px;
	margin: 0 auto;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: var(--shadow-lg);
}

/* ---------- Crop (dark square, top of poster) ---------- */
.social-sheet--crop {
	background:
		radial-gradient(70% 55% at 5% 0%, rgba(79, 70, 229, .5), transparent 70%),
		radial-gradient(70% 55% at 100% 15%, rgba(14, 116, 144, .55), transparent 70%),
		radial-gradient(60% 50% at 90% 100%, rgba(168, 85, 247, .4), transparent 70%),
		#020617;
}

.social-sheet--crop .social-hero {
	width: 100%;
	padding: 72px 72px 0;
	color: #f8fafc;
	text-align: center;
	background: transparent;
}

.social-sheet--crop .poster-brand {
	font-size: 42px;
	gap: 14px;
}

.social-sheet--crop .poster-brand img {
	width: 52px;
	height: 52px;
}

.social-sheet--crop .poster-title {
	margin: 36px auto 0;
	max-width: 860px;
	font-size: 48px;
	line-height: 1.12;
}

.social-sheet--crop .poster-qr-row {
	margin-top: 56px;
	padding: 0 72px 72px;
	flex: 1 1 auto;
	align-items: flex-start;
	justify-content: center;
}

.social-sheet--crop .poster-qr-card {
	width: 420px;
	padding: 28px 28px 24px;
}

.social-sheet--crop .poster-qr-title {
	margin: 0 0 16px;
	font-size: 22px;
}

.social-sheet--crop .poster-qr-img {
	width: 300px;
	height: 300px;
	margin: 0 auto;
	padding: 4px;
}

.social-sheet--crop .poster-qr-url {
	margin: 16px 0 0;
	font-size: 24px;
}

.social-sheet--crop .poster-qr-url--with-code {
	font-size: 17px;
}

.social-sheet--crop .poster-qr-demo {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.35;
}

.social-sheet--crop .poster-qr-row.is-open {
	justify-content: flex-start;
}

.social-sheet--crop .poster-qr-row.is-open .poster-qr-aside {
	left: calc(72px + 420px - 56px);
	right: 72px;
}

.social-sheet--crop .poster-qr-aside-card {
	padding: 20px 22px 20px 92px;
}

.social-sheet--crop .poster-qr-aside-text {
	font-size: 15px;
}

.social-sheet--crop .poster-qr-aside-code {
	font-size: 36px;
}

/* ---------- Full = A4 poster fitted into the square ---------- */
.social-sheet--full {
	background: #fff;
}

.social-sheet--full .social-hero {
	width: 100%;
	padding: 52px 56px 132px;
	color: #f8fafc;
	text-align: center;
	background:
		radial-gradient(280px 200px at 5% 0%, rgba(79, 70, 229, .5), transparent 70%),
		radial-gradient(320px 220px at 100% 15%, rgba(14, 116, 144, .55), transparent 70%),
		radial-gradient(280px 180px at 90% 100%, rgba(168, 85, 247, .4), transparent 70%),
		#020617;
}

.social-sheet--full .poster-brand {
	font-size: 36px;
	gap: 12px;
}

.social-sheet--full .poster-brand img {
	width: 48px;
	height: 48px;
}

.social-sheet--full .poster-title {
	margin: 32px auto 0;
	max-width: 840px;
	font-size: 42px;
	line-height: 1.12;
}

.social-sheet--full .poster-qr-row {
	margin-top: -104px;
	padding: 0 56px;
	flex: 0 0 auto;
	justify-content: center;
}

.social-sheet--full .poster-qr-card {
	width: 380px;
	padding: 24px 24px 20px;
}

.social-sheet--full .poster-qr-title {
	margin: 0 0 14px;
	font-size: 19px;
}

.social-sheet--full .poster-qr-img {
	width: 300px;
	height: 300px;
	margin: 0 auto;
	padding: 4px;
}

.social-sheet--full .poster-qr-url {
	margin: 14px 0 0;
	font-size: 22px;
}

.social-sheet--full .poster-qr-url--with-code {
	font-size: 15px;
}

.social-sheet--full .poster-qr-demo {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.35;
}

.social-sheet--full .poster-qr-row.is-open {
	justify-content: flex-start;
}

.social-sheet--full .poster-qr-row.is-open .poster-qr-aside {
	left: calc(56px + 380px - 56px);
	right: 56px;
}

.social-sheet--full .poster-qr-aside-card {
	padding: 16px 18px 16px 84px;
}

.social-sheet--full .poster-qr-aside-text {
	font-size: 13px;
}

.social-sheet--full .poster-qr-aside-code {
	font-size: 30px;
}

.social-sheet--full .poster-steps {
	margin: 40px 0 0;
	padding: 0 56px;
	gap: 24px;
}

.social-sheet--full .poster-steps li {
	font-size: 17px;
}

.social-sheet--full .poster-step-num {
	width: 40px;
	height: 40px;
	margin-bottom: 10px;
	font-size: 19px;
}

.social-sheet--full .poster-features {
	margin: 40px 0 48px;
	padding: 0 56px;
	gap: 16px;
}

.social-sheet--full .poster-features li {
	padding: 18px 12px 16px;
	font-size: 14px;
	border-radius: 12px;
}

.social-sheet--full .poster-feature-icon {
	width: 38px;
	height: 38px;
	margin-bottom: 10px;
	padding: 9px;
}

@media screen and (max-width: 1140px) {
	.social-stage {
		justify-content: flex-start;
	}

	.social-sheet {
		zoom: .55;
	}
}

@media screen and (max-width: 640px) {
	.social-sheet {
		zoom: .34;
	}
}
