.szgh-shell {
	display: contents;
}

.szgh-overlay {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
}

.szgh-panel {
	height: 100vh;
	height: 100dvh;
	max-height: none;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 980px) {
	.szgh-overlay {
		justify-content: stretch;
		background: #fffdf9;
		backdrop-filter: none;
	}

	.szgh-panel {
		width: 100%;
		max-width: none;
		padding: calc(76px + env(safe-area-inset-top)) 22px calc(30px + env(safe-area-inset-bottom));
		border: 0;
		background: linear-gradient(160deg, #fffdf9, #f2e5d3);
		box-shadow: none;
	}

	.szgh-overlay > button {
		position: fixed;
		top: calc(16px + env(safe-area-inset-top));
		right: 16px;
		z-index: 100000;
		background: #3d2115;
	}

	.admin-bar .szgh-overlay > button {
		top: calc(54px + env(safe-area-inset-top));
	}

	.admin-bar .szgh-panel {
		padding-top: calc(112px + env(safe-area-inset-top));
	}

	.szgh-panel > h2 {
		margin-bottom: 18px;
		font-size: clamp(30px, 8vw, 38px);
	}

	.szgh-mobile-link {
		min-height: 54px;
		font-size: 19px;
	}
}

@media (max-width: 420px) {
	.szgh-panel {
		padding-right: 18px;
		padding-left: 18px;
	}
}
