@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; }
body { margin: 0; background: #03091b; color: #17243e; font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, .busy { background: #c5c8cd !important; color: #646870 !important; border-color: #b6bac0 !important; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #42b7ec; outline-offset: 3px; }
a { color: inherit; }
.invitation { width: 100%; max-width: 800px; margin: 0 auto; }
.image-page { position: relative; width: 100%; }
.page-image { display: block; width: 100%; height: auto; }
.hotspot { position: absolute; display: block; background: transparent; border: 0; padding: 0; }
.hotspot:focus-visible { outline-offset: -3px; }
.page-footer { display: flex; background: #050d29; padding: 16px; gap: 12px; }
.page-footer a, .page-footer button { flex: 1; border: 1px solid #7798bf; background: none; text-align: center; text-decoration: none; color: white; padding: 13px; }
.kakaomap { position: absolute; left: 7.5%; top: 46.35%; width: 85%; height: 30.73%; background: #eef4f7; }
.kakaomap > #map { width: 100%; height: 100%; }
#map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 700; background: #e9f3f9; text-decoration: none; }
#map-fallback span { margin-top: 8px; font-size: 14px; font-weight: 400; }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal-shade { position: absolute; inset: 0; background: rgb(0 0 0 / 70%); }
.modal-panel { position: relative; background: white; width: 100%; max-width: 760px; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; }
.modal-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; background: #080b49; color: white; }
.modal-header p { margin: 0 0 3px; font-size: 13px; }
.modal-header h1 { font-size: 22px; margin: 0; }
.modal-header button { flex-shrink: 0; color: white; font-size: 30px; line-height: 1; background: transparent; border: 0; width: 44px; height: 44px; }
.modal-body { padding: 24px; }
.event-summary { text-align: center; margin: 0 0 26px; padding-bottom: 24px; border-bottom: 1px solid #dfe4ed; color: #5b6373; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
label { display: block; font-size: 15px; font-weight: 600; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; min-width: 0; min-height: 44px; border: 1px solid #c8cfd8; background: white; color: #18243a; border-radius: 0; padding: 10px 12px; margin-top: 6px; }
input[type=checkbox] { width: 18px; height: 18px; margin: 2px 8px 0 0; flex-shrink: 0; accent-color: #080b49; }
small, .help { display: block; color: #697385; font-size: 13px; font-weight: 400; margin: 7px 0 0; }
.required { color: #d23535; }
fieldset { min-width: 0; margin: 25px 0; padding: 16px; border: 1px solid #d9dfe7; }
legend { font-weight: 700; padding: 0 6px; }
.programs .help { margin: 0 0 14px; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-grid label, .consent { display: flex; align-items: flex-start; font-weight: 400; }
.other-program { margin-top: 16px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
h2 { font-size: 18px; margin: 0 0 12px; }
.section-heading h2 { margin: 0; }
.companion-count { font-size: 13px; color: #58738c; font-weight: 500; margin-left: 6px; }
.add-companion { border: 1px solid #233953; color: #233953; background: white; min-height: 44px; padding: 8px 14px; }
.companion-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr) 44px; align-items: end; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e4e7ec; }
.companion-number { align-self: center; padding-top: 24px; color: #667d93; }
.remove-companion { height: 44px; border: 1px solid #bbc3ce; background: #f6f7f9; font-size: 22px; }
.privacy-box { margin-top: 28px; background: #f6f8fb; border: 1px solid #d9dfe7; padding: 18px; font-size: 13px; max-height: 260px; overflow-y: auto; }
.privacy-box h2 { font-size: 16px; }
.consent { margin: 18px 0; font-size: 14px; }
.form-status { min-height: 24px; margin: 14px 0; color: #bb2727; white-space: pre-line; }
.primary { background: #080b49; color: white; border: 1px solid #080b49; min-height: 46px; padding: 11px 20px; }
.submit-button { width: 100%; font-size: 17px; font-weight: 700; }
#registration-success { padding: 40px 0; text-align: center; }
#registration-success p { margin: 22px 0; }
body.modal-open { overflow: hidden; }
@media (max-width: 520px) {
	.modal { padding: 8px; }
	.modal-panel { max-height: calc(100dvh - 16px); }
	.modal-header { padding: 15px; }
	.modal-header h1 { font-size: 18px; }
	.modal-header p { font-size: 11px; }
	.modal-body { padding: 18px 16px; }
	.form-grid { grid-template-columns: 1fr; gap: 16px; }
	.checkbox-grid { grid-template-columns: 1fr; }
	input:not([type=checkbox]), select, textarea { font-size: 16px; padding: 10px 8px; }
	.companion-row { gap: 6px; grid-template-columns: 16px minmax(0, 1fr) minmax(0, 1fr) 40px; }
	.companion-row label { font-size: 13px; }
	.companion-count { display: block; margin-left: 0; }
}
