* {
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	background: #120202;
	-webkit-text-size-adjust: 100%;
}

body {
	max-width: 800px;
	margin: 0 auto;
	font-family: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", "Malgun Gothic", serif;
	color: #f4dfad;
}

button,
input,
textarea {
	font-family: inherit;
}

button {
	border: 0;
	padding: 0;
	background: none;
	cursor: pointer;
}

.invite-shell {
	position: relative;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	background: #120202;
	overflow: hidden;
}

.invite-page {
	position: relative;
	display: none;
	width: 100%;
}

.invite-page.is-active {
	display: block;
}

.invite-page img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	user-select: none;
	-webkit-user-drag: none;
}

.hotspot {
	position: absolute;
	display: block;
	z-index: 10;
	background: rgba(255, 255, 255, 0);
	-webkit-tap-highlight-color: rgba(245, 213, 142, .18);
}

.hotspot:focus-visible,
.transport-btn:focus-visible,
.rsvp-submit:focus-visible,
.home-btn:focus-visible,
.rsvp-input:focus-visible,
.rsvp-textarea:focus-visible {
	outline: 2px solid rgba(255, 226, 157, .95);
	outline-offset: 3px;
}

/* main.png 기준 좌표: 941 x 1672 */
.main-menu-link {
	left: 14.2%;
    width: 71.6%;
    height: 5.8%;
}

.main-menu-link-01 {
	top: 67.95%;
}

.main-menu-link-02 {
	top: 74.45%;
}

.main-menu-link-03 {
	top: 80.9%;
}

.main-menu-link-04 {
	top: 87.35%;
}

/* menu03.png 기준 좌표: 941 x 1800 */
.map-link {
	left: 11.8%;
	top: 84.55%;
	width: 76.5%;
	height: 7.2%;
}

.home-btn {
	position: fixed;
	top: 14px;
	left: 50%;
	z-index: 100;
	display: none;
	min-width: 64px;
	height: 34px;
	margin-left: -386px;
	padding: 0 14px;
	border: 1px solid rgba(239, 203, 133, .75);
	border-radius: 999px;
	background: rgba(60, 8, 8, .72);
	box-shadow: 0 0 18px rgba(255, 190, 92, .16), inset 0 0 12px rgba(255, 224, 159, .06);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: #f8e3b1;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
}

.home-btn.is-visible {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 800px) {
	.home-btn {
		left: 12px;
		margin-left: 0;
	}
}

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

.rsvp-form {
	position: absolute;
	inset: 0;
	z-index: 20;
}

/* menu04.png 기준 좌표: 887 x 1774 */
.rsvp-input,
.rsvp-textarea {
	position: absolute;
	z-index: 22;
	border: 0;
	background: rgba(255, 255, 255, 0);
	color: #fff3c7;
	text-shadow: 0 0 8px rgba(50, 0, 0, .6);
	font-weight: 500;
	line-height: 1.45;
	appearance: none;
	-webkit-appearance: none;
}

.rsvp-input {
	left: 24.2%;
	width: 62.2%;
	height: 4.2%;
	padding: 0 1.6%;
	font-size: clamp(17px, 3.35vw, 28px);
	letter-spacing: -.02em;
}

.rsvp-name {
	top: 30.8%;
}

.rsvp-phone {
	left: 30%;
	top: 35.95%;
	width: 56.4%;
}

.rsvp-textarea {
	left: 11.7%;
	top: 72.7%;
	width: 76.6%;
	height: 10.35%;
	padding: 1.8% 2.3%;
	resize: none;
	font-size: clamp(16px, 3vw, 24px);
}

.rsvp-input:focus,
.rsvp-textarea:focus {
	background: rgba(64, 10, 8, .08);
	outline: none;
}

.rsvp-input:-webkit-autofill,
.rsvp-input:-webkit-autofill:hover,
.rsvp-input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff3c7;
	transition: background-color 9999s ease-out 0s;
	box-shadow: 0 0 0 1000px rgba(64, 10, 8, .05) inset;
}

.transport-group {
	position: absolute;
	inset: 0;
	z-index: 21;
}

.transport-btn {
	position: absolute;
	left: 9.4%;
	width: 81.2%;
	height: 5.85%;
	border-radius: 1px;
	background: rgba(255, 255, 255, 0);
	transition: background .18s ease, box-shadow .18s ease, outline-color .18s ease;
	-webkit-tap-highlight-color: rgba(245, 213, 142, .18);
}

.transport-self {
	top: 46.3%;
}

.transport-public {
	top: 53.35%;
}

.transport-ride {
	top: 60.35%;
}

.transport-btn.is-selected {
	background: rgba(252, 205, 118, .09);
	box-shadow: inset 0 0 0 2px rgba(255, 230, 162, .95), 0 0 22px rgba(255, 190, 92, .34);
}

.transport-btn.is-selected::after {
	content: "✓";
	position: absolute;
	right: 5.1%;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(24px, 5.6vw, 42px);
	height: clamp(24px, 5.6vw, 42px);
	border: 1px solid rgba(255, 232, 170, .82);
	border-radius: 50%;
	background: rgba(79, 13, 11, .72);
	box-shadow: 0 0 14px rgba(250, 206, 117, .34);
	color: #ffe8ae;
	font-size: clamp(17px, 3.7vw, 28px);
	line-height: 1;
}

.rsvp-submit {
	position: absolute;
	left: 8.5%;
	top: 86.5%;
	z-index: 25;
	width: 81%;
	height: 5.35%;
	color: transparent;
	font-size: 0;
	-webkit-tap-highlight-color: rgba(245, 213, 142, .18);
}

.rsvp-submit::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
}

.rsvp-submit.is-loading {
	cursor: wait;
	opacity: .72;
}

.rsvp-submit.is-loading::before {
	content: "저장 중";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: #ffe8ae;
	font-size: clamp(17px, 4vw, 30px);
	font-weight: 600;
	letter-spacing: -.03em;
	text-shadow: 0 0 10px rgba(35, 0, 0, .6);
}

.toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	z-index: 1000;
	width: min(88%, 560px);
	padding: 14px 18px;
	border: 1px solid rgba(242, 207, 132, .82);
	border-radius: 12px;
	background: rgba(36, 4, 4, .94);
	box-shadow: 0 12px 34px rgba(0, 0, 0, .38), 0 0 24px rgba(255, 190, 92, .18);
	color: #fff1c4;
	font-size: 15px;
	line-height: 1.55;
	text-align: center;
	transform: translate(-50%, 120px);
	opacity: 0;
	pointer-events: none;
	transition: transform .25s ease, opacity .25s ease;
}

.toast.is-visible {
	transform: translate(-50%, 0);
	opacity: 1;
}

@media (min-width: 800px) {
	.rsvp-input {
		font-size: 28px;
	}

	.rsvp-textarea {
		font-size: 24px;
	}
}
