.vjl {
	--vjl-green: #123f2a;
	--vjl-green-2: #1b5639;
	--vjl-gold: #d4af37;
	--vjl-paper: #f4f0e5;
	--vjl-ink: #183527;
	--vjl-shadow: 0 18px 42px rgba(19, 48, 33, .18);
	color: var(--vjl-ink);
}

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

.vjl__paper {
	padding: clamp(64px, 7vw, 118px) clamp(26px, 4vw, 72px) clamp(84px, 8vw, 138px);
	overflow: visible;
}

.vjl__layout {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr);
	gap: clamp(48px, 6vw, 104px);
	align-items: start;
	max-width: 1680px;
	margin-inline: auto;
}

.vjl__collection {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.vjl__header {
	max-width: 690px;
	margin-bottom: clamp(34px, 5vw, 70px);
}

.vjl__title {
	margin: 0;
	color: var(--vjl-green);
	font-size: clamp(2rem, 4.4vw, 5.2rem);
	line-height: .88;
	letter-spacing: -.05em;
	text-transform: uppercase;
    font-family: built-Local;
}

.vjl__subtitle {
	margin: 16px 0 22px;
	color: var(--vjl-green-2);
	font-size: clamp(1.45rem, 2.5vw, 2.8rem);
	font-style: italic;
}

.vjl__intro {
	max-width: 34rem;
	margin: 0;
	font-size: clamp(1rem, 1.25vw, 1.18rem);
	line-height: 1.65;
}

.vjl__table {
	min-width: 0;
}

.vjl__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	min-height: 470px;
	padding: 20px 8px 46px;
	transition: opacity .25s ease, transform .25s ease;
}

.vjl__cards.is-changing {
	opacity: 0;
	transform: scale(.97);
}

.vjl-card {
	position: relative;
	z-index: 1;
	display: block;
	width: min(100%, 225px);
	justify-self: center;
	padding: 0;
	border: 0;
	background: transparent;
	transform: rotate(var(--vjl-rotation));
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	filter: drop-shadow(0 12px 12px rgba(21, 51, 34, .22));
	transition: transform .22s ease, filter .22s ease, opacity .2s ease;
}

.vjl-card:nth-child(2),
.vjl-card:nth-child(5) {
	margin-top: 64px;
}

.vjl-card:nth-child(4) {
	margin-left: 34px;
}

.vjl-card:hover,
.vjl-card:focus-visible {
	z-index: 5;
	transform: rotate(0deg) translateY(-13px) scale(1.055);
	filter: drop-shadow(0 22px 18px rgba(21, 51, 34, .3));
	outline: none;
}

.vjl-card.is-selected {
	z-index: 30 !important;
	transform: rotate(0deg) translateY(-24px) scale(1.1);
	filter: drop-shadow(0 30px 24px rgba(21, 51, 34, .36));
}

.vjl-card.is-selected .vjl-card__hint {
	opacity: 1;
	transform: translate(-50%, 0);
	background: #b99225;
}

.vjl-card.is-launching {
	opacity: .12;
}

.vjl-card--flying {
	position: fixed;
	z-index: 999999;
	margin: 0 !important;
	pointer-events: none;
	transform-origin: center;
	transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	transition:
		transform .9s cubic-bezier(.3, .72, .25, 1),
		opacity .18s linear .72s;
	filter: drop-shadow(0 30px 25px rgba(0,0,0,.38));
}

.vjl-card--flying.is-flying {
	transform:
		translate3d(var(--vjl-fly-x), var(--vjl-fly-y), 0)
		rotate(720deg)
		scale(var(--vjl-fly-scale));
	opacity: .12;
}

.vjl-scanner__dock.is-receiving {
	border-color: #fff0a0;
	background: rgba(212,175,55,.12);
	box-shadow: inset 0 0 34px rgba(212,175,55,.48), 0 0 22px rgba(212,175,55,.28);
}

.vjl-card img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 285px;
	object-fit: contain;
	background: transparent;
	pointer-events: none;
}

.vjl-card__hint {
	position: absolute;
	left: 50%;
	bottom: 10px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(18, 63, 42, .92);
	color: #fff;
	font-size: .72rem;
	letter-spacing: .04em;
	opacity: 0;
	transform: translate(-50%, 6px);
	transition: .2s ease;
	pointer-events: none;
}

