:root {
  --mc-blue: #72aef7;
  --mc-blue-deep: #1768c9;
  --mc-pink: #e63d86;
  --mc-pink-dark: #c72870;
  --mc-mint: #26b9aa;
  --ink: #162033;
  --muted: #687389;
  --line: #dce3ed;
  --surface: #ffffff;
  --page: #eef5fc;
  --soft-blue: #f4f8fd;
  --soft-pink: #fff1f6;
  --shadow: 0 18px 48px rgba(36, 72, 118, .10);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 12% 8%, rgba(114, 174, 247, .16), transparent 26rem), var(--page);
  font-family: Pretendard, "Noto Sans KR", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, select, label, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.hidden { display: none !important; }
.brand-logo { display: block; object-fit: contain; }
.busy { opacity: .68; pointer-events: none; }

.page-shell {
  width: min(calc(100% - 64px), 1080px);
  min-height: calc(100vh - 56px);
  margin: 28px auto;
  overflow: hidden;
  background: #f6f9fd;
  border: 1px solid rgba(193, 207, 225, .82);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(32, 70, 119, .12);
}

/* Brand header */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 405px;
  color: #10213b;
  background: linear-gradient(135deg, #83b9fa 0%, #75adf2 58%, #9bc6f8 100%);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255, 255, 255, .9) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .9) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .4) 62%, transparent 100%);
}
.topbar, .hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 80px), 960px);
  margin-inline: auto;
}
.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding-top: 34px;
}
.official-logo-wrap {
  display: block;
  flex: 0 0 auto;
  width: 176px;
  color: inherit;
  text-decoration: none;
}
.official-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 9px 15px rgba(22, 52, 92, .16));
}
.language-picker {
  position: absolute;
  top: 34px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: #24344e;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(35, 59, 94, .18);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(26, 62, 109, .10);
  backdrop-filter: blur(8px);
}
.language-picker .globe {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--mc-blue-deep);
  font-size: 15px;
  font-weight: 800;
}
.language-picker select {
  max-width: 132px;
  color: #263750;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  padding: 18px 0 40px;
}
.hero-copy { width: min(100%, 680px); text-align: center; }
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 12px;
  color: #18395f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.eyebrow span, .eyebrow i { font: inherit; font-style: normal; }
