html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	background: #410208;
}

body {
	max-width: 1080px;
	margin: 0 auto;
	font-family: Arial, 'Noto Sans KR', sans-serif;
}

main {
	width: 100%;
}

img {
	display: block;
	width: 100%;
	height: auto;
}

button {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
}

.imagemap {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	line-height: 0;
}

.menu-link,
.map-link {
	position: absolute;
	display: block;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.mlink01,
.mlink02,
.mlink03 {
	left: 28.333333%;
	width: 45.648148%;
	height: 6.458333%;
}

.mlink01 {
	top: 41.25%;
}

.mlink02 {
	top: 50.729167%;
}

.mlink03 {
	top: 59.947917%;
}

.utility-tools {
	position: fixed;
	top: 12px;
	top: calc(12px + env(safe-area-inset-top, 0px));
	right: 12px;
	right: calc(12px + env(safe-area-inset-right, 0px));
	z-index: 40;
	display: flex;
	gap: 8px;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 34px;
	background: rgba(65, 2, 8, 0.9);
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
}

.gohome,
.music_onoff {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: transform 160ms ease, background-color 160ms ease;
}

.gohome img {
	width: 30px;
	height: auto;
}

.music_onoff img {
	width: 42px;
	height: 42px;
}

.gohome:active,
.music_onoff:active {
	transform: scale(0.92);
	background: rgba(255, 255, 255, 0.15);
}

.kakaomap {
	position: absolute;
	top: 54.739583%;
	left: 10%;
	width: 79.351852%;
	height: 21.458333%;
	overflow: hidden;
	line-height: normal;
}

.tmap-link,
.kakao-navi {
	top: 78.125%;
	width: 10%;
	height: 5.208333%;
}

.tmap-link {
	left: 69.7%;
}

.kakao-navi {
	left: 80.2%;
}

[hidden] {
	display: none !important;
}

#map {
	width: 100%;
	height: 100%;
}

.map-fallback {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	background: #f4efec;
	color: #410208;
	font-size: clamp(11px, 2.6vw, 22px);
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}

.map-fallback span:last-child {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.menu-link {
	border-radius: 999px;
	transition: background-color 160ms ease, box-shadow 160ms ease;
	touch-action: manipulation;
}

.menu-link:active {
	background: rgba(65, 2, 8, 0.12);
	box-shadow: inset 0 0 0 3px rgba(238, 174, 48, 0.6);
}

button:focus-visible,
a:focus-visible {
	outline: 3px solid #efb238;
	outline-offset: 3px;
}

.imagemap:focus {
	outline: none;
}

.imagemap.is-active {
	animation: page-enter 180ms ease-out;
}

.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;
}

@keyframes page-enter {
	from { opacity: 0.65; }
	to { opacity: 1; }
}

@media (hover: hover) {
	.gohome:hover,
	.music_onoff:hover {
		background: rgba(255, 255, 255, 0.15);
	}
	.menu-link:hover {
		box-shadow: inset 0 0 0 3px rgba(238, 174, 48, 0.65);
	}
}

@media (prefers-reduced-motion: reduce) {
	.imagemap.is-active { animation: none; }
	.menu-link,
	.gohome,
	.music_onoff { transition: none; }
}
