
    @keyframes my-slide-up-slow {   
      from { transform: translate(-50%, -40%);  opacity: 0;}   /* 아래에서 올라오는 효과 */
      to { transform: translate(-50%, -50%); opacity: 1; }     /* 정중앙 */
      }
  
    

    /* 모달 카드 */
    .my-modal {          
      position: fixed;
      top: 45%;
      left: 50%;
      transform: translate(-50%, -50%);  /* 정중앙 */
      width: 90%;
      max-width: 448px;
      max-height: 85vh;
      background: #ffffff;
      border-radius: 24px;
      box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
      display: flex;
      flex-direction: column;
      animation: my-slide-up-slow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
      z-index: 1050;
    }


 

    @media (min-width: 768px) {	    /* 모달 - PC 에서 숨김  */
    .my-modal {
      display: none;
      }
    }


    /* 헤더 */
    .my-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 20px;
      background: #ffffff;
      border-radius: 24px 24px 0 0;
    }

    .my-modal-title-wrap {
      display: flex;
      flex-direction: column;
    }

    .my-modal-title {
      font-size: 16px;
      font-weight: 900;
      color: #111827;
      letter-spacing: -0.03em;
    }

    .my-modal-title-bar {
      width: 20px;
      height: 2px;
      background: #f472b6;
      border-radius: 9999px;
      margin-top: 2px;
    }

    .my-close-btn {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f9fafb;
      border: none;
      border-radius: 9999px;
      cursor: pointer;
      transition: background 0.15s, transform 0.1s;
    }

    .my-close-btn:hover  { background: #f3f4f6; }
    .my-close-btn:active { transform: scale(0.9); }
    .my-close-btn svg    { color: #6b7280; }

    /* 본문 스크롤 영역 */
    .my-modal-body {
      flex: 1;
      overflow-y: auto;
      scrollbar-width: none;
      min-height: 0;
      max-height: 55vh;     
    }
    
    .my-modal-body::-webkit-scrollbar { display: none; }

    .my-modal-body-inner {
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    /* 공통 버튼 카드 */
    .my-card-btn {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px;
      border-radius: 16px;
      border: 1px solid transparent;
      cursor: pointer;
      transition: background 0.15s, transform 0.1s;
      background: none;
      text-align: left;
    }
    .my-card-btn:active { transform: scale(0.98); }

    /* 사진 카드 */
    .my-card-photo       { background: #fdf2f8; border-color: #fce7f3; }
    .my-card-photo:hover { background: #fce7f3; }

    /* 문서 카드 */
    .my-card-doc         { background: #eff6ff; border-color: #dbeafe; }
    .my-card-doc:hover   { background: #dbeafe; }

    .my-card-icon {
      width: 48px;
      height: 48px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      box-shadow: 0 4px 6px -1px rgba(0,0,0,0.15);
      flex-shrink: 0;
      transition: transform 0.15s;
    }
    .my-card-btn:hover .my-card-icon { transform: scale(1.05); }

    .my-card-icon-pink { background: #f472b6; }
    .my-card-icon-blue { background: #60a5fa; }

    .my-card-info { flex: 1; }

    .my-card-title {
      font-size: 16px;
      font-weight: 700;
      color: #1f2937;
    }

    .my-card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 12px;
      margin-top: 4px;
    }

    .my-tag-item {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .my-tag-label {
      font-size: 12px;
      color: #6b7280;
    }

    .my-badge {
      padding: 1px 6px;
      border-radius: 9999px;
      font-size: 11px;
      font-weight: 900;
    }

    .my-badge-pink  { background: #f472b6; color: #ffffff; }
    .my-badge-blue  { background: #60a5fa; color: #ffffff; }
    .my-badge-empty { background: #ffffff; border: 1px solid #e5e7eb; color: #9ca3af; }

    /* 푸터 */
    .my-modal-footer {
      padding: 12px;
      background: #ffffff;
      border-top: 1px solid #f9fafb;
    }

    .my-close-main-btn {
      width: 100%;
      padding: 12px;
      background: #f472b6;
      color: #ffffff;
      font-size: 15px;
      font-weight: 700;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      box-shadow: 0 4px 6px -1px rgba(244,114,182,0.3);
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-close-main-btn:hover  { background: #ec4899; }
    .my-close-main-btn:active { transform: scale(0.98); }











/* ----------------------사진/문서 > 편지지에 넣기 ------------------------ */

 /* ── 탭 ── */
    .my-tab-bar {
      display: flex;
      border-bottom: 1px solid #f3f4f6;
      background: #ffffff;
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .my-tab-btn {
      flex: 1;
      padding: 12px 0;
      font-size: 15px;
      font-weight: 700;
      border: none;
      background: none;
      cursor: pointer;
      position: relative;
      transition: color 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }

    .my-tab-btn-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .my-tab-btn.my-tab-active { color: #ec4899; }
    .my-tab-btn.my-tab-inactive { color: #a8a29e; }
    .my-tab-btn.my-tab-inactive:hover { color: #57534e; }

    .my-tab-indicator {
      position: absolute;
      bottom: 0;
      left: 24px;
      right: 24px;
      height: 2px;
      background: #ec4899;
      border-radius: 9999px;
    }


    /* ── 콘텐츠 영역 ── */
 

     .my-content-inner {
      display: flex;
      flex-direction: column;
      overflow-y: auto;

    }



    .my-space-y > * + * { margin-top: 16px; }

    /* ── 안내 배너 ── */
    .my-info-banner {
      background: #fdf2f8;
      border: 1px solid #fce7f3;
      border-radius: 16px;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .my-info-icon {
      width: 40px;
      height: 40px;
      background: #f472b6;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      flex-shrink: 0;
    }

    .my-info-title {
      font-size: 12px;
      font-weight: 700;
      color: #1f2937;
    }

    .my-info-desc {
      font-size: 12px;
      color: #db2777;
      margin-top: 2px;
    }

    /* ── 요금 행 ── */
    .my-price-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      background: #fafaf9;
      border: 1px solid #e7e5e4;
      border-radius: 16px;
    }

    .my-price-label {
      font-size: 11px;
      font-weight: 700;
      color: #a8a29e;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .my-price-value {
      font-size: 16px;
      font-weight: 900;
      color: #1f2937;
    }

    .my-price-unit {
      font-size: 11px;
      font-weight: 400;
      color: #a8a29e;
    }

    .my-load-btn-pk {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 16px;
      background: #f472b6;
      color: #ffffff;
      font-size: 14px;
      font-weight: 700;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      box-shadow: 0 4px 6px -1px rgba(244,114,182,0.35);
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-load-btn-pk:hover  { background: #ec4899; }
    .my-load-btn-pk:active { transform: scale(0.95); }

    /* ── 첨부 이미지 섹션 ── */
    .my-attach-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 4px;
      margin-bottom: 12px;
    }

    .my-attach-title {
      font-size: 14px;
      font-weight: 700;
      color: #1f2937;
    }

    .my-attach-count { color: #ec4899; }

    .my-delete-all-btn {
      font-size: 12px;
      font-weight: 700;
      color: #a8a29e;
      background: none;
      border: none;
      cursor: pointer;
      transition: color 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-delete-all-btn:hover { color: #ec4899; }

    /* ── 이미지 그리드 ── */
    .my-img-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .my-img-cell {
      aspect-ratio: 1 / 1;
      border-radius: 16px;
      border: 1px solid #e7e5e4;
      overflow: hidden;
      position: relative;
      background: #f5f5f4;
    }

    .my-img-cell img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .my-img-del-btn {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 24px;
      height: 24px;
      background: #ffffff;
      border: none;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1f2937;
      box-shadow: 0 2px 4px rgba(0,0,0,0.15);
      cursor: pointer;
      transition: background 0.15s, transform 0.1s;
    }
    .my-img-del-btn:hover  { background: #f3f4f6; }
    .my-img-del-btn:active { transform: scale(0.9); }

    .my-img-add-cell {
      aspect-ratio: 1 / 1;
      border-radius: 16px;
      border: 1px dashed #d4d0cb;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #d4d0cb;
      background: rgba(250,250,249,0.5);
    }

    /* ── 뒤로가기 행 ── */
    .my-back-row {
      padding: 16px;
      border-top: 1px solid #fafaf9;
      background: #ffffff;
    }

    .my-back-btn {
      width: 100%;
      padding: 8px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 700;
      color: #a8a29e;
      background: none;
      border: none;
      cursor: pointer;
      transition: color 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-back-btn:hover { color: #ec4899; }








    /* --------------------------- 사진/문서 > 사진인쇄 --------------------------- */

    /* ── 오버레이 ── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }

    .modal-overlay-bg {
      position: absolute;
      inset: 0;
      background: rgba(131, 24, 67, 0.1);
      backdrop-filter: blur(4px);
    }
    

    /* ── 안내 배너 (파란색) ── */
    .my-info-banner {
      background: #eff6ff;
      border: 1px solid #dbeafe;
      border-radius: 16px;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .my-info-icon {
      width: 40px;
      height: 40px;
      background: #60a5fa;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      flex-shrink: 0;
    }

    .my-info-title {
      font-size: 12px;
      font-weight: 700;
      color: #1f2937;
    }

    .my-info-desc {
      font-size: 12px;
      color: #2563eb;
      margin-top: 2px;
    }

    .my-info-size {
      font-size: 11px;
      font-weight: 700;
      color: #93c5fd;
      margin-top: 4px;
    }

    /* ── 요금/사양 박스 ── */
    .my-spec-box {
      display: flex;
      flex-direction: column;
      gap: 12px;
      background: #fafaf9;
      border: 1px solid #e7e5e4;
      border-radius: 16px;
      padding: 16px;
    }

    .my-spec-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .my-spec-label {
      font-size: 11px;
      font-weight: 700;
      color: #a8a29e;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .my-spec-value {
      font-size: 12px;
      font-weight: 700;
      color: #4b5563;
      margin-top: 2px;
    }

    .my-price-value {
      font-size: 16px;
      font-weight: 900;
      color: #1f2937;
    }

    .my-price-unit {
      font-size: 11px;
      font-weight: 400;
      color: #a8a29e;
    }

    .my-load-btn-blue {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 16px;
      background: #3b82f6;
      color: #ffffff;
      font-size: 14px;
      font-weight: 700;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      box-shadow: 0 4px 6px -1px rgba(59,130,246,0.25);
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-load-btn-blue:hover  { background: #2563eb; }
    .my-load-btn-blue:active { transform: scale(0.95); }

    /* ── 첨부 이미지 섹션 ── */
    .my-attach-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 4px;
      margin-bottom: 12px;
    }

    .my-attach-title {
      font-size: 14px;
      font-weight: 700;
      color: #1f2937;
    }

    .my-attach-count { color: #3b82f6; }

    .my-delete-all-btn {
      font-size: 12px;
      font-weight: 700;
      color: #a8a29e;
      background: none;
      border: none;
      cursor: pointer;
      transition: color 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-delete-all-btn:hover { color: #3b82f6; }

    /* ── 이미지 그리드 ── */
    .my-img-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .my-img-cell {
      aspect-ratio: 1 / 1;
      border-radius: 16px;
      border: 1px solid #e7e5e4;
      overflow: hidden;
      position: relative;
      background: #f5f5f4;
    }

    .my-img-cell img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .my-img-del-btn {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 24px;
      height: 24px;
      background: #ffffff;
      border: none;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1f2937;
      box-shadow: 0 2px 4px rgba(0,0,0,0.15);
      cursor: pointer;
      transition: background 0.15s, transform 0.1s;
    }
    .my-img-del-btn:hover  { background: #f3f4f6; }
    .my-img-del-btn:active { transform: scale(0.9); }

    .my-img-add-cell {
      aspect-ratio: 1 / 1;
      border-radius: 16px;
      border: 1px dashed #d4d0cb;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #d4d0cb;
      background: rgba(250,250,249,0.5);
      
    }









  /* -----------------------문서 > 문서첨부 --------------------------- */


    .my-content-pad {
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* ── 안내 배너 ── */
    .my-info-banner {
      background: #eff6ff;
      border: 1px solid #dbeafe;
      border-radius: 16px;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .my-info-icon {
      width: 40px;
      height: 40px;
      background: #60a5fa;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      flex-shrink: 0;
    }

    .my-info-title-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .my-info-title {
      font-size: 12px;
      font-weight: 700;
      color: #1f2937;
    }

    .my-info-badge {
      background: #facc15;
      color: #111827;
      font-size: 10px;
      font-weight: 900;
      padding: 2px 6px;
      border-radius: 4px;
      text-transform: uppercase;
    }

    .my-info-desc {
      font-size: 12px;
      color: #2563eb;
      margin-top: 2px;
    }

    /* ── 인쇄 사양 박스 ── */
    .my-spec-box {
      background: #fafaf9;
      border: 1px solid #e7e5e4;
      border-radius: 16px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .my-spec-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
    }

    .my-spec-label {
      font-size: 11px;
      font-weight: 700;
      color: #a8a29e;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .my-spec-value {
      font-size: 12px;
      font-weight: 700;
      color: #4b5563;
      margin-top: 2px;
    }

    .my-spec-price {
      font-size: 12px;
      font-weight: 900;
      color: #1f2937;
      margin-top: 2px;
    }

    .my-spec-unit {
      font-size: 11px;
      font-weight: 400;
      color: #a8a29e;
    }

    .my-load-btn {
      width: 100%;
      padding: 12px;
      background: #3b82f6;
      color: #ffffff;
      font-size: 14px;
      font-weight: 700;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 4px 6px -1px rgba(59,130,246,0.25);
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-load-btn:hover  { background: #2563eb; }
    .my-load-btn:active { transform: scale(0.95); }

    /* ── 첨부 문서 섹션 ── */
    .my-attach-section { display: flex; flex-direction: column; gap: 12px; }

    .my-attach-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 4px;
    }

    .my-attach-title {
      font-size: 14px;
      font-weight: 700;
      color: #1f2937;
    }

    .my-attach-count { color: #3b82f6; }

    .my-batch-btns { display: flex; gap: 8px; }

    .my-batch-btn-color {
      padding: 4px 10px;
      background: #fef2f2;
      color: #ef4444;
      font-size: 11px;
      font-weight: 700;
      border: 1px solid #fecaca;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-batch-btn-color:hover { background: #fee2e2; }

    .my-batch-btn-bw {
      padding: 4px 10px;
      background: #f5f5f4;
      color: #374151;
      font-size: 11px;
      font-weight: 700;
      border: 1px solid #e7e5e4;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-batch-btn-bw:hover { background: #e7e5e4; }

    /* ── 문서 아이템 ── */
    .my-doc-list { display: flex; flex-direction: column; gap: 10px; }

    .my-doc-item {
      background: #ffffff;
      border: 1px solid #f5f5f4;
      border-radius: 16px;
      padding: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }

    .my-doc-item-left {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 1;
      min-width: 0;
      padding-right: 16px;
    }

    .my-doc-icon {
      width: 40px;
      height: 40px;
      background: #eff6ff;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #3b82f6;
      flex-shrink: 0;
    }

    .my-doc-name {
      font-size: 12px;
      font-weight: 700;
      color: #374151;
      line-height: 1.4;
      word-break: break-all;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .my-doc-item-right {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      min-width: 100px;
      justify-content: flex-end;
    }

    .my-doc-pages {
      font-size: 12px;
      font-weight: 900;
      color: #2563eb;
    }

    .my-print-btn-color {
      padding: 4px 8px;
      font-size: 11px;
      font-weight: 700;
      border-radius: 8px;
      border: 1px solid #fecaca;
      background: #fef2f2;
      color: #ef4444;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }

    .my-print-btn-bw {
      padding: 4px 8px;
      font-size: 11px;
      font-weight: 700;
      border-radius: 8px;
      border: 1px solid #dbeafe;
      background: #eff6ff;
      color: #3b82f6;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }

    .my-doc-del-btn {
      width: 28px;
      height: 28px;
      background: #f5f5f4;
      border: none;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #a8a29e;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .my-doc-del-btn:hover { background: #fef2f2; color: #ef4444; }










    /* -----------------------문서 > 컨텐츠 --------------------------- */

    @keyframes my-bounce {
      0%, 100% { transform: translateY(0); }
      50%       { transform: translateY(-6px); }
    }


     /* ── 선물 배너 ── */
    .my-gift-banner {
      border: 2px solid #fb923c;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(251,146,60,0.2);
    }
    .my-gift-banner-inner {
      background: linear-gradient(to right, #fefce8, #fff7ed);
      padding: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .my-gift-title-row { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
    .my-gift-title { font-size: 18px; font-weight: 900; color: #ec4899; letter-spacing: -0.05em; }
    .my-gift-desc { font-size: 11px; font-weight: 700; color: #f472b6; line-height: 1.4; }
    .my-gift-link-btn {
      display: inline-block; margin-top: 8px;
      padding: 4px 12px;
      background: #fff; border: 2px solid #fbcfe8;
      border-radius: 9999px;
      font-size: 11px; font-weight: 900; color: #ec4899;
      cursor: pointer; transition: background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-gift-link-btn:hover { background: #fdf2f8; }
    .my-gift-icon-wrap { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
    .my-gift-emoji {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 32px;
      background: #fff; border: 2px solid #fce7f3;
      border-radius: 9999px; width: 56px; height: 56px;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
    }
    .my-gift-balloon-tl {
      position: absolute; top: 0; left: 0; font-size: 20px;
      animation: my-bounce 1s infinite;
    }
    .my-gift-balloon-br {
      position: absolute; bottom: 0; right: 0; font-size: 20px;
      animation: my-bounce 1s 0.1s infinite;
    }

    /* ── 선택된 컨텐츠 ── */
    .my-selected-section { display: flex; flex-direction: column; gap: 8px; }
    .my-section-title-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
    .my-section-title { font-size: 12px; font-weight: 900; color: #1f2937; }

    .my-selected-box {
      position: relative;
      padding: 12px;
      border-radius: 16px;
      border: 2px dashed #f87171;
      background: #fff;
    }
    .my-selected-scroll {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
      padding-bottom: 4px;
    }
    .my-selected-scroll::-webkit-scrollbar { display: none; }

    /* 선택된 아이템 카드 */
    .my-sel-card { flex-shrink: 0; width: 80px; display: flex; flex-direction: column; gap: 6px; position: relative;}
    .my-sel-thumb {
      aspect-ratio: 3/4;
      background: #fafaf9;
      border-radius: 12px;
      border: 1px solid #e7e5e4;
      position: relative;
      overflow: hidden;
    }
    .my-sel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .my-sel-check-btn {
      position: absolute; top: 4px; right: 4px;
      width: 16px; height: 16px;
      border-radius: 4px; border: 2px solid;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
    }
    .my-sel-check-on  { background: #a855f7; border-color: #a855f7; color: #fff; }
    .my-sel-check-off { background: rgba(255,255,255,0.8); border-color: #d4d0cb; }

    .my-sel-del-btn {
      position: absolute; bottom: 4px; right: 4px;
      width: 20px; height: 20px;
      background: rgba(255,255,255,0.9); border: 1px solid #e7e5e4;
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: #a8a29e; cursor: pointer;
      transition: color 0.15s; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .my-sel-del-btn:hover { color: #ef4444; }

    .my-sel-info { padding: 0 4px; }
    .my-sel-name { font-size: 11px; font-weight: 700; color: #374151; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .my-sel-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
    .my-sel-price { font-size: 11px; font-weight: 900; color: #111827; }
    .my-sel-pages { font-size: 10px; font-weight: 700; color: #a8a29e; }

    /* 합계 바 */
    .my-total-bar {
      margin-top: 12px;
      background: #facc15;
      border-radius: 12px;
      padding: 8px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 2px 8px rgba(250,204,21,0.4);
    }
    .my-total-left { display: flex; align-items: center; gap: 8px; }
    .my-total-label { font-size: 11px; font-weight: 900; color: #1f2937; }
    .my-total-count { font-size: 11px; font-weight: 700; color: #374151; }
    .my-total-price { font-size: 12px; font-weight: 900; color: #111827; }

    /* ── 구분선 ── */
    .my-divider { height: 1px; background: #f5f5f4; margin: 0 8px; }

    /* ── 마켓 섹션 ── */
    .my-market-section { display: flex; flex-direction: column; gap: 12px; }

    /* 카테고리 필터 address랑 중복 */
    .my-filter-scroll {
      display: flex; gap: 8px;
      overflow-x: auto; scrollbar-width: none;
      padding: 0 4px;
      background: #fff;
    }
    .my-filter-scroll::-webkit-scrollbar { display: none; }
    .my-filter-btn {
      flex-shrink: 0;
      padding: 6px 16px;
      border-radius: 9999px;
      font-size: 12px; font-weight: 700;
      border: none; cursor: pointer;
      transition: background 0.15s, color 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    
    /* 카테고리 필터 버튼 - 핑크ver */
    .my-filter-active2   { background:#ec4899; color: #fff; box-shadow: 0 2px 8px rgba(237, 58, 177, 0.3); }
    .my-filter-inactive2 { background: none; color: #a8a29e; }
    .my-filter-inactive2:hover { background: #fafaf9; }

    /* 상품 그리드 */
    .my-market-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      column-gap: 12px;
      row-gap: 32px;
    }

    .my-market-card { display: flex; flex-direction: column; gap: 6px; }

    .my-market-thumb {
      aspect-ratio: 3/4;
      background: #fafaf9;
      border-radius: 16px;
      border: 1px solid #e7e5e4;
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }
    .my-market-thumb img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transition: transform 0.2s;
    }
    .my-market-thumb:hover img { transform: scale(1.05); }

    /* 리본 배지 */
    .my-ribbon-wrap {
      position: absolute; top: 0; left: 0;
      width: 48px; height: 48px;
      overflow: hidden; pointer-events: none; z-index: 10;
    }
    .my-ribbon {
      position: absolute; top: -9px; left: -3px;
      font-size: 9px; font-weight: 900;
      padding: 4px 0;
      width: 140%;
      text-align: center;
      transform: rotate(-45deg) translate(-30%, 10%);
      box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }
    .my-ribbon-new  { background: #ef4444; color: #fff; }
    .my-ribbon-hot  { background: #f97316; color: #fff; }
    .my-ribbon-best { background: #facc15; color: #111827; }

    /* 체크버튼 */
    .my-market-check {
      position: absolute; top: 6px; right: 6px;
      width: 20px; height: 20px;
      border-radius: 6px; border: 2px solid #d4d0cb;
      background: rgba(255,255,255,0.8);
      cursor: pointer; z-index: 10;
    }

    /* 호버 오버레이 */
    .my-market-overlay {
      position: absolute; inset: 0;
      background: rgba(0,0,0,0.2);
      opacity: 0; transition: opacity 0.2s;
      display: flex; align-items: center; justify-content: center;
    }
    .my-market-thumb:hover .my-market-overlay { opacity: 1; }
    .my-market-overlay-icon {
      width: 48px; height: 48px;
      background: rgba(255,255,255,0.9);
      border-radius: 9999px;
      display: flex; align-items: center; justify-content: center;
      color: #57534e;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      transform: scale(0.75);
      transition: transform 0.2s;
    }
    .my-market-thumb:hover .my-market-overlay-icon { transform: scale(1); }

    /* 하단 태그 바 */
    .my-market-tag-bar {
      position: absolute; bottom: 6px; left: 6px; right: 6px;
      display: flex;
      border-radius: 6px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.3);
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      font-size: 11px; font-weight: 900;
    }
    .my-market-tag-category {
      flex: 1; padding: 2px 4px;
      border-right: 1px solid rgba(255,255,255,0.3);
      text-align: center;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .my-market-tag-pages {
      flex: 1; padding: 2px 4px;
      background: rgba(255,255,255,0.2);
      text-align: center; white-space: nowrap;
    }
    .my-tag-cyan   { background: #67e8f9; }
    .my-tag-yellow { background: #facc15; }

    /* 상품 정보 */
    .my-market-info { text-align: center; display: flex; flex-direction: column; gap: 4px; }
    .my-market-name {
      font-size: 12px; font-weight: 900; color: #1f2937;
      letter-spacing: -0.03em; line-height: 1.3;
      overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
      padding: 0 4px;
    }
    .my-market-price-btn {
      width: 100%; padding: 2px 0;
      background: #fff; border: 1px solid #60a5fa;
      border-radius: 9999px;
      font-size: 11px; font-weight: 900; color: #3b82f6;
      cursor: pointer;
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
      transition: background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-market-price-btn:hover { background: #eff6ff; }







    /* ------------------------------문서> 컨텐츠 > 미리보기 ---------------------------------- */
    /* ── 미리보기 레이어 (absolute 오버레이) ── */

    .my-preview-layer {
      /* position: absolute;
      inset: 0; */
      z-index: 1600;
      background: #fff;
      display: flex;
      flex-direction: column;
      animation: my-slide-in-right 0.3s ease-out;
    }

    .my-preview-layer.my-hidden { display: none; }

    .my-preview-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      border-bottom: 1px solid #fafaf9;
      flex-shrink: 0;
    }

    .my-preview-back-btn {
      display: flex; align-items: center; gap: 4px;
      color: #a8a29e; font-size: 13px; font-weight: 700;
      background: none; border: none; cursor: pointer;
      transition: color 0.15s; font-family: 'Noto Sans KR', sans-serif;
    }
    .my-preview-back-btn:hover { color: #1c1917; }

    .my-preview-title { font-size: 15px; font-weight: 900; color: #111827; }
    .my-preview-spacer { width: 40px; }

    .my-preview-body {
      flex: 1; overflow-y: auto;
      padding: 24px; display: flex; flex-direction: column; gap: 24px;
      scrollbar-width: none;
	  position:relative;
    }
    .my-preview-body::-webkit-scrollbar { display: none; }

    .my-preview-thumb {
      /* aspect-ratio: 3/4; */
      background: #f5f5f4; 
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
      border: 1px solid #dfdfdf;
	  border-radius: 24px;
	 overflow: clip;
	 max-height:600px;
    }
    .my-preview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .my-preview-info { text-align: center; display: flex; flex-direction: column; gap: 8px; }
    .my-preview-name { font-size: 20px; font-weight: 900; color: #111827; }
    .my-preview-desc { font-size: 13px; font-weight: 500; color: #6b7280; }

    .my-preview-detail-box {
      background: #fafaf9; border-radius: 16px; padding: 16px;
      display: flex; flex-direction: column; gap: 12px;
    }
    .my-preview-detail-row {
      display: flex; align-items: center; justify-content: space-between; font-size: 13px;
    }
    .my-preview-detail-label { font-weight: 700; color: #a8a29e; }
    .my-preview-detail-value { font-weight: 900; color: #1f2937; }

    .my-preview-footer {
      padding: 24px; background: #fff;
      border-top: 1px solid #fafaf9; flex-shrink: 0;
    }

    .my-preview-buy-btn {
      width: 100%; height: 64px;
      background: #f05a5e; color: #fff;
      border: none; border-radius: 9999px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 8px 20px rgba(240,90,94,0.3);
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-preview-buy-btn:hover  { background: #e04448; }
    .my-preview-buy-btn:active { transform: scale(0.95); }

    .my-preview-btn-inner { display: flex; align-items: center; gap: 24px; }
    .my-preview-btn-price { font-size: 20px; font-weight: 900; }
    .my-preview-btn-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.3); }
    .my-preview-btn-label { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 900; }




/* ================================더보기 (메인용) =================================== */




        /* ── Delivery banner ── */
    .my-more-delivery-banner {
      background: linear-gradient(to right, #fff7ed, #fffbeb);
      border: 1px solid rgba(254,215,170,.5);
      border-radius: 16px;
      padding: 8px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 1px 3px rgba(0,0,0,.06);
      animation: fade-slide-down .5s ease both;
    }

    @keyframes fade-slide-down {
      from { opacity: 0; transform: translateY(-16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .my-more-banner-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .my-more-banner-icon {
      width: 32px; height: 32px;
      background: #fff;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      color: #f97316;
      box-shadow: 0 1px 3px rgba(0,0,0,.08);
      flex-shrink: 0;
    }

    .my-more-banner-label {
      font-size: 9px;
      font-weight: 900;
      color: #fb923c;
      text-transform: uppercase;
      letter-spacing: .15em;
      line-height: 1;
      margin-bottom: 4px;
    }

    .my-more-banner-text {
      font-size: 13px;
      font-weight: 700;
      color: #44403c;
      line-height: 1;
      letter-spacing: -.02em;
    }

    .my-more-banner-text span { color: #ea580c; }

    .my-more-btn-banner-close {
      width: 28px; height: 28px;
      display: flex; align-items: center; justify-content: center;
      border: none; background: transparent;
      border-radius: 9999px;
      cursor: pointer;
      color: #a8a29e;
      transition: background .15s;
    }
    .my-more-btn-banner-close:hover { background: rgba(255,255,255,.5); }

    /* ── Section ── */
    .my-more-section { display: flex; flex-direction: column; gap: 12px; }

    .my-more-section-label {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 4px;
    }

    .my-more-section-label .my-more-dot {
      width: 4px; height: 12px;
      border-radius: 9999px;
    }
    .my-more-dot-pink   { background: #f472b6; }
    .my-more-dot-indigo { background: #818cf8; }

    .my-more-section-label span {
      font-size: 11px;
      font-weight: 900;
      color: #a8a29e;
      text-transform: uppercase;
      letter-spacing: .2em;
    }

    /* ── Grid cards ── */
    .my-more-card-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .my-more-card {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 16px;
      border-radius: 28px;
      border: 1px solid;
      box-shadow: 0 1px 3px rgba(0,0,0,.06);
      cursor: pointer;
      transition: transform .15s, box-shadow .15s;
      background: transparent;
    }
    .my-more-card:active { transform: scale(.96); }

    /* colour variants */
    .my-more-card-pink   { background: rgba(255,241,247,.3); border-color: #fbcfe8; }
    .my-more-card-cyan   { background: rgba(236,254,255,.3); border-color: #a5f3fc; }
    .my-more-card-indigo { background: rgba(238,242,255,.3); border-color: #c7d2fe; }
    .my-more-card-orange { background: rgba(255,247,237,.3); border-color: #fed7aa; }

    .my-more-card-pink:hover   { background: rgba(255,241,247,.5); }
    .my-more-card-cyan:hover   { background: rgba(236,254,255,.5); }
    .my-more-card-indigo:hover { background: rgba(238,242,255,.5); }
    .my-more-card-orange:hover { background: rgba(255,247,237,.5); }

    .my-more-card-icon {
      width: 40px; height: 40px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 12px;
      transition: transform .2s;
    }
    .my-more-card:hover .my-more-card-icon { transform: scale(1.1); }

    .my-more-card-icon-pink   { background: #fdf2f8; color: #ec4899; }
    .my-more-card-icon-cyan   { background: #ecfeff; color: #0891b2; }
    .my-more-card-icon-indigo { background: #eef2ff; color: #6366f1; }
    .my-more-card-icon-orange { background: #fff7ed; color: #f97316; }

    .my-more-card-name {
      display: block;
      font-size: 14px;
      font-weight: 700;
      color: #1c1917;
      letter-spacing: -.02em;
      line-height: 1;
    }

    .my-more-card-sub {
      display: block;
      font-size: 10px;
      font-weight: 500;
      color: #a8a29e;
      margin-top: 2px;
    }

    /* badge */
    .my-more-badge {
      position: absolute;
      top: 12px; right: 12px;
      width: 20px; height: 20px;
      background: #ef4444;
      border: 2px solid #fff;
      border-radius: 9999px;
      display: grid; place-items: center;
      z-index: 10;
      box-shadow: 0 1px 3px rgba(0,0,0,.2);
    }
    .my-more-badge span {
      font-size: 10px;
      font-weight: 700;
      color: #fff;
      line-height: 1;
    }

    /* ── Footer area ── */
    .my-more-sheet-footer-area {
      padding-top: 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 24px;
    }

    .my-more-btn-logout {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 24px;
      background: #fafaf9;
      border: 1px solid #f5f5f4;
      border-radius: 12px;
      cursor: pointer;
      color: #78716c;
      font-size: 13px;
      font-weight: 700;
      transition: background .15s, color .15s, transform .1s;
    }
    .my-more-btn-logout:hover { background: #fff1f2; color: #ef4444; }
    .my-more-btn-logout:hover .my-more-logout-icon { transform: translateX(-4px); }
    .my-more-btn-logout:active { transform: scale(.95); }

    .my-more-logout-icon { transition: transform .2s; }

    .my-more-version-info {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      opacity: .4;
    }

    .my-more-version-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .my-more-dot-sm {
      width: 4px; height: 4px;
      background: #78716c;
      border-radius: 9999px;
    }

    .my-more-version-num {
      font-size: 9px;
      font-weight: 900;
      color: #57534e;
      text-transform: uppercase;
      letter-spacing: .3em;
    }

    .my-more-version-copy {
      font-size: 8px;
      font-weight: 500;
      color: #a8a29e;
    }

    /* ── Sticky bottom button ── */
    .my-more-sheet-bottom {
      padding: 12px;
      background: #fff;
      border-top: 1px solid #fafaf9;
    }

    .my-more-btn-primary {
      width: 100%;
      height: 48px;
      background: linear-gradient(to right, #ec4899, #f43f5e);
      color: #fff;
      font-size: 18px;
      font-weight: 900;
      border: none;
      border-radius: 16px;
      cursor: pointer;
      box-shadow: 0 10px 25px -5px rgba(244,63,94,.3);
      display: flex; align-items: center; justify-content: center; gap: 8px;
      transition: box-shadow .2s, transform .1s;
    }
    .my-more-btn-primary:hover  { box-shadow: 0 15px 30px -5px rgba(244,63,94,.4); }
    .my-more-btn-primary:active { transform: scale(.98); }





  /* ========================================= 더보기 ============================================ */

.my-floating-menu{
  position:fixed;
  right:16px;
  bottom:90px;
  width:156px;
  padding:6px;
  border-radius:20px;
  background:rgba(255,255,255,0.98);
  backdrop-filter:blur(16px);
  border:1px solid #f1f1f1;
  box-shadow:  0 20px 60px -12px rgba(0,0,0,0.18),  0 0 20px rgba(0,0,0,0.05);
  animation:menuShow .28s ease;
  z-index:200;
}

@media (min-width: 840px) {	    /* PC 에서 숨김  */
.my-floating-menu {
  display: none;
  }
}


 .my-floating-btn{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 8px;
  border-radius:14px;
  font-size:12px;
  font-weight:700;
  color:#57534e;
  cursor:pointer;
  transition:.15s;
}
.my-floating-btn:hover{background:#fafaf9;color:#1c1917;}
.my-floating-btn:active{transform:scale(.95);}

.my-floating-menu .icon{
  width:32px;height:32px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}
.my-floating-menu .icon svg{width:16px;height:16px;stroke-width:2;stroke:currentColor;fill:none;}

 .my-floating-btn .pink{background:#fdf2f8;color:#ec4899;}
 .my-floating-btn .cyan{background:#ecfeff;color:#0891b2;}
 .my-floating-btn .blue{background:#eff6ff;color:#2563eb;}
 .my-floating-btn .indigo{background:#eef2ff;color:#6366f1;}
 .my-floating-btn .orange{background:#fff7ed;color:#f97316;}
 .my-floating-btn .gray{background:#fafaf9;color:#78716c;}

.divider{height:1px;background:#f3f4f6;margin:6px 8px;}
.divider-strong{height:1px;background:#e7e5e4;margin:10px 8px;}










    /* =========================== 더보기 > 편지지 선택 모달=============================== */

 /* 그리드 */
  .my-grid-wrap { padding: 0 1rem; }
  .my-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
 /* 카드 */
  .my-let-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    border: 2px solid #e7e5e4;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .my-let-card:hover { border-color: #fbcfe8; }
  .my-let-card--selected {
    border-color: #ec4899;
    box-shadow: 0 10px 15px -3px rgb(236 72 153 / 0.1),
                0 4px 6px -4px  rgb(236 72 153 / 0.1);
  }

  /* 카드 이미지 영역 */
  .my-let-card-img-wrap {
    aspect-ratio: 3 / 4;
    width: 100%;
    perspective: 1000px;
    position: relative;
  }
  .my-let-card-flipper {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.7s;
    transform-style: preserve-3d;
  }
  .my-let-card-face,
  .my-let-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }
  .my-let-card-face { z-index: 20; }
  .my-let-card-back {
    z-index: 10;
    transform: rotateY(180deg);
  }
  .my-let-card-face img,
  .my-let-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .my-let-badge {
    position: absolute;
    top: 0.5rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
  }
  .my-let-badge--front {
    left: 0.5rem;
    background: #fff;
    color: #ec4899;
  }
  .my-let-badge--back {
    right: 0.5rem;
    background: #1c1917;
    color: #fff;
  }

  /* 카드 호버 시 플립 */
.my-let-card:hover .my-let-card-flipper {
  transform: rotateY(180deg);
}

  /* 선택됨 오버레이 */
  .my-selected-overlay {
    position: absolute;
    inset: 0;
    background: transparent;   /* [2026-12-02] 핑크 덮개 뺌 — 체크 동그라미만 */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 30;
    pointer-events: none;
  }

   .my-let-card--selected .my-selected-overlay {
    display: flex;
  }
  
  .my-check-circle {
    width: 2rem;
    height: 2rem;
    background: #ec4899;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  }

  /* 카드 텍스트 */
  .my-let-card-info {
    padding: 0.75rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }
  .my-let-card-name {
    font-size: 13px;
    font-weight: 700;
    color: #1c1917;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .my-let-card-price {
    font-size: 11px;
    font-weight: 900;
    color: #ec4899;
  }

  /* 하단 가격 안내 */
  .my-price-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 4px 4px;
    background: rgb(255 255 255 / 0.30);
    border-top: 1px solid rgb(231 229 228 / 0.50);
    z-index: 20;
  }
  .my-price-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #fdf2f8;
    border-radius: 10px;
    border: 1px solid #f9cee7;
    animation: my-fade-in-up 0.3s ease both;
  }
  @keyframes my-fade-in-up {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .my-price-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
  }
  .my-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
  }
  .my-dot--pink {
    background: #f472b6;
    animation: my-pulse 1.5s ease-in-out infinite;
  }
  .my-dot--gray { background: #d6d3d1; }
  @keyframes my-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
  }
  .my-price-text {
    font-size: 13px;
    font-weight: 700;
    color: #44403c;
    letter-spacing: -0.025em;
  }
  .my-price-text span { color: #ec4899; }



    /* ── 푸터 ── */
    .my-footer {
      padding: 0.75rem;
      background: #fff;
      border-top: 1px solid #fafaf9;
    }

    .my-footer-btns { display: flex; gap: 0.75rem; }

    .my-btn-close {
      flex: 1;
      height: 3rem;
      background: #f5f5f4;
      color: #78716c;
      font-size: 1.125rem;
      font-weight: 700;
      border: none;
      border-radius: 1rem;
      cursor: pointer;
      transition: background 0.15s, transform 0.1s;
    }
    .my-btn-close:hover  { background: #e7e5e4; }
    .my-btn-close:active { transform: scale(0.98); }

    .my-btn-apply {
      flex: 2;
      height: 3rem;
      color: #fff;
      font-size: 1.125rem;
      font-weight: 900;
      border: none;
      border-radius: 1rem;
      background: #d6d3d1;
      cursor: not-allowed;
      transition: background 0.2s, transform 0.1s;
    }
    .my-btn-apply.active {
      background: #ec4899;
      cursor: pointer;
    }
    .my-btn-apply.active:hover  { background: #db2777; }
    .my-btn-apply.active:active { transform: scale(0.98); }
	
	
	
	
	
	
	
/* ----------------- 그리드: 4열 고정, 카드폭 약 106px (448px 기준) -----------------------------*/
.my-grid-wrap_v3 { padding: 0 1rem; }
.my-grid_v3 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 448px; /* 106*4 + 8*3 */
  margin: 0 auto;
}
.my-let-card_v3 {
  display: flex; flex-direction: column;
  min-width: 0;
  background: #fff;
  border-radius: 0.5rem;
  border: 1.5px solid #e7e5e4;
  overflow: hidden; position: relative; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.my-let-card_v3:hover { border-color: #fbcfe8; }
.my-let-card--selected_v3 {
  border-color: #ec4899;
  box-shadow: 0 10px 15px -3px rgb(236 72 153 / 0.1), 0 4px 6px -4px rgb(236 72 153 / 0.1);
}
.my-let-card-img-wrap_v3 { aspect-ratio: 3 / 4; width: 100%; perspective: 1000px; position: relative; }
.my-let-card-flipper_v3 { width: 100%; height: 100%; position: relative; transition: transform 0.7s; transform-style: preserve-3d; }
.my-let-card-face_v3, .my-let-card-back_v3 { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; }
.my-let-card-face_v3 { z-index: 20; }
.my-let-card-back_v3 { z-index: 10; transform: rotateY(180deg); }
.my-let-card-face_v3 img, .my-let-card-back_v3 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.my-let-badge_v3 {
  position: absolute; top: 4px;
  padding: 1px 5px; border-radius: 9999px;
  font-size: 8px; font-weight: 900;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
}
.my-let-badge--front_v3 { left: 4px; background: #fff; color: #ec4899; }
.my-let-badge--back_v3 { right: 4px; background: #1c1917; color: #fff; }
.my-let-card_v3:hover .my-let-card-flipper_v3 { transform: rotateY(180deg); }
.my-selected-overlay_v3 {
  position: absolute; inset: 0;
  background: transparent;   /* [2026-12-02] 핑크 덮개 뺌 — 체크 동그라미만 */
  display: none; align-items: center; justify-content: center;
  z-index: 30; pointer-events: none;
}
.my-let-card--selected_v3 .my-selected-overlay_v3 { display: flex; }
.my-check-circle_v3 {
  width: 1.5rem; height: 1.5rem;
  background: #ec4899; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.my-check-circle_v3 svg { width: 14px; height: 14px; }
.my-let-card-info_v3 { padding: 0.4rem 0.4rem 0.5rem; text-align: left; display: flex; flex-direction: column; gap: 0.125rem; }
.my-let-card-name_v3 { font-size: 11px; font-weight: 700; color: #1c1917; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-let-card-price_v3 { font-size: 10px; font-weight: 900; color: #ec4899; }

/* 하단 가격 안내 */
.my-price-bar_v3 { position: sticky; bottom: 0; left: 0; right: 0; padding: 0.5rem 1rem; background: rgb(255 255 255 / 0.30); border-top: 1px solid rgb(231 229 228 / 0.50); z-index: 20; }
.my-price-inner_v3 { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1rem; background: #fdf2f8; border-radius: 1rem; border: 1px solid #fce7f3; animation: my-fade-in-up_v3 0.3s ease both; }
@keyframes my-fade-in-up_v3 { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.my-price-item_v3 { display: flex; align-items: center; gap: 0.625rem; }
.my-dot_v3 { width: 0.375rem; height: 0.375rem; border-radius: 9999px; }
.my-dot--pink_v3 { background: #f472b6; animation: my-pulse_v3 1.5s ease-in-out infinite; }
.my-dot--gray_v3 { background: #d6d3d1; }
@keyframes my-pulse_v3 { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.my-price-text_v3 { font-size: 13px; font-weight: 700; color: #44403c; letter-spacing: -0.025em; }
.my-price-text_v3 span { color: #ec4899; }










/* ════════════════════════════════════════════════
   풀화면 팝업 (안내 모달)   >> /css/ common.css 있는것 그대로 가져옴.  
   왼쪽패널 전용. 
   클래스명은 고정. 추가만 함.
   ════════════════════════════════════════════════ */
   
/* 모바일 (기본) */
.full-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.31);
  -webkit-box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.20);
}

/* PC버전에서만 override */
@media (min-width: 481px) {
  .full-popup-overlay {
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 400px;
  }
}

.full-popup-overlay.open {
  display: flex;
  flex-direction: column;
}
.full-popup-header {
  display: flex;
  justify-content: flex-end;
  padding: 16px 16px 0;
}
.full-popup-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  color: #33363F;
  transition: background 0.15s, transform 0.1s;
}
.full-popup-close-btn:hover {
  background: #f5f5f4;
}
.full-popup-close-btn:active {
  transform: scale(0.9);
}
.full-popup-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.full-popup-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 24px;
}
.full-popup-title {
  font-size: 22px;
  font-weight: 700;
  color: #222222;
  line-height: 1.4;
  margin-bottom: 24px;
}

/*추가*/
.full-popup-title2 {
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  line-height: 1.4;
}

.full-popup-desc {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #8A8A8E;
}
.full-popup-footer {
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
}
.full-popup-confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 17px 0;
  background: #1B7CFB;
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

/* 추가: open 시 세로 화면 꽉 채우기 */
.full-popup-overlay.vh100.open {
  height: 100%;
 }

/* PC에서도 꽉 채우려면 (기존 PC override의 top/transform 무력화) */
@media (min-width: 481px) {
  .full-popup-overlay.vh100.open {
    top: 0;
    transform: translateX(-50%);
    height: 100%;
   }
}

/* 추가: vh100 팝업 세로 스크롤 */
.full-popup-overlay.vh100.open {
  overflow: hidden;
}



/* vh100: 넘치면 위쪽부터 정렬(잘림 방지), 짧으면 가운데 유지 */
.full-popup-overlay.vh100 .full-popup-body2 {
	flex: 1;
    display: flex;
    flex-direction: column;	
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  justify-content: flex-start;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));	/* vh100: 하단 잘림 방지 */
}

.full-popup-overlay.vh100 .full-popup-body2::after {
  content: "";
  flex: 0 0 50px; /* 스크롤 끝 여백 확보 */
}
