
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --navy:       #1B2A4A;
      --navy-deep:  #0F1B33;
      --navy-light: #243656;
      --gold:       #C8A45C;
      --gold-light: #DBBE7A;
      --gold-soft:  #F5ECD7;
      --white:      #ffffff;
      --cream:      #FAF7F2;
      --gray-50:    #FBFCFE;
      --gray-100:   #F5F7FA;
      --gray-200:   #E8EBF0;
      --gray-300:   #D1D5DB;
      --gray-500:   #6B7280;
      --gray-700:   #374151;
      --text-dark:  #111827;
      --text-mid:   #374151;
      --text-light: #6B7280;
      --danger:     #DC2626;
      --success:    #16A34A;
      --radius-sm:  8px;
      --radius-md:  14px;
      --radius-lg:  22px;
      --shadow-sm:  0 1px 3px rgba(15,27,51,.05);
      --shadow-md:  0 6px 24px rgba(15,27,51,.08);
      --shadow-lg:  0 16px 48px rgba(15,27,51,.12);
      --ease:       cubic-bezier(.4,0,.2,1);
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
      color: var(--text-dark);
      background:
        radial-gradient(ellipse 800px 500px at 10% -5%, rgba(200,164,92,.08) 0%, transparent 50%),
        radial-gradient(ellipse 600px 400px at 95% 15%, rgba(36,54,86,.06) 0%, transparent 55%),
        linear-gradient(180deg, #FAF7F2 0%, #F5F2EC 100%);
      background-attachment: fixed;
      -webkit-font-smoothing: antialiased;
      letter-spacing: -0.01em;
      line-height: 1.6;
      min-height: 100vh;
    }
    body::before {
      content: '';
      position: fixed; inset: 0;
      background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='%231B2A4A' fill-opacity='0.022'><circle cx='20' cy='20' r='1'/><circle cx='80' cy='60' r='1'/><circle cx='140' cy='30' r='1'/><circle cx='40' cy='120' r='1'/><circle cx='110' cy='110' r='1'/><circle cx='60' cy='150' r='1'/></g></svg>");
      pointer-events: none; z-index: 0;
    }
    a { text-decoration: none; color: inherit; }
    button, input, select, textarea { font-family: inherit; letter-spacing: -0.01em; }

    /* ── Header (Top Bar) ── */
    .top-bar {
      position: sticky; top: 0; z-index: 100;
      background: rgba(27, 42, 74, 0.95);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      padding: 0 16px;
      height: 54px;
      display: flex; align-items: center; gap: 12px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .top-bar .back-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 36px; height: 36px;
      border-radius: 10px;
      background: rgba(255,255,255,.1);
      color: #fff; font-size: 18px;
      transition: background .2s;
      border: none; cursor: pointer;
    }
    .top-bar .back-btn:hover { background: rgba(255,255,255,.2); }
    .top-bar h1 {
      font-size: 16px; font-weight: 800; color: #fff;
      letter-spacing: -0.02em; flex: 1;
    }
    .admin-toggle {
      display: inline-flex; align-items: center; justify-content: center;
      width: 36px; height: 36px; border-radius: 10px;
      background: rgba(255,255,255,.08); color: rgba(255,255,255,.75);
      border: none; cursor: pointer; transition: all .2s;
    }
    .admin-toggle:hover { background: rgba(200,164,92,.2); color: var(--gold-light); }
    .admin-toggle.active { background: var(--gold); color: var(--navy); }

    /* ── Hero (Typing Banner) ── */
    .hero {
      position: relative;
      padding: 76px 20px 90px;
      background:
        radial-gradient(ellipse 600px 400px at 25% 15%, rgba(200,164,92,0.35) 0%, transparent 55%),
        radial-gradient(ellipse 500px 350px at 85% 85%, rgba(128, 90, 213, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(36,54,86,0.8) 0%, transparent 60%),
        linear-gradient(135deg, #060B1F 0%, #0F1B33 40%, #1B2A4A 75%, #243656 100%);
      color: #fff;
      text-align: center;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.04) 0%, transparent 30%),
        radial-gradient(circle at 70% 80%, rgba(200,164,92,.08) 0%, transparent 35%);
      pointer-events: none;
    }
    .hero::after {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse at 50% 100%, rgba(250,247,242,.35) 0%, transparent 60%);
      pointer-events: none;
    }
    /* 별 반짝임 장식 */
    .hero-sparkle {
      position: absolute;
      width: 3px; height: 3px;
      background: #fff;
      border-radius: 50%;
      opacity: 0;
      box-shadow: 0 0 8px rgba(255,255,255,.8), 0 0 16px rgba(200,164,92,.6);
      animation: sparkle 3.5s ease-in-out infinite;
    }
    .hero-sparkle:nth-child(1){ top:18%; left:15%; animation-delay: 0s; }
    .hero-sparkle:nth-child(2){ top:32%; right:20%; animation-delay: .8s; }
    .hero-sparkle:nth-child(3){ bottom:35%; left:22%; animation-delay: 1.6s; }
    .hero-sparkle:nth-child(4){ top:55%; right:12%; animation-delay: 2.2s; }
    .hero-sparkle:nth-child(5){ bottom:20%; right:28%; animation-delay: 1.2s; }
    @keyframes sparkle {
      0%, 100% { opacity: 0; transform: scale(0.5); }
      50% { opacity: 1; transform: scale(1.3); }
    }
    .hero-emoji {
      font-size: 46px; margin-bottom: 14px;
      display: inline-block;
      animation: gentleFloat 3.8s ease-in-out infinite;
      filter: drop-shadow(0 6px 14px rgba(0,0,0,.25));
    }
    @keyframes gentleFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-7px); }
    }
    .hero-title {
      font-size: clamp(22px, 5.5vw, 30px);
      font-weight: 900;
      line-height: 1.35;
      letter-spacing: -0.03em;
      margin-bottom: 10px;
      min-height: calc(1.35em * 2);
    }
    .hero-title .accent {
      color: var(--gold-light);
      font-weight: 900;
    }
    .hero-title .cursor {
      display: inline-block;
      width: 3px; height: 1.1em; vertical-align: middle;
      background: var(--gold-light);
      margin-left: 2px;
      animation: blink 1s steps(2) infinite;
      border-radius: 2px;
    }
    @keyframes blink { 50% { opacity: 0; } }
    .hero-sub {
      font-size: 14.5px; font-weight: 500;
      color: rgba(255,255,255,.72);
      line-height: 1.65; max-width: 360px; margin: 0 auto;
    }

    /* ── Form Layout ── */
    .form-wrap {
      max-width: 680px;
      margin: -52px auto 32px;
      padding: 0 16px;
      position: relative; z-index: 2;
    }
    .form-card {
      position: relative;
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow:
        0 1px 2px rgba(15,27,51,.04),
        0 8px 24px rgba(15,27,51,.06),
        0 32px 64px rgba(15,27,51,.08);
      padding: 36px 24px;
      border: 1px solid rgba(15,27,51,.04);
      overflow: hidden;
    }
    /* 카드 상단 그라디언트 라인 */
    .form-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 25%, var(--navy-light) 60%, var(--navy) 100%);
    }
    /* 카드 우상단 장식 원 */
    .form-card::after {
      content: '';
      position: absolute; top: -80px; right: -80px;
      width: 200px; height: 200px;
      background: radial-gradient(circle, rgba(200,164,92,.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .section {
      position: relative;
      padding-bottom: 26px;
      margin-bottom: 26px;
      border-bottom: 1px solid var(--gray-200);
    }
    .section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

    /* 섹션 헤더 (번호 배지 + 타이틀) */
    .sec-head {
      display: flex; align-items: flex-start; gap: 12px;
      margin-bottom: 18px;
    }
    .sec-num {
      flex-shrink: 0;
      display: inline-flex; align-items: center; justify-content: center;
      width: 34px; height: 34px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
      color: #fff;
      font-size: 13px; font-weight: 900;
      letter-spacing: 0.02em;
      box-shadow: 0 4px 12px rgba(15,27,51,.2);
      font-family: 'SF Mono', 'Menlo', monospace;
    }
    .sec-num.gold {
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      box-shadow: 0 4px 12px rgba(200,164,92,.35);
    }
    .sec-head-text { flex: 1; padding-top: 2px; }
    .sec-title {
      font-size: 17px; font-weight: 900;
      color: var(--navy);
      margin-bottom: 3px;
      letter-spacing: -0.025em;
      display: flex; align-items: center; gap: 8px;
    }
    .sec-title .emo { font-size: 18px; }
    .sec-sub {
      font-size: 13px; color: var(--text-light);
      letter-spacing: -0.005em;
      line-height: 1.55;
    }
    .sec-req {
      display: inline-block;
      margin-left: 6px;
      font-size: 10px; font-weight: 800;
      color: var(--danger);
      background: #FEE2E2;
      padding: 2px 7px;
      border-radius: 999px;
      letter-spacing: 0.03em;
      vertical-align: middle;
    }

    /* ── Grid (2열) ── */
    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .grid-2 .full { grid-column: 1 / -1; }
    @media (max-width: 420px) {
      .grid-2 { grid-template-columns: 1fr; }
    }

    /* ── Field ── */
    .field { display: flex; flex-direction: column; }
    .field label {
      font-size: 12.5px; font-weight: 700;
      color: var(--text-mid);
      margin-bottom: 6px;
      letter-spacing: -0.01em;
    }
    .field .req { color: var(--danger); font-weight: 800; margin-left: 2px; }
    .input, .select, textarea {
      width: 100%;
      padding: 13px 14px;
      border: 1.5px solid var(--gray-200);
      border-radius: var(--radius-sm);
      background: var(--gray-50);
      font-size: 14.5px; color: var(--text-dark);
      transition: all .2s var(--ease);
      -webkit-appearance: none; appearance: none;
      font-weight: 500;
    }
    .input:hover, .select:hover {
      border-color: var(--gray-300);
      background: #fff;
    }
    .input:focus, .select:focus, textarea:focus {
      outline: none;
      border-color: var(--gold);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(200,164,92,.12), 0 4px 12px rgba(200,164,92,.08);
      transform: translateY(-1px);
    }
    .input::placeholder { color: var(--gray-300); }
    textarea {
      min-height: 96px;
      resize: vertical;
      line-height: 1.6;
    }
    .select {
      background: var(--gray-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 14px center;
      padding-right: 38px;
    }

    /* ── 주소 입력 ── */
    .addr-row { display: flex; gap: 8px; align-items: stretch; }
    .addr-row .input { flex: 1; }
    .addr-btn {
      flex-shrink: 0;
      padding: 0 16px;
      border: 1.5px solid var(--navy);
      background: var(--navy);
      color: #fff;
      font-size: 13px; font-weight: 700;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all .2s;
      white-space: nowrap;
    }
    .addr-btn:hover { background: var(--navy-light); }
    .addr-detail { margin-top: 8px; }

    /* ── Segmented Toggle (새신자/기존신자, 동거유무 등) ── */
    .seg {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: linear-gradient(180deg, var(--gray-100) 0%, #F0F3F8 100%);
      padding: 5px;
      border-radius: 14px;
      gap: 4px;
      box-shadow: inset 0 1px 3px rgba(15,27,51,.04);
    }
    .seg-btn {
      position: relative;
      border: none; background: transparent;
      padding: 12px 10px;
      font-size: 14px; font-weight: 700;
      color: var(--text-light);
      border-radius: 10px;
      cursor: pointer;
      transition: all .25s var(--ease);
      letter-spacing: -0.01em;
    }
    .seg-btn.active {
      background: linear-gradient(180deg, #fff 0%, #FCFCFD 100%);
      color: var(--navy);
      box-shadow:
        0 1px 2px rgba(15,27,51,.04),
        0 4px 12px rgba(15,27,51,.08),
        inset 0 0 0 1px rgba(200,164,92,.3);
      font-weight: 800;
    }
    .seg-btn:not(.active):hover { color: var(--navy); background: rgba(255,255,255,.4); }

    /* Conditional section (기존신자 전용) */
    .conditional {
      display: none;
      margin-top: 16px;
      padding: 16px 14px;
      background: linear-gradient(180deg, var(--gold-soft) 0%, #FFFEFA 100%);
      border: 1px solid rgba(200,164,92,.3);
      border-radius: var(--radius-md);
      animation: fadeSlide .3s var(--ease);
    }
    .conditional.show { display: block; }
    @keyframes fadeSlide {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ── Radio Group (Segmented Chips) ── */
    .chip-group {
      display: flex; flex-wrap: wrap; gap: 7px;
    }
    .chip-group label {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 9px 15px;
      border: 1.5px solid var(--gray-200);
      border-radius: 999px;
      font-size: 13px; font-weight: 700;
      color: var(--text-mid);
      background: #fff;
      cursor: pointer;
      transition: all .22s var(--ease);
      user-select: none;
      box-shadow: 0 1px 2px rgba(15,27,51,.03);
    }
    .chip-group label:hover {
      border-color: var(--gold);
      color: var(--navy);
      transform: translateY(-1px);
      box-shadow: 0 4px 10px rgba(200,164,92,.15);
    }
    .chip-group label:has(input:checked) {
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
      border-color: var(--navy);
      color: #fff;
      font-weight: 800;
      box-shadow: 0 4px 12px rgba(15,27,51,.28);
    }
    .chip-group input { display: none; }

    /* ── Checkbox Grid (가족/경로/관심사역) ── */
    .cb-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
    @media (min-width: 480px) {
      .cb-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (min-width: 680px) {
      .cb-grid { grid-template-columns: repeat(4, 1fr); }
    }
    .cb-grid label {
      position: relative;
      display: flex; align-items: center; gap: 10px;
      padding: 14px 14px;
      min-height: 52px;
      border: 1.5px solid var(--gray-200);
      border-radius: var(--radius-sm);
      font-size: 14px; font-weight: 600;
      color: var(--text-mid);
      background: var(--gray-50);
      cursor: pointer;
      transition: all .2s var(--ease);
      user-select: none;
      text-align: left;
      line-height: 1.35;
      word-break: keep-all;
    }
    .cb-grid label::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(200,164,92,0) 0%, rgba(200,164,92,.12) 100%);
      opacity: 0;
      transition: opacity .2s;
      pointer-events: none;
    }
    .cb-grid label:hover {
      border-color: var(--gold-light);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(200,164,92,.12);
    }
    .cb-grid label:has(input:checked) {
      background: linear-gradient(135deg, #FFF9EC 0%, var(--gold-soft) 100%);
      border-color: var(--gold);
      color: var(--navy);
      font-weight: 800;
      box-shadow: 0 4px 14px rgba(200,164,92,.2), inset 0 0 0 1px var(--gold);
    }
    .cb-grid label:has(input:checked)::before { opacity: 1; }
    /* 체크박스 → 커스텀 체크 스타일 */
    .cb-grid input[type="checkbox"] {
      appearance: none;
      -webkit-appearance: none;
      width: 18px; height: 18px;
      border: 1.5px solid var(--gray-300);
      border-radius: 5px;
      background: #fff;
      cursor: pointer;
      flex-shrink: 0;
      position: relative;
      transition: all .18s var(--ease);
    }
    .cb-grid input[type="checkbox"]:checked {
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      border-color: var(--gold);
    }
    .cb-grid input[type="checkbox"]:checked::after {
      content: '';
      position: absolute;
      left: 5px; top: 1px;
      width: 5px; height: 10px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }
    .cb-grid .cb-txt {
      flex: 1;
      white-space: normal;
    }

    /* ── Family Member Card (배우자/자녀 동적) ── */
    .fm-card {
      margin-top: 12px;
      padding: 14px;
      background: #FAFBFD;
      border: 1.5px solid var(--gray-200);
      border-radius: var(--radius-md);
      animation: fadeSlide .25s var(--ease);
      position: relative;
    }
    .fm-card-head {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 12px;
    }
    .fm-card-title {
      font-size: 13.5px; font-weight: 800;
      color: var(--navy);
      display: inline-flex; align-items: center; gap: 6px;
    }
    .fm-card-title .num {
      display: inline-flex; align-items: center; justify-content: center;
      width: 22px; height: 22px;
      border-radius: 50%;
      background: var(--navy);
      color: #fff; font-size: 11px; font-weight: 800;
    }
    .fm-remove {
      border: none; background: transparent;
      color: var(--danger); font-size: 12px; font-weight: 700;
      padding: 4px 8px; border-radius: 6px; cursor: pointer;
      transition: background .2s;
    }
    .fm-remove:hover { background: rgba(220,38,38,.08); }
    .fm-card .grid-2 { gap: 10px; }
    .fm-card .input, .fm-card .select { font-size: 13.5px; padding: 10px 12px; }
    .fm-mini-label {
      display: block;
      font-size: 11.5px; font-weight: 700;
      color: var(--text-light);
      margin-bottom: 5px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .btn-add-child {
      display: inline-flex; align-items: center; justify-content: center; gap: 6px;
      width: 100%;
      margin-top: 10px;
      padding: 11px 16px;
      border: 1.5px dashed var(--gold);
      background: transparent;
      color: var(--navy);
      font-size: 13.5px; font-weight: 700;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all .2s;
    }
    .btn-add-child:hover {
      background: var(--gold-soft);
      border-style: solid;
    }

    /* ── Consent ── */
    .agree-row {
      display: flex; align-items: flex-start; gap: 10px;
      margin-top: 22px;
      padding: 14px;
      background: var(--gray-100);
      border-radius: var(--radius-sm);
    }
    .agree-row input[type="checkbox"] {
      width: 18px; height: 18px;
      accent-color: var(--gold);
      flex-shrink: 0; margin-top: 1px;
      cursor: pointer;
    }
    .agree-row span { font-size: 12.5px; color: var(--text-light); line-height: 1.6; }

    /* ── Submit (Premium) ── */
    .submit-btn {
      position: relative;
      display: block; width: 100%;
      margin-top: 20px; padding: 18px;
      border: none; border-radius: var(--radius-md);
      background:
        linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
      background-size: 200% 100%;
      color: #fff;
      font-size: 16px; font-weight: 800;
      letter-spacing: -0.01em;
      cursor: pointer;
      transition: all .3s var(--ease);
      box-shadow:
        0 4px 12px rgba(15,27,51,.2),
        0 12px 28px rgba(15,27,51,.22),
        inset 0 1px 0 rgba(255,255,255,.15);
      overflow: hidden;
    }
    .submit-btn::before {
      content: '';
      position: absolute; top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(90deg,
        transparent 0%,
        rgba(200,164,92,.4) 50%,
        transparent 100%);
      transition: left .7s ease;
    }
    .submit-btn:hover {
      transform: translateY(-3px);
      background-position: 100% 0;
      box-shadow:
        0 8px 20px rgba(15,27,51,.25),
        0 20px 40px rgba(15,27,51,.3),
        0 0 0 1px var(--gold),
        inset 0 1px 0 rgba(255,255,255,.2);
    }
    .submit-btn:hover::before { left: 100%; }
    .submit-btn:active { transform: translateY(-1px); }
    .submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

    .info-note {
      display: flex; align-items: flex-start; gap: 10px;
      margin-top: 16px; padding: 12px 14px;
      background: var(--gold-soft);
      border-radius: var(--radius-sm);
      border: 1px solid rgba(200,164,92,.3);
    }
    .info-note .note-ic { font-size: 16px; flex-shrink: 0; }
    .info-note p { font-size: 12.5px; color: var(--navy); line-height: 1.6; }

    /* ── Thank You ── */
    .thank-you {
      display: none;
      max-width: 480px;
      margin: 40px auto;
      padding: 40px 24px;
      text-align: center;
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }
    .thank-you.show { display: block; }
    .ty-emoji { font-size: 56px; margin-bottom: 14px; display: block; animation: gentleFloat 3s ease-in-out infinite; }
    .thank-you h3 { font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.02em; }
    .thank-you p { font-size: 14px; color: var(--text-mid); line-height: 1.75; margin-bottom: 22px; }
    .home-btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 12px 28px;
      background: var(--navy); color: #fff;
      border-radius: 999px;
      font-size: 14px; font-weight: 700;
      transition: transform .15s, box-shadow .2s;
    }
    .home-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(15,27,51,.22);
    }

    /* ── Admin ── */
    .admin-overlay {
      display: none;
      position: fixed; inset: 0;
      background: rgba(15,27,51,.6);
      backdrop-filter: blur(6px);
      z-index: 1000;
      align-items: center; justify-content: center;
      padding: 20px;
    }
    .admin-overlay.show { display: flex; }
    .pin-card {
      background: #fff; border-radius: var(--radius-lg);
      padding: 28px 22px;
      max-width: 340px; width: 100%;
      text-align: center;
    }
    .pin-card h3 { font-size: 18px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
    .pin-card p { font-size: 13px; color: var(--text-mid); margin-bottom: 18px; line-height: 1.6; }
    .pin-input {
      width: 100%; padding: 14px;
      font-size: 18px; text-align: center; letter-spacing: 0.4em;
      border: 1.5px solid var(--gray-200);
      border-radius: var(--radius-sm);
      background: var(--gray-50);
      font-family: 'SF Mono', monospace;
    }
    .pin-input:focus {
      outline: none;
      border-color: var(--gold);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(200,164,92,.15);
    }
    .pin-error {
      display: none;
      color: var(--danger); font-size: 12px; font-weight: 700;
      margin-top: 8px;
    }
    .pin-btns {
      display: flex; gap: 8px; margin-top: 16px;
    }
    .pin-btns button {
      flex: 1; padding: 12px;
      border: none; border-radius: var(--radius-sm);
      font-size: 14px; font-weight: 700; cursor: pointer;
      transition: all .15s;
    }
    .pin-cancel { background: var(--gray-100); color: var(--text-mid); }
    .pin-submit { background: var(--navy); color: #fff; }
    .pin-submit:hover { background: var(--navy-light); }

    .admin-view { display: none; }
    .admin-view.show { display: block; }
    .admin-header {
      display: flex; align-items: center; justify-content: space-between;
      background: var(--navy);
      padding: 16px 20px;
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    .admin-header h3 { color: #fff; font-size: 15px; font-weight: 800; }
    .admin-close {
      background: rgba(255,255,255,.1); color: #fff;
      border: none; padding: 8px 14px; border-radius: 8px;
      font-size: 13px; font-weight: 700; cursor: pointer;
      transition: background .2s;
    }
    .admin-close:hover { background: rgba(255,255,255,.2); }
    #ncListWrap {
      background: #fff;
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
      box-shadow: var(--shadow-lg);
      padding: 16px;
    }
    .nc-loading, .nc-empty {
      padding: 40px 16px; text-align: center;
      color: var(--text-light); font-size: 14px;
    }
    .nc-item {
      background: var(--gray-50);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-md);
      padding: 14px 16px;
      margin-bottom: 10px;
    }
    .nc-top {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 10px; padding-bottom: 10px;
      border-bottom: 1px dashed var(--gray-200);
    }
    .nc-name { font-size: 15px; font-weight: 800; color: var(--navy); }
    .nc-tag {
      font-size: 11px; font-weight: 700;
      padding: 3px 8px; border-radius: 6px;
      background: var(--gold-soft); color: var(--navy);
      margin-left: 6px;
    }
    .nc-tag.new { background: #DCFCE7; color: #166534; }
    .nc-date { font-size: 11px; color: var(--text-light); }
    .nc-row {
      font-size: 13px; color: var(--text-mid);
      padding: 3px 0;
      display: flex; gap: 8px;
      line-height: 1.55;
    }
    .nc-label {
      display: inline-block;
      min-width: 68px;
      font-weight: 700; color: var(--text-light);
      font-size: 11.5px;
    }
    .nc-memo {
      margin-top: 8px; padding: 10px 12px;
      background: #fff; border-left: 3px solid var(--gold);
      border-radius: 0 6px 6px 0;
      font-size: 13px; color: var(--text-mid); line-height: 1.6;
    }
    .nc-family {
      margin-top: 8px; padding: 10px 12px;
      background: #fff; border-radius: 8px;
      border: 1px dashed var(--gray-200);
      font-size: 12.5px; color: var(--text-mid);
    }
    .nc-family .fm {
      padding: 6px 0; border-bottom: 1px dotted var(--gray-200);
    }
    .nc-family .fm:last-child { border-bottom: none; }
    .nc-family .fm-t { font-weight: 700; color: var(--navy); }

    /* ── Footer ── */
    .footer {
      text-align: center;
      padding: 24px 16px 36px;
      font-size: 12px; color: var(--text-light);
    }

    /* ── Tablet + ── */
    @media (min-width: 640px) {
      .form-card { padding: 36px 32px; }
      .section { padding-bottom: 28px; margin-bottom: 28px; }
      .hero { padding: 76px 24px 80px; }
      .hero-emoji { font-size: 54px; }
    }
  
    /* ── 모바일 레이아웃 ── */
    @media (max-width: 768px) {
      [class*="-grid"], .form-grid { grid-template-columns: 1fr !important; gap: 12px; }
      .form-wrap, .register-wrap { padding: 20px 16px !important; }
    }