.eyebrow i { color: #4f5f76; }
.hero h1 {
  margin: 0;
  color: #111d31;
  font-size: clamp(42px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.04;
  word-break: keep-all;
}
.hero h1 em { color: var(--mc-pink-dark); font-style: normal; }
.hero-copy > p {
  max-width: 590px;
  margin: 17px 0 0;
  color: #253852;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  word-break: keep-all;
}
.hero-spark {
  position: absolute;
  right: 34px;
  top: 48%;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
}

/* Progress */
.stepper {
  display: grid;
  grid-template-columns: auto minmax(34px, 70px) auto minmax(34px, 70px) auto;
  align-items: center;
  width: min(100%, 540px);
  margin: 26px auto 0;
  padding: 17px 20px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(38, 77, 124, .13);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(34, 74, 124, .08);
  backdrop-filter: blur(7px);
}
.step {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #7a8698;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.step b {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: #7c8797;
  background: #fff;
  border: 1px solid #cfd7e2;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}
.step i { font-style: normal; }
.step.active { color: #273247; font-weight: 800; }
.step.active b {
  color: #fff;
  background: var(--mc-pink);
  border-color: var(--mc-pink);
  box-shadow: 0 4px 10px rgba(230, 61, 134, .22);
}
.dash {
  display: block;
  height: 1px;
  margin: 0 12px;
  background: #c8d2df;
}

/* Form cards */
.panel {
  width: min(calc(100% - 80px), 760px);
  margin: 44px auto;
  padding: 42px 44px 44px;
  background: var(--surface);
  border: 1px solid #dce4ed;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 30px;
}
.number-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--mc-pink-dark);
  background: var(--soft-pink);
  border: 1px solid rgba(230, 61, 134, .18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}
.number-badge.purple { color: #7456b8; background: #f4f0ff; border-color: #dfd5fa; }
.number-badge.mint { color: #087f75; background: #ebfbf8; border-color: #c7eee8; }
.section-heading h2 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.verify-layout { display: block; }
.verify-art, .heading-star, .hero-art, .footer-deco { display: none; }
.field { margin: 0 0 20px; }
.field label {
  display: block;
  margin: 0 0 9px;
  color: #2c374a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.field input, .field select, .phone-mode, .other-code input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  color: #1e293b;
  background: #fff;
  border: 1px solid #cfd8e4;
  border-radius: 11px;
  outline: 0;
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input::placeholder { color: #a3adba; }
.field input:hover, .field select:hover, .phone-mode:hover { border-color: #b7c3d2; }
.field input:focus, .field select:focus, .phone-mode:focus, .input-wrap:focus-within, .other-code input:focus {
  border-color: var(--mc-blue-deep);
  box-shadow: 0 0 0 4px rgba(23, 104, 201, .10);
}
.input-wrap {
  display: flex;
  align-items: center;
  min-height: 54px;
  background: #fff;
  border: 1px solid #cfd8e4;
  border-radius: 11px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input-wrap > span {
  display: grid;
  width: 48px;
  flex: 0 0 48px;
  place-items: center;
  color: #778398;
  font-size: 14px;
}
.input-wrap input {
  min-height: 52px;
  padding-left: 0;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#nickname { padding-left: 16px; }

/* Privacy */
.privacy {
  margin-top: 6px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 14px;
}
.privacy summary {
  position: relative;
  padding: 18px 48px 18px 20px;
  color: #253147;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 800;
}
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: #738096;
  font-size: 22px;
  font-weight: 400;
  transform: translateY(-50%);
}
.privacy[open] summary::after { content: "−"; }
.privacy-content {
  padding: 4px 20px 20px;
  color: #455166;
  border-top: 1px solid #e1e7ef;
  font-size: 14px;
  line-height: 1.65;
}
.privacy-grid {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  margin: 0;
}
.privacy-grid dt, .privacy-grid dd {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid #e5eaf0;
}
.privacy-grid dt { padding-right: 18px; color: #303b50; font-weight: 750; }
.privacy-grid dd { color: #596478; }
.privacy-grid dt:last-of-type, .privacy-grid dd:last-of-type { border-bottom: 0; }
.privacy-note { margin: 12px 0 0; color: #7a8495; font-size: 13px; line-height: 1.6; }
.consent-card {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding: 10px 4px;
  color: #333e52;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}
.consent-card input { position: absolute; opacity: 0; pointer-events: none; }
.check-ui {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  color: transparent;
  background: #fff;
  border: 1.5px solid #aeb9c8;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 900;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.consent-card:hover .check-ui { border-color: var(--mc-pink); }
.consent-card input:focus-visible + .check-ui { box-shadow: 0 0 0 4px rgba(230, 61, 134, .13); }
.consent-card input:checked + .check-ui { color: #fff; background: var(--mc-pink); border-color: var(--mc-pink); }
#consentLabel strong { margin-right: 4px; color: var(--mc-pink-dark); font-weight: 800; }
.message { min-height: 22px; margin-top: 8px; color: #087f75; font-size: 13px; font-weight: 700; line-height: 1.55; }
.message.error { color: #bc235e; }

/* Primary action */
.pixel-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 20px;
  color: #fff;
  background: var(--mc-pink);
  border: 1px solid var(--mc-pink);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(213, 47, 116, .20);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.pixel-button b { font-size: 21px; line-height: 1; }
.pixel-button:not(:disabled):hover {
  background: var(--mc-pink-dark);
  border-color: var(--mc-pink-dark);
  box-shadow: 0 10px 22px rgba(199, 40, 112, .23);
  transform: translateY(-1px);
}
.pixel-button:not(:disabled):active { box-shadow: 0 4px 10px rgba(199, 40, 112, .16); transform: translateY(1px); }
.pixel-button:focus-visible { outline: 3px solid rgba(230, 61, 134, .24); outline-offset: 3px; }
.pixel-button:disabled {
  color: #a88e99;
  background: #f4dce6;
  border-color: #f4dce6;
  box-shadow: none;
  cursor: not-allowed;
}
.pixel-button.centered { max-width: 100%; margin: 26px auto 0; }

/* Registration and completion */
.event-date-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -4px 0 24px;
  padding: 16px 18px;
  color: #5a6578;
  background: var(--soft-blue);
  border: 1px solid #d9e5f2;
  border-radius: 12px;
  font-size: 14px;
}
.event-date-card strong { color: var(--mc-pink-dark); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field { margin: 0; }
.form-grid .full { grid-column: 1 / -1; }
.field.full { width: 100%; }
.field select, .phone-mode { appearance: none; padding-right: 42px; }
.hint { margin: 7px 0 0; color: #788397; font-size: 13px; line-height: 1.55; }
.phone-field { margin-top: 20px; }
.phone-mode { margin-bottom: 9px; }
.phone-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.dial-prefix {
  display: grid;
  min-width: 92px;
  place-items: center;
  color: #34435b;
  background: #f3f7fb;
  border: 1px solid #cfd8e4;
  border-right: 0;
  border-radius: 11px 0 0 11px;
  font-size: 15px;
  font-weight: 750;
}
.phone-row input { border-radius: 0 11px 11px 0 !important; }
.other-code { max-width: 220px; margin-top: 10px; }
.important-note {
  margin-top: 22px;
  padding: 17px 18px;
  color: #4e5a6e;
  background: #fff7fa;
  border: 1px solid #f0d8e3;
  border-radius: 12px;
}
.megaphone { display: none; }
.important-note p { margin: 0; font-size: 14px; line-height: 1.7; }
.important-note strong { color: var(--mc-pink-dark); font-size: 15px; }
.done-content {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 24px;
  padding: 8px 0 10px;
}
.success-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #fff;
  background: var(--mc-mint);
  border-radius: 50%;
  font-size: 38px;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(38, 185, 170, .20);
}
.done-content strong { color: #087f75; font-size: 18px; }
.done-content p { color: #5c687a; font-size: 14px; line-height: 1.6; }
.done-date {
  display: inline-block;
  margin: 4px 0 0;
  padding: 9px 12px;
  background: #f5faf9;
  border: 1px solid #d7eae7;
  border-radius: 8px;
}

/* Footer */
footer {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 24px 32px;
  color: #677286;
  background: #fff;
  border-top: 1px solid #e3e8ef;
  text-align: center;
}
footer a { margin-bottom: 8px; color: #445167; font-size: 13px; font-weight: 650; text-decoration: none; }
footer a:hover { color: var(--mc-pink-dark); text-decoration: underline; }
footer small { color: #8b95a5; font-size: 12px; }

/* International copy resilience */
html[lang="en"] .hero h1, html[lang="ja"] .hero h1, html[lang^="zh"] .hero h1 {
  font-size: clamp(36px, 4.6vw, 49px);
  letter-spacing: -.03em;
}
html[lang="en"] .hero-copy, html[lang="ja"] .hero-copy, html[lang^="zh"] .hero-copy { width: min(100%, 650px); }

@media (max-width: 900px) {
  .page-shell { width: calc(100% - 40px); margin: 20px auto; }
  .topbar, .hero-inner { width: calc(100% - 64px); }
  .official-logo-wrap { width: 158px; }
  .panel { width: calc(100% - 64px); }
}

@media (max-width: 720px) {
  .page-shell { width: 100%; min-height: 100vh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .hero { min-height: 0; }
  .topbar, .hero-inner { width: 100%; }
  .topbar { padding: 24px 20px 0; }
  .topbar { justify-content: space-between; }
  .official-logo-wrap { width: 142px; }
  .language-picker { position: static; min-height: 40px; padding: 0 12px; }
  .language-picker select { max-width: 92px; font-size: 12px; }
  .hero-inner { display: block; padding: 28px 20px 30px; }
  .hero-copy { width: 100%; }
  .hero-copy { text-align: left; }
  .hero h1 { font-size: clamp(32px, 10vw, 40px); }
  .hero-copy > p { max-width: 520px; font-size: 14px; }
  .hero-spark { display: none; }
  .eyebrow { justify-content: flex-start; }
  .stepper {
    grid-template-columns: auto minmax(16px, 1fr) auto minmax(16px, 1fr) auto;
    width: 100%;
    padding: 15px;
    border-radius: 14px;
  }
  .step { gap: 7px; font-size: 12px; }
  .step b { width: 28px; height: 28px; flex-basis: 28px; }
  .dash { margin: 0 7px; }
  .panel {
    width: calc(100% - 40px);
    margin: 24px auto;
    padding: 30px 24px 32px;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(37, 72, 116, .09);
  }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading p { font-size: 14px; }
  .field { margin-bottom: 18px; }
  .privacy-content { padding-inline: 17px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-grid dt { padding: 13px 0 3px; border-bottom: 0; }
  .privacy-grid dd { padding: 0 0 13px; }
  .privacy-grid dt:last-of-type { padding-bottom: 3px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .done-content { grid-template-columns: 1fr; text-align: center; }
  .success-icon { margin-inline: auto; }
}

@media (max-width: 430px) {
  .official-logo-wrap { width: 128px; }
  .language-picker { gap: 5px; padding: 0 10px; }
  .language-picker .globe { width: 14px; }
  .eyebrow { font-size: 10px; }
  .hero-copy > p { word-break: normal; }
  .stepper { padding: 14px 11px; }
  .step { flex-direction: column; gap: 5px; text-align: center; }
  .step i { font-size: 11px; }
  .dash { margin: 0 4px; transform: translateY(-10px); }
  .panel { padding-inline: 20px; }
  .privacy summary { padding-left: 17px; }
  .consent-card { align-items: flex-start; }
  .check-ui { margin-top: 1px; }
  .phone-row { grid-template-columns: 78px minmax(0, 1fr); }
  .dial-prefix { min-width: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Reserve notice appears above the shared attendee registration form. */
html:not([data-availability="open"]) #reserve{display:none!important}
.reserve-panel{padding:32px;line-height:1.75;word-break:keep-all;overflow-wrap:anywhere}
.reserve-panel h2{font-size:26px;margin:18px 0 12px;color:#302244}
.reserve-panel p{margin:12px 0;font-size:17px}
.reserve-panel .hint{font-size:14px;color:#76667f}
@media(max-width:520px){.reserve-panel{padding:26px 20px}.reserve-panel h2{font-size:23px}.reserve-panel p{font-size:16px}}
