body.expg-public-page {
	background: #f7f7f4;
	color: #1f2933;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0;
}

.expg-page {
	min-height: 100vh;
	transition: filter .18s ease;
}

.expg-hero {
	background: linear-gradient(135deg, #292524, #57534e);
	background-position: center;
	background-size: cover;
	color: #fff;
	padding: 56px 18px;
}

.expg-hero-inner {
	margin: 0 auto;
	max-width: 1040px;
}

.expg-logo {
	background: rgba(255, 255, 255, .92);
	border-radius: 8px;
	max-height: 88px;
	max-width: 220px;
	padding: 8px;
}

.expg-code {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	margin-top: 28px;
	text-transform: uppercase;
}

.expg-hero h1,
.expg-review-card h1,
.expg-review-card h2,
.expg-gallery-header h2 {
	line-height: 1.08;
	margin: 0 0 12px;
}

.expg-hero h1 {
	font-size: 50px;
	max-width: 820px;
}

.expg-hero p {
	font-size: 18px;
	max-width: 680px;
}

.expg-expiration-hero {
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: 8px;
	display: inline-flex;
	font-size: 15px;
	font-weight: 800;
	margin-top: 10px;
	padding: 10px 12px;
}

.expg-review-card,
.expg-gallery-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-sizing: border-box;
	margin: 18px auto;
	max-width: 1040px;
	padding: 22px;
	width: calc(100% - 32px);
}

.expg-review-card p {
	font-size: 17px;
	line-height: 1.55;
	margin: 0 0 18px;
}

.expg-button-row,
.expg-gallery-header {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
}

.expg-button {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	text-decoration: none;
}

.expg-button-primary {
	background: var(--expg-primary, #16a34a);
	color: #111827;
}

.expg-button-secondary {
	background: #111827;
	color: #fff;
}

.expg-gallery {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	margin-top: 20px;
}

.expg-photo {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin: 0;
	overflow: hidden;
}

.expg-photo img {
	aspect-ratio: 4 / 3;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.expg-photo figcaption {
	padding: 10px;
	text-align: center;
}

.expg-photo a {
	color: #111827;
	font-weight: 700;
}

.expg-portal-shell {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	padding: 32px 0;
}

.expg-portal-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(15, 23, 42, .12);
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 560px;
	padding: 28px;
	width: calc(100% - 32px);
}

.expg-portal-card h1 {
	font-size: 36px;
	line-height: 1.08;
	margin: 0 0 12px;
}

.expg-portal-card p {
	color: #4b5563;
	font-size: 16px;
	line-height: 1.55;
	margin: 0 0 18px;
}

.expg-code-form {
	display: grid;
	gap: 10px;
}

.expg-code-form label {
	font-weight: 800;
}

.expg-code-form input {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: .04em;
	min-height: 52px;
	padding: 0 14px;
	text-transform: uppercase;
	width: 100%;
}

.expg-code-form .expg-button {
	border: 0;
	cursor: pointer;
	margin-top: 4px;
	width: 100%;
}

.expg-portal-review {
	border-top: 1px dashed #d1d5db;
	margin-top: 24px;
	padding-top: 20px;
}

.expg-portal-review p {
	font-size: 14px;
	margin: 0 0 10px;
}

.expg-portal-review-link {
	color: var(--expg-primary, #16a34a);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.expg-form-error {
	background: #fee2e2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #991b1b !important;
	font-weight: 800;
	padding: 12px;
}

.expg-review-popup-open {
	overflow: hidden;
}

.expg-review-popup-open .expg-page {
	filter: blur(7px) brightness(.52);
	pointer-events: none;
	user-select: none;
}

.expg-review-overlay,
.expg-review-modal-wrap {
	position: fixed;
}

.expg-review-overlay[hidden],
.expg-review-modal-wrap[hidden] {
	display: none;
}

.expg-review-overlay {
	animation: expg-overlay-in .18s ease-out;
	background: rgba(15, 23, 42, .68);
	inset: 0;
	z-index: 9998;
}

.expg-review-modal-wrap {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 18px;
	z-index: 9999;
}

.expg-review-modal {
	animation: expg-modal-in .22s ease-out;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, .12);
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, .32);
	box-sizing: border-box;
	max-width: 520px;
	padding: 28px;
	position: relative;
	width: min(100%, 520px);
}

.expg-review-modal h2 {
	color: #111827;
	font-size: 28px;
	line-height: 1.12;
	margin: 0 36px 12px 0;
}

.expg-review-modal p {
	color: #374151;
	font-size: 16px;
	line-height: 1.55;
	margin: 0 0 22px;
}

.expg-review-close {
	align-items: center;
	background: #f3f4f6;
	border: 0;
	border-radius: 999px;
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	font-weight: 800;
	height: 34px;
	justify-content: center;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 34px;
}

.expg-review-close:focus,
.expg-review-close:hover {
	background: #e5e7eb;
}

.expg-review-modal-actions {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.expg-review-modal-actions .expg-button {
	border: 0;
	cursor: pointer;
}

.expg-review-primary-cta {
	box-shadow: 0 14px 30px rgba(22, 163, 74, .28);
	font-size: 17px;
	min-height: 58px;
	width: 100%;
}

.expg-review-primary-cta:disabled {
	cursor: not-allowed;
	opacity: .58;
}

.expg-review-secondary-link {
	color: #4b5563;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.expg-review-secondary-link:focus,
.expg-review-secondary-link:hover {
	color: #111827;
}

@keyframes expg-overlay-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes expg-modal-in {
	from {
		opacity: 0;
		transform: scale(.96) translateY(8px);
	}

	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.expg-message-page {
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 32px 0;
}

@media (max-width: 640px) {
	.expg-hero {
		padding: 42px 16px;
	}

	.expg-hero h1 {
		font-size: 34px;
	}

	.expg-portal-card {
		padding: 24px 18px;
	}

	.expg-portal-card h1 {
		font-size: 30px;
	}

	.expg-expiration-hero {
		display: flex;
		width: fit-content;
	}

	.expg-button,
	.expg-button-row,
	.expg-gallery-header {
		width: 100%;
	}

	.expg-review-modal {
		padding: 24px 18px;
	}

	.expg-review-modal h2 {
		font-size: 24px;
	}

	.expg-review-modal-actions .expg-button,
	.expg-review-secondary-link {
		width: 100%;
	}

	.expg-review-secondary-link {
		text-align: center;
	}
}
