* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	background: #031443;
}

body {
	width: 100%;
	max-width: 720px;
	min-height: 100%;
	margin: 0 auto;
	background: #071f5d;
	color: #111;
	font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
	box-shadow: 0 0 36px rgba(0, 0, 0, .42);
}

body.modal-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font: inherit;
}

.container,
.imagemap {
	position: relative;
	width: 100%;
}

.footer-space {
	height: 145px;
	background: #0d3186;
}

/* 하단 신청 버튼 */
.application-bar {
	position: fixed;
	right: 0;
	bottom: calc(74px + env(safe-area-inset-bottom));
	left: 0;
	z-index: 900;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 10px 18px;
	background: linear-gradient(to top, rgba(4, 20, 66, .94), rgba(4, 20, 66, .58));
}

.register-button {
	display: block;
	width: 100%;
	min-height: 48px;
	border: 1px solid rgba(255, 255, 255, .76);
	border-radius: 999px;
	background: linear-gradient(135deg, #f6fbff 0%, #dcecff 100%);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
	color: #0a348f;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -.3px;
	cursor: pointer;
}

.register-button:active {
	transform: translateY(1px);
}

/* 하단 내비게이션 */
.nav {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 950;
	display: flex;
	width: 100%;
	max-width: 720px;
	min-height: 74px;
	margin: 0 auto;
	padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, .98);
	box-shadow: 0 -3px 18px rgba(0, 0, 0, .18);
}

.nav-item {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
}

.nav-link {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #24334f;
}

.nav-icon {
	display: block;
	line-height: 1;
}

.nav-item img {
	width: 24px;
	height: 24px;
	margin-bottom: 4px;
	object-fit: contain;
}

.nav-text {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

/* 신청 팝업 */
.popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 18px;
	background: rgba(0, 7, 29, .78);
	backdrop-filter: blur(3px);
}

.popup-overlay.show {
	display: flex;
}

.popup {
	position: relative;
	width: 100%;
	max-width: 500px;
	max-height: calc(100vh - 36px);
	max-height: calc(100dvh - 36px);
	overflow-y: auto;
	padding: 24px 18px 20px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
	overscroll-behavior: contain;
}

.popup h1 {
	margin: 0 38px 20px;
	color: #082d81;
	font-size: 21px;
	font-weight: 800;
	text-align: center;
}

.close-btn {
	position: absolute;
	top: 9px;
	right: 10px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: #eef3fb;
	color: #163b7d;
	font-size: 28px;
	line-height: 35px;
	cursor: pointer;
}

.consent-box {
	margin-bottom: 18px;
	padding: 12px;
	border: 1px solid #d7dfec;
	border-radius: 8px;
	background: #f7f9fc;
	color: #4a5568;
	font-size: 12px;
	line-height: 1.55;
}

.consent-title {
	margin-bottom: 4px;
	color: #1e355f;
	font-weight: 800;
}

.form-group {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.form-group label {
	color: #24334f;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.form-group input,
.form-group textarea {
	width: 100%;
	border: 1px solid #ced7e5;
	border-radius: 7px;
	outline: 0;
	background: #fff;
	color: #111827;
	font-size: 14px;
}

.form-group input {
	min-height: 42px;
	padding: 9px 11px;
}

.form-group textarea {
	min-height: 98px;
	padding: 10px 11px;
	line-height: 1.5;
	resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: #1b5fc1;
	box-shadow: 0 0 0 3px rgba(27, 95, 193, .12);
}

.form-group-block {
	display: block;
}

.form-group-block label {
	display: block;
	margin-bottom: 7px;
}

.application-notice {
	margin: 17px 0;
	padding: 12px;
	border-radius: 8px;
	background: #edf4ff;
	color: #183a72;
	font-size: 12px;
	line-height: 1.55;
	word-break: keep-all;
}

.application-notice p + p {
	margin-top: 6px;
}

.submit-group {
	display: block;
	margin: 0;
}

.submit-btn {
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, #0d55b8, #082d81);
	box-shadow: 0 8px 20px rgba(8, 45, 129, .25);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
}

.submit-btn:disabled {
	opacity: .65;
	cursor: wait;
}

/* 접수 마감 안내 레이어 */
.closed-notice-overlay {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 7, 29, .78);
	backdrop-filter: blur(3px);
}

.closed-notice-overlay.show {
	display: flex;
}

.closed-notice-dialog {
	position: relative;
	width: 100%;
	max-width: 440px;
	padding: 30px 22px 22px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
	text-align: center;
}

.closed-notice-dialog h2 {
	margin: 0 36px 18px;
	color: #082d81;
	font-size: 21px;
	font-weight: 800;
}

.closed-notice-message {
	margin-bottom: 22px;
	color: #263850;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.7;
	word-break: keep-all;
}

.closed-notice-message p + p {
	margin-top: 10px;
}

.closed-notice-confirm {
	width: 100%;
	min-height: 46px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, #0d55b8, #082d81);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
}

/* 음악 버튼 및 첫 화면 안내 */
.music_onoff {
	position: fixed;
	right: 14px;
	right: max(14px, calc((100vw - 720px) / 2 + 14px));
	bottom: calc(154px + env(safe-area-inset-bottom));
	z-index: 990;
	width: 44px;
	height: auto;
	cursor: pointer;
}

.hint-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 7, 29, .62);
}

