/* Jersey Name & Number Live Preview v1.0.1 */
.jp-preview {
	max-width: 300px;
	margin: 6px 0 16px;
	padding: 12px 12px 10px;
	background: #f6f6f7;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 10px;
	box-sizing: border-box;
}
.jp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}
.jp-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #222;
}
.jp-live {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 7px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	background: #d0021b;
	border-radius: 20px;
}
.jp-live:before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: jp-pulse 1.4s ease-in-out infinite;
}
@keyframes jp-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .25; }
}
.jp-stage {
	position: relative;
	cursor: zoom-in;
	border-radius: 6px;
	outline: none;
}
.jp-stage:focus-visible {
	box-shadow: 0 0 0 2px #222;
}
.jp-svg {
	display: block;
	width: 100%;
	height: auto;
}
.jp-svg text {
	transition: opacity .15s ease;
}
.jp-foot {
	margin-top: 6px;
	font-size: 11px;
	line-height: 1.4;
	color: #777;
	text-align: center;
}
.jp-upper {
	text-transform: uppercase;
}
.jp-upper::placeholder {
	text-transform: none;
}

/* Enlarged view */
.jp-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(10, 10, 12, .82);
	cursor: zoom-out;
	animation: jp-fade .15s ease-out;
}
.jp-modal-box {
	width: 100%;
	max-width: 520px;
}
.jp-modal-box .jp-svg {
	max-height: 88vh;
}
.jp-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 30px;
	line-height: 38px;
	color: #fff;
	background: transparent;
	border: 0;
	cursor: pointer;
}
@keyframes jp-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (max-width: 767px) {
	.jp-preview {
		max-width: 100%;
	}
	.jp-stage {
		max-width: 260px;
		margin: 0 auto;
	}
}

/* On the product photo (Journal 3 gallery): lettering layer over the back photo */
.jp-photo-layer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	pointer-events: none;
}
.jp-photo-layer .jp-svg {
	width: 100%;
	height: 100%;
}

.jp-photo-stage {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.jp-photo-note {
	position: absolute;
	left: 50%;
	bottom: 3%;
	max-width: 92%;
	padding: 5px 12px;
	font-size: 11px;
	line-height: 1.35;
	color: #fff;
	text-align: center;
	background: rgba(0, 0, 0, .58);
	border-radius: 14px;
	transform: translateX(-50%);
	white-space: normal;
}
@media (max-width: 767px) {
	.jp-photo-note {
		font-size: 10px;
		padding: 4px 10px;
	}
}
