:root { --footer-h: 80px; }   /* 실제 푸터 높이에 맞춰 조정 */

/* ── 페이지 프레임 ── */
    .my-page-wrap {
      width: 100%;
      max-width: 500px;
      height: 100vh;
      background: #fff;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      margin:0 auto;
    }

    /* PC (태블릿 이상) */
    @media (min-width: 768px) {
      .my-page-wrap {
        max-width: 860px;        
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);       
        height: fit-content;
        margin: 2rem auto 5rem auto;
      }
    }

    /* 타이틀 리부트마진값 - 초기화 */
    .my-page-wrap h2, h3{margin:0 !important; letter-spacing:0.02em;}

    /* ── 헤더 ── */
    .my-page-header {
      flex-shrink: 0;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      padding: 0 16px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #f5f5f4;
      z-index: 50;
    }

    @media (min-width: 768px) {
      .my-page-header {
        padding: 0 40px;
        height: 80px;
      }
    }

    /* 공통 헤더 쉐도우 - 그림자 */
     .topshadow {  
        box-shadow: 0 4px 5px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;    
        /* transition-duration: 150ms; */
    }

    /* 헤더 쉐도우 PC : 그림자 제거 */
    @media (min-width: 840px) {
      .topshadow {
          box-shadow: none !important;
      }
    }


    .my-back-both-btn{
      width: 40px; height: 40px;
      display: flex; align-items: center; justify-content: center;
      color: #57534e; background: none; border: none; cursor: pointer;
      border-radius: 10px;
      transition: background 0.15s, transform 0.1s;
    }
    .my-back-both-btn:hover  { background: #f5f5f4; }
    .my-back-both-btn:active { transform: scale(0.9); }

    @media (min-width: 768px) {
      .my-back-both-btn { width: 48px; height: 48px; }
      .my-back-both-btn svg { width: 28px; height: 28px; }
    }

    .my-page-title {
      font-size: 18px;
      font-weight: 900;
      color: #292524;
      letter-spacing: -0.03em;
    }

    @media (min-width: 768px) {
      .my-page-title { font-size: 24px; }
    }

    .my-header-spacer { width: 40px; }

    @media (min-width: 768px) {
      .my-header-spacer { width: 48px; }
    }

    /* ── 스크롤 본문 ── */
    .my-page-body {
      flex: 1;
      overflow-y: auto;
      scrollbar-width: none;
      padding: 16px 20px 0 16px ;
      display: flex;
      flex-direction: column;
      gap: 24px;
      padding-bottom: calc(var(--footer-h) + 56px + env(safe-area-inset-bottom));	  
    }
    .my-page-body::-webkit-scrollbar { display: none; }

    @media (min-width: 768px) {
      .my-page-body {
        padding: 48px 56px;
        gap: 56px;
        scrollbar-width: thin;
        scrollbar-color: #e7e5e4 transparent;
        
      }
      .my-page-body::-webkit-scrollbar { display: block; width: 6px; }
      .my-page-body::-webkit-scrollbar-track { background: transparent; }
      .my-page-body::-webkit-scrollbar-thumb { background: #e7e5e4; border-radius: 9999px; }
    }

    /* ── 섹션 공통 ── */
    .my-form-section { display: flex; flex-direction: column; gap: 14px; }

    @media (min-width: 768px) {
      .my-form-section { gap: 20px; }
    }

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

    @media (min-width: 768px) {
      .my-section-title-row {
        padding-bottom: 6px;
        border-bottom: 2px solid #f5f5f4;
      }
    }

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

    .my-section-icon {
      width: 32px; height: 32px;
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

    @media (min-width: 768px) {
      .my-section-icon { width: 36px; height: 36px; border-radius: 10px; }
    }

    .my-section-icon-blue  { background: #dbeafe; color: #2563eb; }
    .my-section-icon-amber { background: #fef3c7; color: #d97706; }

    .my-section-title {
      font-size: 15px;
      font-weight: 900;
      color: #292524;
    }

    @media (min-width: 768px) {
      .my-section-title { font-size: 20px; }
    }

    .my-addr-book-btn {
      display: flex; align-items: center; gap: 4px;
      font-size: 12px; font-weight: 700; color: #3b82f6;
      background: none; border: none; cursor: pointer;
      transition: color 0.15s, background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
      padding: 5px 8px;
      border-radius: 8px;
    }
    .my-addr-book-btn:hover { color: #2563eb; }

    @media (min-width: 768px) {
      .my-addr-book-btn {
        font-size: 14px;
        padding: 6px 12px;
      }
      .my-addr-book-btn:hover { background: #eff6ff; }
    }

    /* ── 드롭다운 그리드 ── */
    .my-dropdown-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .my-dropdown-btn {
      height: 48px;
      padding: 0 14px;
      background: #fafaf9;
      border: 1px solid #e7e5e4;
      border-radius: 8px;
      font-size: 12px; font-weight: 700; color: #44403c;
      display: flex; align-items: center; justify-content: space-between;
      cursor: pointer; transition: background 0.15s, border-color 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-dropdown-btn:hover { background: #f5f5f4; }
    .my-dropdown-btn svg { color: #a8a29e; }

    @media (min-width: 768px) {
      .my-dropdown-btn {
        height: 56px;
        padding: 0 18px;
        font-size: 15px;
        border-radius: 10px;
        background: #fff;
      }
      .my-dropdown-btn:hover { border-color: #d4d0cb; }
    }

    /* ── 입력 필드 ── */
    .my-field-group { display: flex; flex-direction: column; gap: 10px; }

    @media (min-width: 768px) {
      .my-field-group { gap: 14px; }
    }

    .my-input {
      width: 100%;
      height: 48px;
      padding: 0 16px;
      background: #fafaf9;
      border: 1px solid #e7e5e4;
      border-radius: 8px;
      font-size: 14px; color: #292524;
      font-family: 'Noto Sans KR', sans-serif;
      transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
      outline: none;
    }
    .my-input::placeholder { color: #a8a29e; }
    .my-input-blue:focus  { border-color: #60a5fa; box-shadow: 0 0 0 3px #dbeafe; background: #fff; }
    .my-input-amber:focus { border-color: #fbbf24; box-shadow: 0 0 0 3px #fef3c7; background: #fff; }

    @media (min-width: 768px) {
      .my-input {
        height: 56px;
        padding: 0 20px;
        font-size: 15px;
        border-radius: 10px;
        background: #fff;
      }
    }

    /* ── 안내 텍스트 ── */
    .my-hint-row {
      display: flex;
      align-items: flex-start;
      gap: 7px;
      padding: 2px 0;
    }
    .my-hint-icon { font-size: 13px; line-height: 1; margin-top: 2px; flex-shrink: 0; }
    .my-hint-text {
      font-size: 11px; font-weight: 700;
      color: #3b82f6; line-height: 1.55;
    }

    @media (min-width: 768px) {
      .my-hint-text { font-size: 13px; font-weight: 400; }
    }

    /* ── 체크박스 행 ── */
    .my-checkbox-row {
      display: flex;
      justify-content: flex-end;
      padding-top: 4px;
    }

    .my-checkbox-label {
      display: flex; align-items: center; gap: 8px;
      cursor: pointer;
    }

    .my-checkbox-box {
      width: 20px; height: 20px;
      border-radius: 6px;
      border: 1px solid #d4d0cb;
      background: #fff;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: border-color 0.15s;
    }
    .my-checkbox-label:hover .my-checkbox-box { border-color: #60a5fa; }

    @media (min-width: 768px) {
      .my-checkbox-box { width: 22px; height: 22px; }
    }

    .my-checkbox-text {
      font-size: 12px; font-weight: 700; color: #57534e;
    }

    @media (min-width: 768px) {
      .my-checkbox-text { font-size: 14px; }
    }

    /* ── 탭 스위처 ── */
    .my-tab-switcher {
      display: flex;
      background: #f5f5f4;
      padding: 4px;
      border-radius: 12px;
    }

    .my-tab-sw-btn {
      flex: 1;
      padding: 8px;
      font-size: 12px; font-weight: 700;
      border: none; border-radius: 8px;
      cursor: pointer; transition: all 0.15s;
      display: flex; align-items: center; justify-content: center; gap: 4px;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-tab-sw-active   { background: #fff; color: #292524; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
    .my-tab-sw-inactive { background: none; color: #a8a29e; }
    .my-tab-sw-inactive:hover { color: #57534e; }

    @media (min-width: 768px) {
      .my-tab-sw-btn { padding: 10px; font-size: 14px; }
    }

    /* ── 라디오 행 ── */
    .my-radio-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding-top: 4px;
    }

    @media (min-width: 768px) {
      .my-radio-row {
        padding: 14px 18px;
        background: #fafaf9;
        border: 1px solid #e7e5e4;
        border-radius: 10px;
        padding-top: 14px;
      }
    }

    .my-radio-question {
      font-size: 11px; font-weight: 500; color: #6b7280;
      flex-shrink: 1; line-height: 1.5;
    }

    @media (min-width: 768px) {
      .my-radio-question { font-size: 14px; color: #292524; }
    }

    .my-radio-group { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

    .my-radio-label {
      display: flex; align-items: center; gap: 6px; cursor: pointer;
    }

    .my-radio-circle {
      width: 16px; height: 16px;
      border-radius: 9999px; border: 1px solid;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

    @media (min-width: 768px) {
      .my-radio-circle { width: 18px; height: 18px; }
    }

    .my-radio-off { border-color: #d4d0cb; }
    .my-radio-on  { border-color: #3b82f6; background: #3b82f6; }
    .my-radio-dot { width: 6px; height: 6px; border-radius: 9999px; background: #fff; }

    @media (min-width: 768px) {
      .my-radio-dot { width: 7px; height: 7px; }
    }

    .my-radio-text { font-size: 12px; font-weight: 700; color: #57534e; }

    @media (min-width: 768px) {
      .my-radio-text { font-size: 14px; }
    }

    /* ── 비밀번호 섹션 ── */
    .my-pw-section { display: flex; flex-direction: column; gap: 8px; }
    .my-pw-note {
      font-size: 10px; color: #a8a29e;
      line-height: 1.6; padding-left: 4px;
    }

    @media (min-width: 768px) {
      .my-pw-note { font-size: 12px; }
    }

    /* ── PC 전용 인라인 완료 버튼 ── */
    .my-inline-submit {
      display: none;
    }

    @media (min-width: 768px) {
      .my-inline-submit {
        display: flex;
        padding-top: 32px;
        padding-bottom: 40px;
      }
    }

    /* ── 하단 고정 버튼 (모바일) ── */
    .my-page-footer {
      flex-shrink: 0;
      background: #fff;
      border-top: 1px solid #f5f5f4;
      padding: 16px 20px;
      z-index: 40;
    }

    @media (min-width: 768px) {
      .my-page-footer { display: none; }
    }

    /* ── 공통 버튼 스타일 ── */
    .my-submit-btn {
      width: 100%;     
      height: 56px;
      background: #facc15;
      color: #1c1917;
      font-size: 17px; font-weight: 900;
      border: none; border-radius: 16px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      box-shadow: 0 4px 12px rgba(250,204,21,0.3);
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
      letter-spacing: -0.02em;
    }
    .my-submit-btn:hover  { background: #eab308; }
    .my-submit-btn:active { transform: scale(0.98); }

    @media (min-width: 768px) {
      .my-submit-btn { height: 60px; font-size: 20px; border-radius: 14px; }
    }







    /* ==========================================  주소 모달창  ========================================= */


    @keyframes my-slide-up2 {
       from { opacity: 0; transform: translate(-50%, -40%); }
        to   { opacity: 1; transform: translate(-50%, -50%); }
    }

    /* ── 모달 카드 ── */
    .my-modal-both {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);  /* 정중앙 */
      width: 90%;
      max-width: 384px;
      min-height: 50vh;
      background: #fff;
      border-radius: 13px;
      box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
      padding: 24px;
      display: flex;
      flex-direction: column;
      max-height: 85vh;
      animation: my-slide-up2 0.2s ease-out;
      z-index:1500;
      overflow-y:hidden ;
    }

    #modal_army.show { display: flex !important; }

    @media (min-width: 768px) {
      .my-modal-both {
        max-width: 560px;
        padding: 40px;
        border-radius: 24px;
      }
    }

    /* ── 헤더 ── */
    .my-modal-both-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      flex-shrink: 0;
    }

    @media (min-width: 768px) {
      .my-modal-both-header { margin-bottom: 24px; }
    }

    .my-modal-both-title {
      font-size: 18px;
      font-weight: 900;
      color: #292524;
    }

    @media (min-width: 768px) {
      .my-modal-both-title { font-size: 22px; }
    }

    .my-close-both-btn {
      width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center;
      background: none; border: none; cursor: pointer;
      color: #a8a29e;
      border-radius: 8px;
      transition: background 0.15s, color 0.15s;
    }
    .my-close-both-btn:hover { background: #f5f5f4; color: #57534e; }

    /* ── 검색 입력 ── */
    .my-search-wrap {
      position: relative;
      margin-bottom: 16px;
      flex-shrink: 0;
    }

    @media (min-width: 768px) {
      .my-search-wrap { margin-bottom: 24px; }
    }

    .my-search-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #a8a29e;
      pointer-events: none;
    }

    .my-search-input {
      width: 100%;
      height: 48px;
      padding: 0 16px 0 46px;
      background: #fff;
      border: 1px solid #e7e5e4;
      border-radius: 10px;
      font-size: 14px;
      color: #292524;
      font-family: 'Noto Sans KR', sans-serif;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .my-search-input::placeholder { color: #a8a29e; }
    .my-search-input:focus {
      border-color: #60a5fa;
      box-shadow: 0 0 0 3px #dbeafe;
    }

    @media (min-width: 768px) {
      .my-search-input { height: 56px; font-size: 15px; }
    }

    /* ── 지역 필터 탭 ── */
    .my-filter-scroll {
      display: flex;
      gap: 8px;
      margin-bottom: 0px;
      overflow-x: auto;
      scrollbar-width: none;
      padding-bottom: 10px;
      flex-shrink: 0;
    }
    .my-filter-scroll::-webkit-scrollbar { display: none; }

    @media (min-width: 768px) {
      .my-filter-scroll { margin-bottom: 32px; }
    }

    .my-filter-btn {
      padding: 8px 16px;
      border-radius: 9999px;
      font-size: 12px; font-weight: 700;
      white-space: nowrap;
      border: none; cursor: pointer;
      transition: background 0.15s, color 0.15s, box-shadow 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }

    @media (min-width: 768px) {
      .my-filter-btn { padding: 10px 20px; font-size: 13px; }
    }

    .my-filter-active {
      background: #3b82f6;
      color: #fff;
      box-shadow: 0 2px 8px rgba(59,130,246,0.3);
    }

    .my-filter-inactive {
      background: #f5f5f4;
      color: #6b7280;
    }
    .my-filter-inactive:hover { background: #e7e5e4; }

    /* ── 목록 스크롤 ── */
    .my-list-scroll {
      flex: 1;
      overflow-y: auto;
      scrollbar-width: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .my-list-scroll::-webkit-scrollbar { display: none; }

    @media (min-width: 768px) {
      .my-list-scroll { gap: 16px; }
    }

    /* ── 부대 아이템 ── */
    .my-unit-btn {
      width: 100%;
      text-align: left;
      padding: 16px;
      background: #fff;
      border: 1px solid #f5f5f4;
      border-radius: 16px;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-unit-btn:hover {
      border-color: #bfdbfe;
      background: #eff6ff;
    }
    .my-unit-btn:hover .my-unit-name { color: #2563eb; }

    @media (min-width: 768px) {
      .my-unit-btn { padding: 24px; }
    }

    .my-unit-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 8px;
      gap: 8px;
    }

    @media (min-width: 768px) {
      .my-unit-top { margin-bottom: 10px; }
    }

    .my-unit-name {
      font-weight: 900;
      font-size: 14px;
      color: #292524;
      transition: color 0.15s;
      line-height: 1.3;
    }

    @media (min-width: 768px) {
      .my-unit-name { font-size: 18px; }
    }

    .my-unit-region {
      padding: 2px 8px;
      background: #f5f5f4;
      color: #a8a29e;
      font-size: 9px; font-weight: 700;
      border-radius: 9999px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    @media (min-width: 768px) {
      .my-unit-region { font-size: 12px; padding: 3px 10px; }
    }

    .my-unit-address {
      font-size: 12px;
      color: #6b7280;
      line-height: 1.5;
    }

    @media (min-width: 768px) {
      .my-unit-address { font-size: 14px; }
      
    }










/* =================================  나의 주소록 ========================================= */


    /* ── 목록 스크롤 ── */
    .my-list-scroll {
      flex: 1;
      overflow-y: auto;
      scrollbar-width: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 16px;
    }
    .my-list-scroll::-webkit-scrollbar { display: none; }

    @media (min-width: 768px) {
      .my-list-scroll {
        gap: 20px;
        margin-bottom: 24px;
      }
    }

    /* ── 주소 카드 ── */
    .my-addr-card {
      position: relative;
      width: 100%;
      padding: 16px;
      background: #fafaf9;
      border: 1px solid #f5f5f4;
      border-radius: 16px;
      transition: border-color 0.15s, background 0.15s;
    }
    .my-addr-card:hover {
      border-color: #fbcfe8;
      background: #fdf2f8;
    }

    @media (min-width: 768px) {
      .my-addr-card { padding: 24px; }
    }

    /* 카드 클릭 영역 */
    .my-addr-select-btn {
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      cursor: pointer;
      padding-right: 56px;
      font-family: 'Noto Sans KR', sans-serif;
    }

    @media (min-width: 768px) {
      .my-addr-select-btn { padding-right: 72px; }
    }

     /* 기본 배지 */
    .my-addr-default-badge {
      padding: 2px 6px;
      background: #fce7f3;
      color: #db2777;
      font-size: 9px;
      font-weight: 700;
      border-radius: 4px;
      flex-shrink: 0;
    }
 
    @media (min-width: 768px) {
      .my-addr-default-badge { font-size: 13px; padding: 2px 8px; }
    }

    .my-addr-name-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 4px;
    }

    @media (min-width: 768px) {
      .my-addr-name-row { margin-bottom: 8px; }
    }

    .my-addr-name {
      font-size: 14px;
      font-weight: 700;
      color: #292524;
    }

    @media (min-width: 768px) {
      .my-addr-name { font-size: 18px; }
    }

    .my-addr-phone {
      font-size: 10px;
      color: #a8a29e;
    }

    @media (min-width: 768px) {
      .my-addr-phone { font-size: 13px; }
    }

    .my-addr-address {
      font-size: 12px;
      color: #6b7280;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    @media (min-width: 768px) {
      .my-addr-address { font-size: 15px; }
    }

    .my-addr-detail {
      font-size: 10px;
      color: #a8a29e;
      margin-top: 2px;
    }

    @media (min-width: 768px) {
      .my-addr-detail { font-size: 13px; }
    }

    /* 수정 버튼 */
    .my-edit-btn-wrap {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
    }

    @media (min-width: 768px) {
      .my-edit-btn-wrap { right: 20px; }
    }

    .my-edit-btn {
      padding: 8px 12px;
      background: #eff6ff;
      color: #2563eb;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 12px; font-weight: 900;
      transition: background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-edit-btn:hover { background: #dbeafe; }

    @media (min-width: 768px) {
      .my-edit-btn { padding: 10px 16px; font-size: 13px; }
    }

    /* ── 추가 버튼 ── */
    .my-add-btn {
      flex-shrink: 0;
      width: 100%;
      padding: 16px;
      background: #292524;
      color: #fff;
      font-size: 15px; font-weight: 900;
      border: none;
      border-radius: 16px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-add-btn:hover  { background: #44403c; }
    .my-add-btn:active { transform: scale(0.98); }

    @media (min-width: 768px) {
      .my-add-btn { padding: 20px; font-size: 17px; }
    }







/* =================================== 주소추가 ======================================= */

 
    .my-header-left {
      display: flex;
      align-items: center;
      gap: 4px;   
      width:100%;
    }

 
    /* ── 폼 영역 ── */
    .my-form-body {
      display: flex;
      flex-direction: column;
      gap: 16px;
      overflow-y: auto;
      scrollbar-width: none;
    }
    .my-form-body::-webkit-scrollbar { display: none; }

    @media (min-width: 768px) {
      .my-form-body { gap: 24px; }
    }

    /* ── 입력 필드 그룹 ── */
    .my-field-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    @media (min-width: 768px) {
      .my-field-group { gap: 16px; }
    }

    .my-input {
      width: 100%;
      height: 48px;
      padding: 0 16px;
      background: #fff;
      border: 1px solid #e7e5e4;
      border-radius: 10px;
      font-size: 14px;
      color: #292524;
      font-family: 'Noto Sans KR', sans-serif;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .my-input::placeholder { color: #a8a29e; }
    .my-input:focus {
      border-color: #f9a8d4;
      box-shadow: 0 0 0 3px #fce7f3;
    }

    @media (min-width: 768px) {
      .my-input { height: 56px; font-size: 15px; }
    }

    /* ── 체크박스 ── */
    .my-checkbox-label {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      padding: 8px 0;
    }

    .my-checkbox-box {
      width: 20px; height: 20px;
      border-radius: 6px;
      border: 1px solid #d4d0cb;
      background: #fff;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: border-color 0.15s;
    }
    .my-checkbox-label:hover .my-checkbox-box { border-color: #f472b6; }

    @media (min-width: 768px) {
      .my-checkbox-box { width: 22px; height: 22px; }
    }

    .my-checkbox-text {
      font-size: 14px;
      font-weight: 700;
      color: #57534e;
    }

    @media (min-width: 768px) {
      .my-checkbox-text { font-size: 15px; }
    }



    /* ================================== 주소수정 ============================================= */


    /* ── 폼 영역 ── */
    .my-form-body {
      display: flex;
      flex-direction: column;
      gap: 16px;
      overflow-y: auto;
      scrollbar-width: none;
    }
    .my-form-body::-webkit-scrollbar { display: none; }

    @media (min-width: 768px) {
      .my-form-body { gap: 24px; }
    }

    /* ── 입력 필드 그룹 ── */
    .my-field-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    @media (min-width: 768px) {
      .my-field-group { gap: 16px; }
    }

    .my-input {
      width: 100%;
      height: 48px;
      padding: 0 16px;
      background: #fff;
      border: 1px solid #e7e5e4;
      border-radius: 10px;
      font-size: 14px;
      color: #292524;
      font-family: 'Noto Sans KR', sans-serif;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .my-input::placeholder { color: #a8a29e; }
    .my-input:focus {
      border-color: #f9a8d4;
      box-shadow: 0 0 0 3px #fce7f3;
    }

    @media (min-width: 768px) {
      .my-input { height: 56px; font-size: 15px; }
    }

    /* ── 체크박스 ── */
    .my-checkbox-label {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      padding: 8px 0;
    }

    .my-checkbox-box {
      width: 20px; height: 20px;
      border-radius: 6px;
      border: 1px solid #d4d0cb;
      background: #fff;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: border-color 0.15s;
    }
    .my-checkbox-label:hover .my-checkbox-box { border-color: #f472b6; }

    @media (min-width: 768px) {
      .my-checkbox-box { width: 22px; height: 22px; }
    }

    .my-checkbox-text {
      font-size: 14px;
      font-weight: 700;
      color: #57534e;
    }

    @media (min-width: 768px) {
      .my-checkbox-text { font-size: 15px; }
    }


    /* ── 버튼 행 ── */
    .my-btn-row {
      display: flex;
      gap: 8px;
    }

    .my-delete-btn2 {
      flex: 1;
      padding: 16px;
      background: #f5f5f4;
      color: #6b7280;
      font-size: 15px; font-weight: 900;
      border: none;
      border-radius: 16px;
      cursor: pointer;
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-delete-btn2:hover  { background: #e7e5e4; }
    .my-delete-btn:active { transform: scale(0.98); }

    @media (min-width: 768px) {
      .my-delete-btn2 { padding: 20px; font-size: 17px; }
    }

    .my-submit-btn2 {
      flex: 2;
      padding: 16px;
      background: #ec4899;
      color: #fff;
      font-size: 15px; font-weight: 900;
      border: none;
      border-radius: 16px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(236,72,153,0.3);
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-submit-btn2:hover  { background: #db2777; }
    .my-submit-btn2:active { transform: scale(0.98); }

    @media (min-width: 768px) {
      .my-submit-btn2 { padding: 20px; font-size: 17px; }
    }




    /* ================================== 사서함  ===================================== */


    /* ── 본문 ── */
    .my-modal-body2 {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    @media (min-width: 768px) {
      .my-modal-body2 { gap: 20px; }
    }

    .my-body-text {
      font-size: 12px;
      font-weight: 500;
      color: #57534e;
      line-height: 1.7;
    }

    @media (min-width: 768px) {
      .my-body-text { font-size: 15px; }
    }

    /* ── 안내 박스 ── */
    .my-info-box {
      background: #fafaf9;
      border: 1px solid #f5f5f4;
      border-radius: 12px;
      padding: 12px;
    }

    @media (min-width: 768px) {
      .my-info-box { padding: 20px; border-radius: 16px; }
    }

    .my-info-box-title {
      font-size: 13px;
      font-weight: 700;
      color: #292524;
      margin-bottom: 6px;
    }

    @media (min-width: 768px) {
      .my-info-box-title { font-size: 17px; margin-bottom: 10px; }
    }

    .my-info-list {
      list-style: decimal;
      list-style-position: inside;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    @media (min-width: 768px) {
      .my-info-list { gap: 8px; }
    }

    .my-info-list li {
      font-size: 12px;
      font-weight: 500;
      color: #57534e;
      line-height: 1.6;
    }

    @media (min-width: 768px) {
      .my-info-list li { font-size: 15px; }
    }

    /* ── 확인 버튼 ── */
    .my-confirm-btn {
      width: 100%;
      margin-top: 24px;
      padding: 12px;
      background: #292524;
      color: #fff;
      font-size: 14px; font-weight: 700;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-confirm-btn:hover  { background: #44403c; }
    .my-confirm-btn:active { transform: scale(0.98); }

    @media (min-width: 768px) {
      .my-confirm-btn {
        margin-top: 32px;
        padding: 16px;
        font-size: 17px;
        border-radius: 14px;
      }
    }



     /* ── 안내 배너 ── */
    .my-info-banner {
      background: #eff6ff;
      border: 1px solid #dbeafe;
      border-radius: 12px;
      padding: 16px;
      margin-bottom: 16px;
      /* animation: my-slide-up-slow 0.3s cubic-bezier(0.16, 1, 0.3, 1); */
    }

    @media (min-width: 768px) {
      .my-info-banner {
        padding: 24px;
        margin-bottom: 16px;
      }
    }

    .my-info-banner-text {
      font-size: 11px;
      font-weight: 500;
      color: #2563eb;
      line-height: 1.7;
    }

    @media (min-width: 768px) {
      .my-info-banner-text { font-size: 15px; }
    }




    /* ========================================== 우편발송하기 ================================================== */


    /* ── 주소 카드 ── */
    .my-address-card {
      background: #fff;
      border: 1px solid #dbeafe;
      border-radius: 12px;
      padding: 20px;
      position: relative;       
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 16px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }

    @media (min-width: 768px) {
      .my-address-card { border-radius: 16px; padding:30px; gap: 80px; }
    }

    .my-address-card-bar {
      position: absolute;
      top: 0; left: 0;
      width: 4px; height: 100%;
      background: #60a5fa;
    }

    @media (min-width: 768px) { .my-address-card-bar { width: 8px; } }

    .my-envelope-svg {
      width: 80px; height: 56px;
      flex-shrink: 0;
    }

    @media (min-width: 768px) { .my-envelope-svg { width: 192px; height: 144px; } }

    .my-address-info { display: flex; flex-direction: column; gap: 12px; flex: 1; }

    @media (min-width: 768px) { .my-address-info { gap: 20px; } }

    .my-addr-row { display: flex; flex-direction: column; gap: 4px; }

    .my-addr-label-row { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }

    @media (min-width: 768px) { .my-addr-label-row { margin-bottom: 10px; } }

    .my-addr-label { font-size: 13px; font-weight: 900; color: #2563eb; }
    @media (min-width: 768px) { .my-addr-label { font-size: 18px; } }

    .my-addr-name { font-size: 14px; font-weight: 900; color: #292524; }
    @media (min-width: 768px) { .my-addr-name { font-size: 20px; } }

    .my-addr-address { font-size: 11px; font-weight: 500; color: #6b7280; line-height: 1.6; white-space: normal;}
    @media (min-width: 768px) { .my-addr-address { font-size: 15px;   } }

    .my-addr-divider {
      border: none;
      border-top: 1px solid #f5f5f4;
      margin: 0;
    }

    /* ── 상품 섹션 공통 ── */
    .my-items-section { display: flex; flex-direction: column; gap: 12px; }
    @media (min-width: 768px) { .my-items-section { gap: 40px; } }

    .my-item-box {
      background: #f7f8fa;
      border: 1px solid #d9d9d9;
      border-radius: 12px;
      padding: 8px 16px;
      display: flex;
      align-items: center;
      gap:4px;
      max-height: 300px;
    }

    @media (min-width: 768px) {
      .my-item-box { border-radius: 16px; padding: 16px 24px; min-height: 150px; gap:18px; }
    }

    /* 왼쪽 라벨 */
    .my-item-label-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-width: 70px;
      border-right: 1px solid #d9d9d9;
      padding-right: 16px;
      height: 100%;
      gap: 4px;
    }

    @media (min-width: 768px) {
      .my-item-label-col { min-width: 140px; padding-right: 24px; gap: 6px; }
    }

    .my-item-type { font-size: 13px; color: #282828; }
    @media (min-width: 768px) { .my-item-type { font-size: 15px; } }

    .my-item-count {
      font-size: 24px; font-weight: 900;
      color: #282828; line-height: 1;
    }
    @media (min-width: 768px) { .my-item-count { font-size: 36px; } }

    .my-item-count-unit { font-size: 13px; font-weight: 700; margin-left: 2px; }
    @media (min-width: 768px) { .my-item-count-unit { font-size: 20px; } }

    .my-item-edit-btn {
      padding: 4px 12px;
      font-size: 10px; font-weight: 700;
      border: 1px solid #e7e5e4;
      border-radius: 4px;
      background: #fff;
      color: #282828;
      cursor: pointer;
      transition: background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
      white-space: nowrap;
    }
    .my-item-edit-btn:hover { background: #f5f5f4; }
    @media (min-width: 768px) { .my-item-edit-btn { font-size: 12px; padding: 6px 12px; } }

    /* 오른쪽 콘텐츠 */
    .my-item-content {
      flex: 1;
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
      padding: 4px 0;
    }
    .my-item-content::-webkit-scrollbar { display: none; }

    @media (min-width: 768px) { .my-item-content { gap: 10px; } }

    /* 편지 썸네일 */
    .my-letter-thumb {
      width: 48px; height: 68px;
      background: #fff;
      border: 1px solid #f5f5f4;
      border-radius: 4px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
      overflow: hidden;
      flex-shrink: 0;
    }

    @media (min-width: 768px) { .my-letter-thumb { width: 84px; height: 108px; border-radius: 8px; } }

    .my-letter-thumb-bar { width: 100%; height: 4px; background: #fce7f3; }
    @media (min-width: 768px) { .my-letter-thumb-bar { height: 8px; } }

    /* 사진 썸네일 */
    .my-photo-thumb {
      width: 48px; height: 68px;
      background: #fff;
      border: 1px solid #f5f5f4;
      border-radius: 4px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
      overflow: hidden;
      flex-shrink: 0;
    }
    .my-photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

    @media (min-width: 768px) { .my-photo-thumb { width: 84px; height: 108px; border-radius: 8px; } }

    /* 문서/컨텐츠 리스트 */
    .my-item-list {
       position: relative;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 8px;
      overflow-y:auto;
      max-height: 100px;
      padding:8px;
     }

    @media (min-width: 768px) { 
      .my-item-list {
         position: relative;
         gap: 16px; 
         overflow-y: auto;
         max-height: 200px;
         
        } 
    }


    .my-item-list-row:nth-child(n + 11) {
      display: none;
    }


    .my-item-list-more {
      font-size: 12px;
      color: #9ca3af;
      text-align: center;
      padding:0;
    }

    /* 선택사항: 마지막 visible 행 아래 페이드 효과 */

    .my-item-list::after {
      content: '';
      display: block;
      height: 24px;
      /* background: linear-gradient(to bottom, transparent, #fff); */
      margin-top: -24px;
      pointer-events: none;
    }





    .my-item-list-row {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      color: #57534e;
    }

    @media (min-width: 768px) { .my-item-list-row { font-size: 17px; } }

    .my-item-list-name {
      font-weight: 500;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      max-width:75%;
    }

    @media (min-width: 768px) { .my-item-list-name { max-width: 80%; } }

    .my-item-list-price { font-weight: 900; color: #292524; margin-left: auto; white-space: nowrap; }

    /* 가격 행 */
    .my-item-price-row {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      padding-right: 8px;
    }

    @media (min-width: 768px) { .my-item-price-row { font-size: 17px; gap: 24px; } }

    .my-item-price-detail { color: #a8a29e; }
    .my-item-price-total  { font-weight: 900; color: #2563eb; white-space: nowrap;}
    @media (min-width: 768px) { .my-item-price-total { font-size: 20px; } }

    /* ── 우편 선택 섹션 ── */
    .my-shipping-section {
      padding-top: 40px;
      border-top: 1px solid #d9d9d9;
    }

    @media (min-width: 768px) { .my-shipping-section { padding-top: 56px; } }

    .my-shipping-title-area {
      text-align: center;
      margin-bottom: 24px;
    }

    @media (min-width: 768px) { .my-shipping-title-area { margin-bottom: 40px; } }

    .my-shipping-title {
      font-size: 15px; font-weight: 900; color: #292524;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }

    @media (min-width: 768px) { .my-shipping-title { font-size: 20px; } }

    .my-shipping-note {
      font-size: 11px; font-weight: 500; color: #a8a29e;
      margin-top: 8px;
    }

    @media (min-width: 768px) { .my-shipping-note { font-size: 14px; } }

    /* 우편 옵션 그리드 */
    .my-shipping-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    @media (min-width: 768px) { .my-shipping-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

    .my-shipping-btn {
      padding: 16px;
      border-radius: 12px;
      border: 1px solid #d9d9d9;
      background: #fff;
      text-align: left;
      cursor: pointer;
      position: relative;
      transition: border-color 0.15s, background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }

    .my-shipping-btn:hover { border-color: #bfdbfe; }

    .my-shipping-btn.on{
      border-color: #3b82f6;
      background: #eff6ff;
      box-shadow: 0 0 0 2px rgba(59,130,246,0.2);}

    .my-shipping-btn .my-shipping-check{display:none}
    .my-shipping-btn.on .my-shipping-check{display:block !important}


    @media (min-width: 768px) { .my-shipping-btn { padding: 12px; border-radius: 7px; height: 90px; } }

    /* .my-shipping-btn.my-selected {
      border-color: #3b82f6;
      background: #eff6ff;
      box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
    } */

    .my-shipping-btn-top {
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 6px;
    }

    @media (min-width: 768px) { .my-shipping-btn-top { margin-bottom: 4px; } }

    .my-shipping-dot {
      width: 10px; height: 10px;
      border-radius: 9999px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.15);
      flex-shrink: 0;
    }

    @media (min-width: 768px) { .my-shipping-dot { width: 12px; height: 12px; } }

    .my-shipping-name { font-size: 12px; font-weight: 900; color: #292524; }
    @media (min-width: 768px) { .my-shipping-name { font-size: 14px; } }

    .my-shipping-desc {
      font-size: 11px; font-weight: 500; color: #a8a29e;
      line-height: 1.4; margin-bottom: 6px;
    }

    @media (min-width: 768px) { .my-shipping-desc { font-size: 11px; margin-left: 20px; margin-bottom: 4px; } }

    .my-shipping-price { font-size: 13px; font-weight: 900; color: #2563eb; }
    @media (min-width: 768px) { .my-shipping-price { font-size: 15px; margin-left: 20px; } }

    .my-shipping-check {
      position: absolute;
      top: 12px; right: 12px;
      color: #3b82f6;
    }

    @media (min-width: 768px) { .my-shipping-check { top: 8px; right: 8px; } }

    /* ── 결제 섹션 ── */
    .my-payment-section { display: flex; flex-direction: column; gap: 16px; }
    @media (min-width: 768px) { .my-payment-section { gap: 24px; } }

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

    .my-payment-title { font-size: 15px; font-weight: 900; color: #292524; }
    @media (min-width: 768px) { .my-payment-title { font-size: 24px; } }

    .my-payment-note { font-size: 11px; font-weight: 500; color: #a8a29e; }
    @media (min-width: 768px) { .my-payment-note { font-size: 14px; } }

    .my-payment-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    @media (min-width: 768px) { .my-payment-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

    .my-payment-btn {
      padding: 10px 16px;
      border-radius: 12px;
      border: 1px solid #d9d9d9;
      background: #fff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-payment-btn:hover { border-color: #bfdbfe; }

    .my-payment-btn.on{
      border-color: #3b82f6;
      background: #eff6ff;
      box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
    }

    @media (min-width: 768px) {
      .my-payment-btn {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        border-radius: 7px;
        height: 80px;
      }
    }

    /* .my-payment-btn.my-selected {
      border-color: #3b82f6;
      background: #eff6ff;
      box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
    } */

    .my-payment-icon {
      padding: 10px;
      background: #fafaf9;
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.15s;
    }
    .my-payment-btn:hover .my-payment-icon { background: #fff; }

    .my-payment-label { font-size: 10px; font-weight: 900; color: #374151; white-space: nowrap; }
    @media (min-width: 768px) { .my-payment-label { font-size: 13px; } }

    .my-naver-icon {
      width: 20px; height: 20px;
      background: #03c75a;
      color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 10px; font-weight: 700;
      border-radius: 3px;
    }

    .my-kakao-icon {
      width: 20px; height: 20px;
      background: #fee500;
      color: #000;
      display: flex; align-items: center; justify-content: center;
      font-size: 10px; font-weight: 700;
      border-radius: 9999px;
    }

    @media (min-width: 768px) {
      .my-naver-icon  { width: 24px; height: 24px; font-size: 12px; }
      .my-kakao-icon  { width: 24px; height: 24px; font-size: 12px; }
    }

   

    /* ── PC 인라인 결제 버튼 ── */
    .my-pc-pay-wrap { display: none; }
    @media (min-width: 768px) {
      .my-pc-pay-wrap {
        display: block;
        padding-top: 32px;
        padding-bottom: 40px;
      }
    }

    /* ── 모바일 하단 고정 결제 버튼 ── */
    .my-page-footer {
      position: fixed; left: 0; right: 0; bottom: 0;
  height: var(--footer-h);
  padding: 16px 20px;
  box-sizing: border-box;      /* padding·border 포함해서 80px */
  z-index: 40;
	  
     }

    @media (min-width: 768px) { .my-page-footer { display: none; } }

    /* 공통 결제 버튼 */
    .my-pay-btn {
      width: 100%;
      height: 56px;
      background: #2563eb;
      color: #fff;
      font-size: 17px; font-weight: 900;
      border: none; border-radius: 12px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      box-shadow: 0 4px 12px rgba(37,99,235,0.25);
      transition: background 0.15s, transform 0.1s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-pay-btn:hover  { background: #1d4ed8; }
    .my-pay-btn:active { transform: scale(0.98); }

    @media (min-width: 768px) {
      .my-pay-btn { height: 60px; font-size: 20px; border-radius: 12px; background: #007bff; }
      .my-pay-btn:hover { background: #0069d9; }
    }



    /* ── 결제금액 바 ── */
    .my-total-section {
      background: #fff;
      border-top: 1px solid #000;
      border-bottom: 1px solid #000;
      overflow: hidden;
    }

    .my-total-bar2 {
      padding: 16px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    @media (min-width: 768px) { .my-total-bar2 { padding: 24px 0; } }

    .my-total-title {
      font-size: 15px;
      font-weight: 900;
      color: #292524;
    }

    @media (min-width: 768px) { .my-total-title { font-size: 24px; } }

    .my-total-right { display: flex; align-items: center; gap: 12px; }
    @media (min-width: 768px) { .my-total-right { gap: 24px; } }

    .my-total-detail-btn {
      padding: 4px 10px;
      border: 1px solid #6b7280;
      border-radius: 4px;
      font-size: 11px; font-weight: 500; color: #57534e;
      background: none; cursor: pointer;
      transition: background 0.15s;
      font-family: 'Noto Sans KR', sans-serif;
    }
    .my-total-detail-btn:hover { background: #f5f5f4; }
    .my-total-detail-btn.my-open { background: #f5f5f4; border-color: #292524; }

    @media (min-width: 768px) { .my-total-detail-btn { font-size: 13px; padding: 6px 16px; } }

    .my-total-price {
      font-size: 18px; font-weight: 900; color: #2563eb;
    }
    @media (min-width: 768px) { .my-total-price { font-size: 24px; } }

    .my-total-prefix { font-size: 13px; font-weight: 500; margin-right: 4px; }

    /* ── 상세 드롭다운 ── */
    .my-detail-dropdown {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .my-detail-dropdown.my-open {
      max-height: 400px;
      opacity: 1;
    }

    @keyframes my-slide-up {
      from { transform: translateY(8px); opacity: 0; }
      to   { transform: translateY(0);   opacity: 1; }
    }

    .my-detail-inner {
      padding-bottom: 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      animation: my-slide-up 0.2s ease-out;
    }

    @media (min-width: 768px) {
      .my-detail-inner { padding-bottom: 40px; gap: 16px; }
    }

    .my-detail-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
      font-weight: 500;
      color: #6b7280;
    }

    @media (min-width: 768px) { .my-detail-row { font-size: 15px; } }

    .my-detail-row-price {
      font-weight: 700;
      color: #292524;
    }





    .paper_tag_m.on {
    background: #3b82f6;   /* 파란색 */
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    }

    /* 모바일 편지지 모달 off 상태 — PC(.paper_tag_m)처럼 회색 배경 */
    .paper_tag_m2 {
    background: #f5f5f4;
    color: #6b7280;
    }

    .paper_tag_m2.on {
    background: #ec4899;   /* 핑크색 */
    color: #fff;
    box-shadow: 0 2px 8px rgba(210, 59, 246, 0.3);
    }

    .paper_tag_m {
    background: #f5f5f4;   /* 기본 회색 */
    color: #6b7280;
    } 



.tab-prev.d-none{ translateX(-10px); border:1px solid}

    