.vjl-card:hover .vjl-card__hint,
.vjl-card:focus-visible .vjl-card__hint {
	opacity: 1;
	transform: translate(-50%, 0);
}

.vjl__pack-actions {
	display: grid;
	justify-items: center;
	gap: 8px;
}

.vjl__pack-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 20px;
	border: 1px solid var(--vjl-green);
	border-radius: 999px;
	background: #fff;
	color: var(--vjl-green);
	font-weight: 700;
	cursor: pointer;
}

.vjl__pack-button:hover,
.vjl__pack-button:focus-visible {
	background: var(--vjl-green);
	color: #fff;
}

.vjl__pack-button:disabled {
	opacity: .55;
	cursor: wait;
}

.vjl__pack-icon {
	color: var(--vjl-gold);
}

.vjl__status {
	min-height: 1.4em;
	margin: 0;
	text-align: center;
	font-size: .85rem;
}

.vjl-scanner {
	position: sticky;
	top: 64px;
	display: flex;
	flex-direction: column;
	min-height: 680px;
	padding: 18px;
	border: 2px solid #b99225;
	border-radius: 28px;
	background:
		linear-gradient(135deg, rgba(255,255,255,.06), transparent 35%),
		var(--vjl-green);
	color: #fff;
	box-shadow: var(--vjl-shadow), inset 0 0 0 4px rgba(255,255,255,.05);
	margin-top: -42px;
}

.vjl-scanner__top,
.vjl-scanner__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	color: #e5c458;
	text-transform: uppercase;
	letter-spacing: .09em;
	font-weight: 700;
}

.vjl-scanner__top {
	padding: 6px 8px 18px;
}

.vjl-scanner__lamp {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #88d93b;
	box-shadow: 0 0 13px #88d93b;
}

