    @font-face {
      font-family: 'SuhyeokHan';
      src: url('SuhyeokHan.otf') format('opentype');
      font-weight: normal;
      font-style: normal;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --honki-blue: #5055B1;
      --honki-green: #4DAC27;
      --honki-red: #DA2128;
      --font-ui: 'Helvetica Neue', Helvetica, Arial, 'Apple SD Gothic Neo', sans-serif;
      --font-display: 'Franklin Gothic Book', 'Franklin Gothic Medium', 'Avenir Next Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, 'Apple SD Gothic Neo', sans-serif;
    }

    /* 접근성: 모션 최소화 선호 시 애니메이션/전환 끄기 */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }
    html, body {
      width: 100%; height: 100%; background: #fff; overflow: hidden;
      font-family: var(--font-ui);
      font-size: 14px;
      line-height: 1.5;
    }
    #root { width: 100%; height: 100%; }

    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: #fff; }
    ::-webkit-scrollbar-thumb { background: #000; }

    .star-btn {
      background: none; border: none; cursor: pointer;
      font-size: 24px; padding: 0 1px; line-height: 1;
      transition: transform 0.1s;
    }
    .star-btn:hover { transform: scale(1.2); }
    .star-btn:disabled { cursor: default; }

    input, textarea, select {
      font-family: var(--font-ui);
      outline: none;
    }

    /* Overlay */
    .overlay-bg {
      position: fixed; inset: 0; background: rgba(0,0,0,0.6);
      z-index: 900; display: flex; align-items: center; justify-content: center;
    }
    .overlay-box {
      background: #fff; border: 1px solid #000;
      width: 500px; max-width: calc(100vw - 32px); max-height: 88vh; overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    @media (max-width: 768px) {
      /* 모바일: 상단 정렬 + 화면 거의 가득, 위쪽 잘림 방지 */
      .overlay-bg {
        align-items: flex-start;
        padding: 12px;
      }
      .overlay-box {
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 24px);
        margin-top: 0;
      }
    }
    .overlay-header {
      border-bottom: 1px solid #000; padding: 14px 22px;
      display: flex; justify-content: space-between; align-items: center;
      position: sticky; top: 0; background: #fff; z-index: 1;
    }
    .overlay-label {
      font-family: var(--font-display);
      font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    }
    .close-btn {
      background: none; border: none; cursor: pointer; font-size: 22px; line-height: 1;
    }

    /* Fields */
    .field { margin-bottom: 16px; }
    .field-label {
      font-family: var(--font-display);
      font-size: 10px; letter-spacing: 0.14em;
      text-transform: uppercase; color: #777; margin-bottom: 5px;
    }
    .field-input {
      width: 100%; border: 1px solid #ccc; padding: 9px 11px;
      font-family: var(--font-ui); font-size: 14px;
      background: #fff; transition: border-color 0.15s;
    }
    .field-input:focus { border-color: #000; }
    .field-textarea {
      width: 100%; border: 1px solid #ccc; padding: 9px 11px;
      font-family: var(--font-ui); font-size: 13px;
      resize: vertical; min-height: 80px; background: #fff;
      transition: border-color 0.15s;
    }
    .field-textarea:focus { border-color: #000; }

    /* Buttons */
    .btn-primary {
      border: 1px solid #000; background: #fff; color: #000;
      padding: 9px 22px; font-family: var(--font-display);
      font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase;
      font-weight: 400;
      cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
    }
    .btn-primary:hover { background: var(--honki-blue); border-color: var(--honki-blue); color: #fff; }
    .btn-primary:disabled { opacity: 0.35; cursor: default; }
    .btn-secondary {
      border: 1px solid #000; background: #fff; color: #000;
      padding: 9px 22px; font-family: var(--font-display);
      font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase;
      font-weight: 400;
      cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
    }
    .btn-secondary:hover { background: var(--honki-green); border-color: var(--honki-green); color: #fff; }

    /* Photo upload */
    .photo-upload {
      background: #D9D9D9; border: 1px solid #000;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 6px; position: relative; overflow: hidden;
      width: 100%; cursor: pointer;
    }
    .photo-upload:hover { background: #c8c8c8; }
    .photo-upload input[type=file] {
      position: absolute; inset: 0; opacity: 0;
      cursor: pointer; width: 100%; height: 100%;
    }

    /* Hover invert */
    .hv:hover { background: var(--honki-blue) !important; border-color: var(--honki-blue) !important; color: #fff !important; }

    /* 페이지 전환: 진입 시 가벼운 페이드+슬라이드 (reduced-motion 시 위 미디어쿼리가 끔) */
    @keyframes pageFade {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: none; }
    }
    .page-fade { animation: pageFade 0.28s cubic-bezier(0.4,0,0.2,1); }

    @keyframes modeContentIn {
      from { opacity: 0; transform: translateY(14px); filter: blur(2px); }
      to   { opacity: 1; transform: translateY(0); filter: blur(0); }
    }
    .mode-content {
      animation: modeContentIn 0.42s cubic-bezier(0.22,0.61,0.36,1) both;
      animation-delay: 0.08s;
    }
    .mode-content-search {
      animation-delay: 0.12s;
    }

    /* Spinner */
    @keyframes spin { to { transform: rotate(360deg); } }
    .spinner {
      width: 20px; height: 20px; border: 2px solid #ccc;
      border-top-color: #000; border-radius: 50%;
      animation: spin 0.7s linear infinite; display: inline-block;
    }