.hint-modal.show {
	display: flex;
}

.hint-dialog {
	width: 100%;
	max-width: 360px;
	padding: 24px 20px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
	text-align: center;
}

.hint-title {
	margin-bottom: 10px;
	color: #082d81;
	font-size: 18px;
	font-weight: 800;
}

.hint-msg {
	margin-bottom: 17px;
	color: #344054;
	font-size: 15px;
	line-height: 1.6;
}

.hint-actions {
	display: flex;
	justify-content: center;
}

.hint-close-btn {
	min-width: 120px;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: #082d81;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 360px) {
	.popup-overlay {
		padding: 10px;
	}

	.popup {
		max-height: calc(100vh - 20px);
		max-height: calc(100dvh - 20px);
		padding: 21px 14px 16px;
	}

	.form-group {
		grid-template-columns: 84px minmax(0, 1fr);
	}
}

/* 제6회 경희대학교 캠퍼스타운 데모데이 */
html { background: #e6dfc8; }
body { background: #f7f3e7; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #8b691e; outline-offset: 3px; }
.application-bar { background: linear-gradient(to top, rgba(242,235,211,.98), rgba(242,235,211,.8)); }
.register-button { color: #fff; border-color: #8a6e32; background: #95732d; }
.popup h1, .consent-title, .closed-notice-dialog h2 { color: #665020; }
.submit-btn, .closed-notice-confirm { background: #886928; }
.close-btn { color: #665020; background: #f3efdf; }
.footer-space { background: #bda14f; }
.meeting-hotspot { position: absolute; left: 32.4%; top: 96.28%; width: 35.2%; height: .83%; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.meeting-hotspot:focus-visible { outline: 3px solid #806020; outline-offset: 2px; }
.form-intro { margin: -6px 0 22px; text-align: center; color: #666; font-size: 13px; line-height: 1.7; }
.required, .form-message { color: #b22222; }
.form-message:empty { display: none; }
.form-message { margin-bottom: 14px; line-height: 1.5; }
.form-group select { width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid #ced7e5; border-radius: 7px; background: #fff; color: #111827; font-size: 14px; }
.form-group select:focus { outline: 2px solid #bda14f; }
.check-label { display: flex; align-items: flex-start; gap: 9px; margin: 15px 0; font-size: 13px; line-height: 1.65; color: #343128; cursor: pointer; }
.check-label input { width: 19px; height: 19px; margin: 2px 0 0; flex-shrink: 0; accent-color: #886928; }
.meeting-toggle { margin: 22px 0 12px; padding: 14px 12px; border: 1px solid #cab880; border-radius: 8px; background: #faf6e9; font-size: 15px; font-weight: 700; }
.meeting-toggle small { font-weight: 400; color: #706b5d; }
.meeting-fields { min-width: 0; margin: 0 0 22px; padding: 16px 12px 3px; border: 1px solid #e0d4ae; border-radius: 8px; background: #fffdf7; }
.consent-box { background: #f7f5ed; border-color: #e0dac9; color: #554f42; overflow-wrap: anywhere; }
.consent-box a { text-decoration: underline; }
.application-notice { background: #f6f2e6; color: #665020; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* RSVP 신청 유형 선택 */
.rsvp-choices { display: grid; gap: 14px; padding: 4px 0 12px; }
.rsvp-choice { width: 100%; padding: 23px 16px; border: 1px solid #ccb574; border-radius: 10px; background: #faf6e9; color: #665020; text-align: left; cursor: pointer; }
.rsvp-choice strong { display: block; margin-bottom: 8px; font-size: 18px; }
.rsvp-choice span { display: block; color: #6c6658; font-size: 13px; line-height: 1.6; }
.rsvp-choice:hover { background: #f2e8cb; }
.rsvp-back { margin: 0 0 20px; padding: 7px 0; border: 0; background: transparent; color: #766031; font-size: 13px; text-decoration: underline; cursor: pointer; }
