    :root {
      --bg: #f4f6f8;
      --card: #ffffff;
      --text: #111827;
      --muted: #6b7280;
      --radius: 16px;
      --shadow: 0 10px 25px rgba(0,0,0,.08);
    }
    * { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0;
      /*font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;*/
      /*font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; */
      /*font-family: 'Nanum Gothic', sans-serif;*/
      font-family: "Pretendard Variable", Pretendard, sans-serif;

      background: var(--bg);
      color: var(--text);
    }

    a {
      text-decoration: none;
    }

    /* 화면 가운데 정렬 컨테이너 */
    .center-wrap {
      min-height: 100svh; /* 모바일 브라우저 주소창 이슈 대응 */
      display: flex;
      align-items: center;      /* 가로축 기준 교차축(세로) 중앙 */
      justify-content: center;  /* 주축(가로) 중앙 */
      padding: 24px;
    }

    /* 위아래로 쌓이는 래퍼 */
    .stack {
      display: flex;
      flex-direction: column;   /* 위아래 정렬 */
      align-items: center;      /* 각 아이템 가로 가운데 */
      gap: 20px;                /* 박스 사이 간격 */
      width: min(720px, 100%);  /* 너무 넓지 않게 제한 */
    }

    .card {
      width: min(640px, 100%);
      min-height: 140px;        /* 적당한 기본 높이 */
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 24px;
      display: flex;
      align-items: center;      /* 카드 내부 수직 중앙 */
      justify-content: center;  /* 카드 내부 수평 중앙 */
      text-align: center;
    }

    .card h2 {
      margin: 0 0 8px 0;
      font-size: 1.25rem;
    }
    .card p {
      margin: 0;
      color: var(--muted);
      font-size: .95rem;
    }

    .overlay {
      position: fixed; /* 문서 흐름에서 제거 → 아래 요소에 영향 X */
      top: 20px;
      right: 20px;
      width: var(--overlay-w);
      height: 100vh;
      pointer-events: none; /* 하위 요소 클릭 방해 X */
      /* 완전 투명으로 쓰려면 background: transparent; */
      background: transparent;
    }

    /* 반응형: 아주 작은 화면에서 카드 높이 살짝 축소 */
    @media (max-width: 400px) {
      .card { min-height: 120px; padding: 18px; }
      .card h2 { font-size: 1.1rem; }
    }

    .price-layer {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 500px;
      max-width: 90%;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(0,0,0,.25);
      padding: 24px;
      display: none;
      z-index: 999;
    }

    .price-layer.active { display: block; }

    .price-layer header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .price-layer h2 {
      margin: 0;
      font-size: 1.25rem;
    }

    .close-btn {
      background: none;
      border: none;
      font-size: 1.25rem;
      cursor: pointer;
    }

    .price-layer label {
      display: block;
      margin-bottom: 8px;
      font-size: .95rem;
      color: #374151;
    }

    .price-layer input[type="number"], input[type="text"] {
      width: 95%;
      padding: 10px;
      font-size: 1rem;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      margin-bottom: 20px;
    }

    .radio-group {
      margin-bottom: 20px;
    }
    .radio-group label {
      display: inline-block;
      margin-right: 20px;
      font-size: 1rem;
    }

    .price-layer button.apply {
      display: inline-block;
      padding: 10px 18px;
      font-size: 1rem;
      border-radius: 10px;
      border: none;
      background: #111827;
      color: #fff;
      cursor: pointer;
    }

    .overlay-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,.4);
      display: none;
      z-index: 998;
    }
    .overlay-bg.active { display: block; }





    .help-layer {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 500px;
      max-width: 90%;
      max-height: 90%;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(0,0,0,.25);
      padding: 24px;
      display: none;
      z-index: 999;
      overflow-y: scroll;
      overflow-x: hidden;
    }

    .help-layer.active { display: block; }

    .help-layer header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .help-layer h2 {
      margin: 0;
      font-size: 1.25rem;
    }

    select {
      /* 생략 */
      color: #444;
      background-color: #fff;
      height: 40px;

      padding: 0.6em 1.4em 0.5em 0.8em;
      margin: 0;

      border: 1px solid #aaa;
      border-radius: 0.5em;
      box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.04);
    }

/*
    .money-container {
        width: min(640px, 100%);
        height: 80px;
        border: 0px;
        display: flex;
        border: 1px solid #999;
    }

    .money-left-div {
        flex: 1;
        padding: 5px;
        border-right: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .money-right-div {
        flex: 1;
        padding: 5px;
        display: flex;
        flex-direction: column;
    }
    
    .line1, .line2 {
        flex: 1;
        margin: 2px 0;
        padding: 5px;
        border: 1px solid #999;
        font-size: .95rem;
    }
*/
