* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: #000;
}

body {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
	font-family: Arial, "Malgun Gothic", sans-serif;
}

.invitation {
	width: 100%;
	max-width: 800px;
	margin: auto;
	background: #fafcfd;
}

@supports (height: 100svh) {
	.invitation {
		width: min(800px, 100%, calc((100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) / 1.2));
	}
}

.swiper-container {
	position: relative;
	z-index: 1;
	width: 100%;
	overflow: hidden;
	touch-action: pan-y pinch-zoom;
}

.swiper-wrapper {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	height: 100%;
	transition-property: transform;
	box-sizing: content-box;
}

.swiper-slide {
	position: relative;
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	margin: 0;
}

.page-image,
.registration img {
	display: block;
	width: 100%;
	height: auto;
}

.swiper-button-prev,
.swiper-button-next {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 52px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #117bb9;
	transform: translateY(-50%);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.swiper-button-prev {
	left: 0;
}

.swiper-button-next {
	right: 0;
}

.swiper-button-prev::after,
.swiper-button-next::after {
	width: 15px;
	height: 15px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
}

.swiper-button-prev::after {
	transform: rotate(-135deg);
}

.swiper-button-next::after {
	transform: rotate(45deg);
}

.swiper-button-disabled {
	opacity: .2;
	cursor: default;
}

.registration {
	display: block;
	width: 100%;
}

.registration:focus-visible,
.swiper-container:focus-visible,
.swiper-button-prev:focus-visible,
.swiper-button-next:focus-visible,
.map-fallback:focus-visible {
	outline: 3px solid #117bb9;
	outline-offset: -3px;
}

.kakaomap {
	position: absolute;
	top: 23%;
	left: 5.9%;
	width: 88.2%;
	height: 59%;
	background: #edf2f5;
}

#map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	visibility: hidden;
}

.kakaomap.is-ready #map {
	visibility: visible;
}

.map-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	height: 100%;
	color: #153b76;
	font-size: clamp(11px, 2.5vw, 18px);
	text-decoration: none;
}

.kakaomap.is-ready .map-fallback {
	display: none;
}

.swipe-guide {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 10;
	width: min(40vw, 220px);
	transform: translate(-50%, -50%);
	pointer-events: none;
	animation: guide-fade 1.6s ease-out forwards;
}

.swipe-guide img {
	display: block;
	width: 100%;
	height: auto;
}

.swiper-notification {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes guide-fade {
	0%, 25% { opacity: .7; }
	100% { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
	.swipe-guide { display: none; }
	.swiper-wrapper { transition-duration: 0ms !important; }
}
