* {
	box-sizing: border-box;
}

:root {
	color-scheme: dark;
	--page: #040302;
	--gold: #e5cca0;
	--text: #d5d1ca;
}

html {
	background: var(--page);
	scroll-padding-bottom: 90px;
}

body {
	max-width: 800px;
	margin: 0 auto;
	padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
	background: var(--page);
	color: var(--text);
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
	word-break: keep-all;
	overflow-wrap: break-word;
}

body.hint-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }

.sr-only, .skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 30;
	padding: 10px 18px;
	background: var(--gold);
	color: #23190f;
}

.container { width: 100%; }
#main-content:focus, #main-content:focus-visible { outline: none; box-shadow: none; }

/* 2026-10-28 PDF image: 1080 x 3035. Overlay values are percentages of the whole image. */
.imagemap { position: relative; width: 100%; }
.invitation { display: block; width: 100%; height: auto; }
.link01, .map-wrap, .pdf-kakao, .pdf-naver, .pdf-copy, .pdf-contact { position: absolute; }
.link01, .pdf-kakao, .pdf-naver, .pdf-copy, .pdf-contact { display: block; padding: 0; border: 0; background: transparent; }
.link01 { border-radius: 12px; scroll-margin-top: 24px; }
.pdf-kakao, .pdf-naver, .pdf-copy { border-radius: 4px; }
.map-wrap { margin: 0; overflow: hidden; border: 0; border-radius: 7px; background: #fff; color-scheme: light; scroll-margin-top: 24px; }
.kakaomap { position: absolute; inset: 0; }
#map { width: 100%; height: 100%; }
.map-status { position: absolute; left: 10px; right: 10px; top: 50%; transform: translateY(-50%); z-index: 2; margin: 0; padding: 10px 6px; background: rgba(255, 255, 255, .95); color: #473c2a; font-size: clamp(10px, 2.6vw, 14px); text-align: center; pointer-events: none; }
.link01 { left: 30.390609%; top: 58.466200%; width: 39.251353%; height: 2.909948%; }
.map-wrap { left: 10.952230%; top: 68.268456%; width: 78.095542%; height: 13.942849%; }
.pdf-kakao { left: 10.967350%; top: 82.948797%; width: 24.814371%; height: 1.465177%; }
.pdf-naver { left: 37.592815%; top: 82.948797%; width: 24.814201%; height: 1.465177%; }
.pdf-copy { left: 64.218109%; top: 82.948797%; width: 24.814201%; height: 1.465177%; }
.pdf-contact { left: 26.038342%; top: 95.048181%; width: 47.876951%; height: 1.673804%; }

.nav { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 10; display: flex; width: 100%; max-width: 800px; padding: 5px 0 calc(5px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #746348; background: #17130f; box-shadow: 0 -3px 18px rgba(0, 0, 0, .13); }
.nav-item { flex: 1 1 0; min-width: 0; }
.nav-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 58px; padding: 5px 2px; border: 0; background: transparent; color: #fff; text-align: center; }
.nav-icon, .nav-icon img { display: block; width: 28px; height: 28px; object-fit: contain; }
.nav-text { font-size: 12px; line-height: 1.2; white-space: nowrap; }
.nav-link:hover { background: rgba(255, 255, 255, .08); }

.hint-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(4, 3, 2, .72); overflow: auto; }
.hint-dialog { width: 100%; max-width: 390px; max-height: 100%; padding: 26px 22px 20px; border: 1px solid #796546; border-radius: 16px; background: #15110e; text-align: center; overflow: auto; }
.hint-dialog h2 { margin: 0 0 12px; color: var(--gold); font-size: 22px; }
.hint-dialog p { margin: 0 0 20px; }
#hintClose { min-height: 44px; padding: 11px 32px; border: 0; border-radius: 24px; background: #a9276f; color: #fff; font-weight: 700; }
.feedback { position: fixed; left: 50%; bottom: calc(94px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 110; width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 12px 20px; border-radius: 10px; background: #a9276f; color: #fff; font-size: 14px; text-align: center; }


@media (max-width: 360px) {
	.nav-text { font-size: 11px; }
}

@media (hover: hover) {
	.link01:hover { box-shadow: 0 0 0 3px rgba(229, 204, 160, .35); }
	.pdf-kakao:hover, .pdf-naver:hover, .pdf-copy:hover { box-shadow: 0 0 0 2px rgba(229, 204, 160, .4); }
}

@media print {
	body { padding-bottom: 0; }
	.nav, .hint-modal, .feedback, .rsvp-layer { display: none !important; }
}

/* 언어 선택 및 영문 PDF(1080 × 2814) 클릭 영역 */
.container { position: relative; }
.language-switch { position: absolute; top: 10px; right: 12px; z-index: 2; padding: 8px 12px; border: 1px solid #8c7656; color: #e5cca0; background: #070604d9; font-size: 12px; text-decoration: none; }
.invitation-en .link01 { left: 30.370370%; top: 60.376688%; width: 39.259259%; height: 3.127221%; }
.invitation-en .pdf-directions { position: absolute; left: 9.234%; top: 69.687%; width: 81.319%; height: 11.816%; }
.invitation-en .pdf-kakao { left: 9.202%; top: 82.717%; width: 25.851%; height: 1.639%; }
.invitation-en .pdf-naver { left: 36.939%; top: 82.717%; width: 25.851%; height: 1.639%; }
.invitation-en .pdf-copy { left: 64.677%; top: 82.717%; width: 25.851%; height: 1.639%; }
.invitation-en .pdf-email { position: absolute; left: 36.770%; top: 95.833%; width: 27.912%; height: .810%; z-index: 2; }
.invitation-en .pdf-contact { left: 32.032%; top: 96.865%; width: 35.666%; height: .810%; }
.invitation-en .nav-text { font-size: 11px; }
.invitation-en .pdf-email:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