.vjl-scanner__screen {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 22px;
	min-height: 620px;
	padding: clamp(18px, 2.4vw, 34px);
	border: 2px solid var(--vjl-gold);
	border-radius: 18px;
	background:
		linear-gradient(rgba(212,175,55,.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(212,175,55,.08) 1px, transparent 1px),
		#0e2f22;
	background-size: 20px 20px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.vjl-scanner__screen.is-ready {
	box-shadow: inset 0 0 35px rgba(212,175,55,.55), 0 0 22px rgba(212,175,55,.25);
	transform: scale(1.012);
}

.vjl-scanner__dock {
	position: relative;
	display: grid;
	place-items: center;
	height: 210px;
	min-height: 210px;
	padding: 18px;
	border: 1px dashed rgba(212,175,55,.55);
	border-radius: 14px;
	background: rgba(2, 25, 17, .22);
	overflow: hidden;
	transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.vjl-scanner__dock.is-ready {
	border-color: #f2d66f;
	background: rgba(212,175,55,.09);
	box-shadow: inset 0 0 28px rgba(212,175,55,.35);
}

.vjl-scanner__placed-card {
	position: absolute;
	z-index: 2;
	inset: 12px;
	display: grid;
	place-items: center;
	animation: vjl-place-card .32s ease both;
	pointer-events: none;
}

.vjl-scanner__placed-card[hidden] {
	display: none;
}

.vjl-scanner__placed-card img {
	display: block;
	width: auto;
	max-width: 88%;
	height: auto;
	max-height: 176px;
	object-fit: contain;
	filter: drop-shadow(0 14px 12px rgba(0,0,0,.32));
}

.vjl-scanner__idle {
	display: grid;
	gap: 10px;
	justify-items: center;
	color: rgba(255,255,255,.78);
	text-align: center;
}

.vjl-scanner__idle strong {
	font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.vjl-scanner__cards-icon {
	font-size: 4.5rem;
	color: rgba(212,175,55,.5);
	transform: rotate(-8deg);
}

.vjl-scanner__processing {
	width: min(100%, 560px);
	margin-inline: auto;
}

.vjl-scanner__processing strong {
	display: block;
	margin-bottom: 14px;
	color: #ecd16f;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.vjl-scanner__progress {
	height: 8px;
	margin-bottom: 12px;
	border: 1px solid rgba(212,175,55,.8);
	border-radius: 999px;
	overflow: hidden;
}

.vjl-scanner__progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, #b68d16, #fff0a1);
	transform: translateX(-100%);
	animation: vjl-progress 1.35s ease forwards;
}

.vjl-scanner__beam {
	position: absolute;
	z-index: 3;
	left: 4%;
	right: 4%;
	top: 0;
	height: 3px;
	background: #fff5ad;
	box-shadow: 0 0 17px 6px rgba(224, 196, 86, .6);
	opacity: 0;
	pointer-events: none;
}

.vjl-scanner__screen.is-scanning .vjl-scanner__beam {
	animation: vjl-beam 1.35s ease-in-out;
}

.vjl-result {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(135px, .72fr) minmax(0, 1.4fr);
	gap: clamp(18px, 2.5vw, 30px);
	width: 100%;
	max-height: 100%;
	padding: clamp(18px, 2.4vw, 30px);
	border-radius: 14px;
	background: #f1ead8;
	color: var(--vjl-ink);
	box-shadow: inset 0 0 0 2px rgba(184, 144, 35, .55);
	overflow: auto;
}

.vjl-result__image img {
	display: block;
	width: 100%;
	max-height: 330px;
	object-fit: contain;
}

.vjl-result__kicker {
	margin: 0 0 5px;
	color: #54704e;
	font-size: .92rem;
	font-style: italic;
	text-transform: uppercase;
}

.vjl-result__name {
	margin: 0 0 12px;
	color: var(--vjl-green);
	font-size: clamp(1.75rem, 3vw, 3rem);
	line-height: 1;
}

.vjl-result__excerpt {
	line-height: 1.55;
}

.vjl-result__facts {
	display: grid;
	gap: 8px;
	margin: 18px 0;
}

.vjl-result__facts div {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 8px;
}

.vjl-result__facts dt {
	font-weight: 700;
}

.vjl-result__facts dd {
	margin: 0;
}

.vjl-result__link {
	display: inline-flex;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--vjl-green);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

.vjl-result__link:hover,
.vjl-result__link:focus-visible {
	background: var(--vjl-green-2);
	color: #fff;
}

.vjl-scanner__footer {
	padding: 18px 8px 2px;
	font-size: .75rem;
}

.vjl-scanner__reset {
	border: 0;
	background: transparent;
	color: #e5c458;
	text-decoration: underline;
	cursor: pointer;
}

.vjl-empty-admin {
	padding: 18px;
	border-left: 4px solid #d4af37;
	background: #fff8d8;
}

@keyframes vjl-place-card {
	from { opacity: 0; transform: translateY(-18px) rotate(-3deg) scale(.96); }
	to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

@keyframes vjl-progress {
	to { transform: translateX(0); }
}

@keyframes vjl-beam {
	0% { top: 2%; opacity: 0; }
	15% { opacity: 1; }
	85% { opacity: 1; }
	100% { top: calc(100% - 4px); opacity: 0; }
}

@media (max-width: 1180px) {
	.vjl__layout {
		grid-template-columns: 1fr;
	}

	.vjl__header {
		max-width: 820px;
	}

	.vjl-scanner {
		position: relative;
		top: auto;
		min-height: 650px;
	}

	.vjl__cards {
		min-height: 440px;
	}
}

@media (max-width: 720px) {
	.vjl__paper {
		padding: 44px 16px 72px;
	}

	.vjl__header {
		margin-bottom: 26px;
	}

	.vjl__cards {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: auto;
		padding: 28px 10px 40px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.vjl-card,
	.vjl-card:nth-child(n) {
		flex: 0 0 min(68vw, 235px);
		margin: 0;
		scroll-snap-align: center;
		transform: rotate(var(--vjl-rotation));
		touch-action: manipulation;
	}

	.vjl-card--ghost {
		width: min(62vw, 220px);
	}

	.vjl-scanner {
		min-height: 0;
		margin-top: 0;
		padding: 11px;
		border-radius: 20px;
	}

	.vjl-scanner__screen {
		min-height: 500px;
	}

	.vjl-result {
		grid-template-columns: 1fr;
	}

	.vjl-result__image {
		max-width: 220px;
		margin-inline: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vjl *,
	.vjl *::before,
	.vjl *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}