 div[style*="overflow-x:auto"]::-webkit-scrollbar { display: none; }
 
/* 이 페이지는 support.php 같은 앱셸(app-container) 구조가 아닌 일반 페이지라
   common.css의 body 고정(height:100vh; position:fixed; overflow:hidden)을
   해제해서 PC에서도 페이지 전체 스크롤이 되도록 함 */
body { height: auto; position: static; width: auto; overflow: visible; }

.notice-body { padding: 28px 36px; display: flex; flex-direction: column; gap: 10px; }
.notice-content { flex: 1; }
.faq-category-tabs {
      display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 36px 0;
    }
.faq-cat-btn {
      font-family: "Pretendard", sans-serif; font-size: 13px; font-weight: 600;
      padding: 7px 15px; border-radius: 20px; border: 1.5px solid #E8ECEF;
      background: #ffffff; color: #78909C; cursor: pointer; transition: all 0.18s ease;
      display: flex; align-items: center; gap: 6px;
    }
.faq-cat-btn:hover { border-color: #B39DDB; color: #7E57C2; background: #F5F0FF; }
.faq-cat-btn.active {
      background: linear-gradient(135deg, rgba(38,198,218,0.1) 0%, rgba(126,87,194,0.12) 100%);
      border-color: #B39DDB; color: #7E57C2;
    }
.faq-cat-count {
      font-size: 11px; font-weight: 700; background: #EDE7F6; color: #7E57C2;
      padding: 2px 7px; border-radius: 10px;
    }
.faq-cat-btn.active .faq-cat-count { background: #7E57C2; color: #ffffff; }
.sent-meta {
      display: flex; align-items: center; gap: 10px;
      font-family: "Pretendard", sans-serif;
      font-size: 12px; color: #90A4AE; margin-bottom: 5px;
    }
.sent-meta-item { display: flex; align-items: center; gap: 3px; }
.sent-meta-item svg { width: 13px; height: 13px; stroke: #B0BEC5; flex-shrink: 0; }
.inbox-hint {
      margin: 0 36px 16px;
      display: flex; align-items: center; gap: 7px;
      font-family: "Pretendard", sans-serif; font-size: 12px; color: #90A4AE;
    }
.inbox-hint svg { stroke: #F59E0B; width: 13px; height: 13px; flex-shrink: 0; }
.inbox-empty { display: flex; flex-direction: column; align-items: center; padding: 48px 24px; text-align: center; }
.inbox-empty-title { font-family: "Pretendard", sans-serif; font-size: 20px; font-weight: 700; color: #333; margin-top: 16px; margin-bottom: 6px; }
.inbox-empty-sub { font-family: "Pretendard", sans-serif; font-size: 16px; color: #333; }
.pay-modal-close {
      width: 30px; height: 30px; border-radius: 50%; border: none;
      background: #F0F3F7; cursor: pointer;
      display: flex; align-items: center; justify-content: center; transition: background 0.15s;
    }
.pay-modal-close:hover { background: #E3E8EF; }
.pay-modal-close svg { stroke: #78909C; }
body.content-style-v17 #pageAddr .page-header-icon {
      background: #E8F5E9; box-shadow: 0 3px 10px rgba(67,160,71,0.18);
    }
body.content-style-v17 #pageAddr .page-header-icon svg { stroke: #43A047 !important; }
#addrList .notice-body { padding-top: 12px; }
#addrList #addrFilterTabs { padding-bottom: 4px; }
.addr-top-card {
      margin: 28px 36px 8px;
      background: #ffffff; border: 1px solid rgba(237,232,248,1.00);
      border-radius: 14px; padding: 14px 18px;
      display: flex; align-items: center; justify-content: space-between;
      box-shadow: 0 2px 7px rgba(126,87,194,0.07);
    }
.addr-top-stat {
      display: flex; flex-direction: column; align-items: center; flex: 1;
    }
.addr-top-num {
      font-family: "Pretendard", sans-serif; font-size: 18px; font-weight: 800;
      color: #2E3A42; letter-spacing: -0.5px; line-height: 1.2;
    }
.addr-top-label {
      font-family: "Pretendard", sans-serif; font-size: 13px; color: #2E3A42;
      margin-top: 3px; font-weight: 700;
    }
.addr-top-divider { width: 1px; height: 36px; background: #E8E4F0; flex-shrink: 0; margin: 0 4px; }
.addr-top-half {
      display: flex; align-items: center; justify-content: space-between;
      flex: 1; gap: 8px; padding: 0 8px;
    }
.addr-add-btn {
      display: flex; align-items: center; gap: 5px;
      color: #ffffff; border: none;
      font-family: "Pretendard", sans-serif; font-size: 12px; font-weight: 700;
      padding: 8px 14px; border-radius: 22px; cursor: pointer; flex-shrink: 0;
      transition: background 0.15s;
    }
.addr-add-sender   { background: #3b82f6; }
.addr-add-sender:hover { background: #2563EB; }
.addr-add-receiver { background: #43A047; }
.addr-add-receiver:hover { background: #2E7D32; }
.addr-add-btn svg { stroke: #ffffff; width: 13px; height: 13px; }
.addr-icon-wrap {
      width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      position: relative;
    }
.addr-icon-wrap.sender   { background: #EFF6FF; }
.addr-icon-wrap.receiver { background: #F0FDF4; }
.addr-icon-wrap svg { width: 26px; height: 26px; }
.addr-icon-wrap.sender   svg { stroke: #3b82f6; }
.addr-icon-wrap.receiver svg { stroke: #43A047; }
.addr-type-badge {
      position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
      font-family: "Pretendard", sans-serif; font-size: 9px; font-weight: 700;
      padding: 2px 6px; border-radius: 10px; white-space: nowrap;
    }
.addr-type-badge.sender   { background: #DBEAFE; color: #1D4ED8; }
.addr-type-badge.receiver { background: #DCFCE7; color: #15803D; }
.addr-name {
      font-family: "Pretendard", sans-serif; font-size: 15px; font-weight: 700;
      color: #2E3A42; letter-spacing: -0.3px; margin-bottom: 4px;
    }
.addr-address {
      font-family: "Pretendard", sans-serif; font-size: 12px; color: #78909C;
      line-height: 1.5;
    }
.addr-default-badge {
      font-family: "Pretendard", sans-serif; font-size: 10px; font-weight: 700;
      background: #FEF3C7; color: #D97706; padding: 2px 7px; border-radius: 10px;
      flex-shrink: 0; margin-left: 8px;
    }
#pageAddr .addr-card[data-type="sender"]   .addr-default-badge { background: #DBEAFE; color: #1D4ED8; }
#pageAddr .addr-card[data-type="receiver"] .addr-default-badge { background: #DCFCE7; color: #15803D; }
.addr-action-btn {
      background: transparent; border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
      transition: background 0.15s;
    }
.addr-action-btn:hover { background: #F5F0FF; }
.addr-action-btn svg { stroke: #B0BEC5; width: 15px; height: 15px; }
#senderModalOverlay {
      display: none; position: fixed; inset: 0; z-index: 2000;
      background: rgba(46,58,66,0.45); backdrop-filter: blur(2px);
    }
#senderModalOverlay.open {
      display: flex; align-items: center; justify-content: center;
    }
#senderModal {
      background: #ffffff; border-radius: 20px;
      width: calc(100% - 48px); max-width: 380px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.18);
      overflow: hidden;
      animation: modalPop 0.22s cubic-bezier(0.34,1.56,0.64,1) both;
    }
.sender-modal-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 22px 22px 16px;
    }
.sender-modal-title-wrap {
      display: flex; align-items: center; gap: 10px;
    }
.sender-modal-icon {
      width: 30px; height: 30px; border-radius: 8px;
      background: #DBEAFE; display: flex; align-items: center; justify-content: center;
    }
.sender-modal-icon svg { stroke: #3b82f6; width: 16px; height: 16px; }
.sender-modal-title {
      font-family: "Pretendard", sans-serif;
      font-size: 17px; font-weight: 800; color: #1E2930; letter-spacing: -0.3px;
    }
.sender-modal-body {
      padding: 0 22px 20px; display: flex; flex-direction: column; gap: 10px;
    }
.sender-input {
      font-family: "Pretendard", sans-serif; font-size: 14px; color: #1E2930;
      background: #ffffff; border: 1.5px solid #e7e5e4; border-radius: 8px;
      padding: 14px 16px; outline: none; width: 100%; box-sizing: border-box;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
.sender-input::placeholder { color: #A8A29E; }
.sender-input:focus {
      border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
    }
.sender-check-wrap {
      display: flex; align-items: center; gap: 10px;
      padding: 4px 2px; cursor: pointer;
    }
.sender-check-box {
      width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0;
      border: 1px solid #d6d3d1; background: #ffffff;
      display: flex; align-items: center; justify-content: center;
      transition: all 0.15s;
    }
.sender-check-wrap.checked .sender-check-box {
      background: #3b82f6; border-color: #3b82f6;
    }
.sender-check-wrap.checked .sender-check-box svg { display: block; }
.sender-check-box svg { display: none; stroke: #ffffff; width: 12px; height: 12px; }
.sender-check-label {
      font-family: "Pretendard", sans-serif; font-size: 14px; font-weight: 500; color: #374151;
    }
.sender-check-label .addr-target { font-weight: 700; color: #1E2930; margin-right: 6px; }
.sender-submit-btn {
      display: flex; align-items: center; justify-content: center;
      width: calc(100% - 44px); margin: 0 22px 24px;
      padding: 16px; border-radius: 14px; border: none; cursor: pointer;
      background: #3b82f6; color: #ffffff;
      font-family: "Pretendard", sans-serif; font-size: 16px; font-weight: 700;
      transition: background 0.15s;
      box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    }
.sender-submit-btn:hover { background: #2563EB; }
#receiverModalOverlay {
      display: none; position: fixed; inset: 0; z-index: 2000;
      background: rgba(46,58,66,0.45); backdrop-filter: blur(2px);
    }
#receiverModalOverlay.open {
      display: flex; align-items: center; justify-content: center;
    }
#receiverModal {
      background: #ffffff; border-radius: 20px;
      width: calc(100% - 48px); max-width: 380px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.18);
      overflow: hidden; position: relative;
      animation: modalPop 0.22s cubic-bezier(0.34,1.56,0.64,1) both;
    }
.receiver-type-row {
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
      margin: 0 0 0;
    }
.receiver-type-btn {
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px 14px; border-radius: 8px;
      border: 1.5px solid #e7e5e4; background: #ffffff; cursor: pointer;
      font-family: "Pretendard", sans-serif; font-size: 13px; font-weight: 600; color: #374151;
      transition: border-color 0.15s, background 0.15s;
    }
.receiver-type-btn:hover { border-color: #3b82f6; background: #EFF6FF; }
.receiver-type-btn svg { stroke: #A8A29E; width: 14px; height: 14px; flex-shrink: 0; }
.addr-edit-actions { display: none; gap: 10px; margin: 0 22px 24px; }
.addr-edit-del {
      padding: 16px; border: none; border-radius: 14px; cursor: pointer;
      background: #F3F5F7; color: #EF5A62;
      font-family: "Pretendard", sans-serif; font-size: 16px; font-weight: 700;
      transition: background 0.15s, transform 0.1s;
	  width:30%;
    }
.addr-edit-del:hover { background: #FEE2E2; }
.addr-edit-del:active { transform: scale(0.99); }
.addr-edit-save {
      padding: 16px; border: none; border-radius: 14px; cursor: pointer;
      background: #3b82f6; color: #ffffff;
      font-family: "Pretendard", sans-serif; font-size: 16px; font-weight: 700;
      transition: background 0.15s, transform 0.1s;
      box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
	  width:68%;
    }
.addr-edit-save:hover { background: #2563EB; }
.addr-edit-save:active { transform: scale(0.99); }
#addrDelOverlay {
      display: none; position: fixed; inset: 0; z-index: 2200;
      background: rgba(46,58,66,0.45); backdrop-filter: blur(2px);
    }
#addrDelOverlay.open { display: flex; align-items: center; justify-content: center; padding: 18px; }
#addrDelModal {
      background: #ffffff; border-radius: 20px; width: calc(100% - 48px); max-width: 340px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.18); overflow: hidden;
      animation: addrDelPop 0.22s cubic-bezier(0.34,1.56,0.64,1) both;
    }
@keyframes addrDelPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.addr-del-body { padding: 32px 24px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.addr-del-icon { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; background: #FEE2E2; display: flex; align-items: center; justify-content: center; }
.addr-del-icon svg { width: 26px; height: 26px; stroke: #EF5A62; }
.addr-del-title { font-family: "Pretendard", sans-serif; font-size: 16px; font-weight: 700; color: #1E2930; line-height: 1.55; letter-spacing: -0.3px; }
.addr-del-msg { font-family: "Pretendard", sans-serif; font-size: 13px; font-weight: 600; color: #90A4AE; line-height: 1.7; margin-top: 10px; }
.addr-del-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 22px 22px; }
.addr-del-btn { padding: 15px 12px; border: none; border-radius: 14px; cursor: pointer; font-family: "Pretendard", sans-serif; font-size: 15px; font-weight: 700; transition: background 0.15s, transform 0.1s; }
.addr-del-btn:active { transform: scale(0.99); }
.addr-del-cancel { background: #F3F5F7; color: #37474F; }
.addr-del-cancel:hover { background: #E8ECEF; }
.addr-del-confirm { background: #EF5A62; color: #ffffff; box-shadow: 0 8px 16px -4px rgba(239,90,98,0.30); }
.addr-del-confirm:hover { background: #E0454E; }
#recvNoticeOverlay { display: none; position: fixed; inset: 0; z-index: 2100; background: rgba(46,58,66,0.45); backdrop-filter: blur(2px); }
#recvNoticeOverlay.open { display: flex; align-items: center; justify-content: center; padding: 18px; }
#recvNoticeModal { background: #ffffff; border-radius: 20px; width: calc(100% - 48px); max-width: 360px; box-shadow: 0 20px 60px rgba(0,0,0,0.18); overflow: hidden; position: relative; animation: addrDelPop 0.22s cubic-bezier(0.34,1.56,0.64,1) both; }
.rn-close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; border: none; background: #F0F3F7; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; z-index: 1; }
.rn-close:hover { background: #E3E8EF; }
.rn-close svg { width: 13px; height: 13px; stroke: #78909C; }
.rn-body { padding: 30px 24px 22px; text-align: center; }
.rn-icon { width: 52px; height: 52px; border-radius: 16px; background: #eff6ff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.rn-icon svg { width: 26px; height: 26px; stroke: #2563eb; }
.rn-title { font-family: "Pretendard", sans-serif; font-size: 16px; font-weight: 700; color: #1E2930; letter-spacing: -0.3px; }
.rn-msg { font-family: "Pretendard", sans-serif; font-size: 14.5px; color: #57534e; font-weight: 500; line-height: 1.6; margin-top: 10px; word-break: keep-all; }
.rn-br-pc { display: none; }
.rn-example { margin-top: 18px; background: #F8FAFC; border: 1px solid #E7E5E4; border-radius: 12px; padding: 13px 16px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.rn-ex-label { font-family: "Pretendard", sans-serif; font-size: 13px; font-weight: 700; color: #a8a29e; flex-shrink: 0; }
.rn-ex-text { font-family: "Pretendard", sans-serif; font-size: 15px; font-weight: 600; color: #1E2930; letter-spacing: -0.3px; }
.rn-footer { padding: 4px 22px 22px; }
.rn-btn { width: 100%; padding: 15px; border: none; border-radius: 14px; background: #3b82f6; color: #ffffff; font-family: "Pretendard", sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.15s, transform 0.1s; }
.rn-btn:hover { background: #2563EB; }
.rn-btn:active { transform: scale(0.99); }

@media (max-width: 500px) {
  .faq-category-tabs { flex-wrap: wrap !important; justify-content: center !important; padding: 12px 14px 14px !important; gap: 8px !important; }
  #pageAddr .page-header { display: none !important; }
  .inbox-hint { margin: 0 12px 6px !important; }
  #addrList {
        flex: 1 !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch;
        width: 100% !important; background: #F7F7F7 !important;
        border-radius: 0 !important; border: none !important;
        box-shadow: none !important; margin: 0 !important;
		border:2px solid red;
      }
  #pageAddr .mobile-header {
        box-shadow: none !important;
        border-bottom: 1px solid #EBEBEB !important;
        position: relative; z-index: 10;
      }
  #addrList .page-header { display: none !important; }
  .addr-top-card { margin: 12px 12px 6px !important; padding: 14px 16px !important; }
  #addrHint { justify-content: center !important; margin: 4px 12px 8px !important; }
  #addrFilterTabs { padding: 16px 12px 8px !important; margin-bottom: -8px !important; }
  .addr-top-card { margin: 12px 12px 8px !important; }
}

@media (min-width: 501px) {
  body.content-style-v17 .page-header { height: 80px; padding: 0 56px; justify-content: center; position: relative; border-bottom: 1px solid #e7e5e4; box-shadow: none; }
  body.content-style-v17 .page-header-title { color: #292524; font-weight: 900; font-size: 22px; background: none; -webkit-text-fill-color: initial; -webkit-background-clip: initial; }
  body.content-style-v17 #pageAddr .page-header-icon { width: 36px; height: 36px; border-radius: 10px; background: #eff6ff; box-shadow: none; }
  body.content-style-v17 #pageAddr .page-header-icon svg { stroke: #2563eb !important; }
  #pageAddr .page-header .back-btn { position: absolute; left: 40px; top: 0; bottom: 0; margin: auto 0; }
  body.content-style-v17 .page-header-sub { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 500; color: #a8a29e; }
  #pageAddr .addr-top-card { margin-left: 56px; margin-right: 56px; border: 1px solid #e7e5e4; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
  #pageAddr #addrHint { margin-left: 56px !important; margin-right: 56px !important; }
  #addrList .faq-category-tabs { padding-left: 56px; padding-right: 56px; }
   #pageAddr .addr-top-divider { background: #e7e5e4; }
  #pageAddr .addr-top-num { color: #292524; }
  #pageAddr .addr-top-label { color: #57534e; }
  #pageAddr #addrHint { color: #57534e; font-size: 14px; margin-bottom: 19px !important; }
  #pageAddr #addrHint svg { stroke: #a8a29e; }
  #addrList .faq-cat-btn { background: #ffffff; color: #57534e; border-color: #e7e5e4; }
  #addrList .faq-cat-btn.active { background: #eff6ff; color: #2563eb; border-color: #60a5fa; }
  #addrList .faq-cat-count { background: #f5f5f4; color: #78716c; }
  #addrList .faq-cat-btn.active .faq-cat-count { background: #dbeafe; color: #2563eb; }
  #addrList .faq-cat-btn:not(.active):hover { background: #eff6ff; color: #2563eb; border-color: #60a5fa; }
  #addrList .faq-cat-btn:not(.active):hover .faq-cat-count { background: #dbeafe; color: #2563eb; }
  #pageAddr .notice-item { border: 1px solid #e7e5e4; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
  #pageAddr .notice-item:hover { box-shadow: 0 5px 16px rgba(0,0,0,0.12) !important; border-color: #93c5fd !important; }
  #pageAddr .addr-name { color: #292524; }
  #pageAddr .addr-address { color: #57534e; font-size: 15px; }
  #pageAddr .addr-card .sent-meta { font-size: 14px; }
  #pageAddr .addr-card .sent-meta-item { color: #78716c; }
  #pageAddr .addr-card .sent-meta-item svg { stroke: #a8a29e; width: 14px; height: 14px; }
  #pageAddr .addr-action-btn:hover { background: #f5f5f4; }
  #pageAddr .addr-action-btn svg { stroke: #a8a29e; }
  #addrDelModal { max-width: 382px; }
  #senderModal, #receiverModal { max-width: 400px; }
  .rn-br-pc { display: inline; }
  #recvNoticeModal { max-width: 400px; }
  #pageAddr .addr-add-btn { padding: 11px 25px 11px 19px; font-size: 13px; gap: 6px; }
  #pageAddr .addr-add-btn svg { width: 14px; height: 14px; }
  #pageAddr .addr-top-card { padding: 18px 24px; }
  #pageAddr .addr-top-num { font-size: 20px; }
  #pageAddr .addr-top-label { font-size: 14px; }
  #pageAddr .addr-top-divider { height: 46px; }
}

@media (min-width: 501px) and (max-width: 900px) {
  body.content-style-v17 .page-header { padding: 0 28px; }
  body.content-style-v17 .page-header-sub { right: 28px; }
  #pageAddr .page-header .back-btn { left: 12px; }
  #pageAddr .addr-top-card { margin-left: 28px; margin-right: 28px; }
  #pageAddr #addrHint { margin-left: 28px !important; margin-right: 28px !important; }
  #addrList .faq-category-tabs { padding-left: 28px; padding-right: 28px; }
  #addrList .notice-body { padding-left: 28px; padding-right: 28px; }
}

/* ── fav 주소 선택 오버레이 ── */
#favSelectWrap {
    display: none;
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    border-radius: 0 0 20px 20px;
    padding: 16px 22px 20px;
    box-sizing: border-box;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    overflow-y: auto;
}
#favSelectWrap.open {
    display: flex;
}
.fav-select-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 4px;
}
.fav-select-label {
    font-family: "Pretendard", sans-serif; font-size: 14px; font-weight: 800;
    color: #1E2930;
}
.fav-select-close {
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: #F0F3F7; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.fav-select-close:hover { background: #E3E8EF; }
.fav-select-close svg { stroke: #78909C; }
.fav-addr-list {
    flex: 1; min-height: 120px;
    border: 1.5px solid #e7e5e4; border-radius: 8px;
    font-family: "Pretendard", sans-serif; font-size: 13px; color: #1E2930;
    padding: 4px; outline: none; background: #fff; cursor: pointer;
    overflow-y: auto;
}
.fav-addr-list option { padding: 8px 10px; }
.fav-addr-list option:checked { background: #EDE7F6; color: #7E57C2; }
.fav-select-apply-btn {
    display: block; width: 100%; margin-top: 4px; padding: 14px;
    border-radius: 12px; border: none; cursor: pointer;
    background: #7E57C2; color: #fff;
    font-family: "Pretendard", sans-serif; font-size: 15px; font-weight: 700;
    transition: background 0.15s; flex-shrink: 0;
}
.fav-select-apply-btn:hover { background: #6A3FBF; }

/* ── 군부대/교정시설 모달 ── */
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.fav-region-btn {
    flex-shrink: 0;
    padding: 7px 14px; border-radius: 20px;
    border: 1.5px solid #E8ECEF; background: #fff;
    font-family: "Pretendard", sans-serif; font-size: 12px; font-weight: 600;
    color: #78909C; cursor: pointer; white-space: nowrap;
    transition: all 0.15s;
}
.fav-region-btn.active {
    background: #EDE7F6; border-color: #B39DDB; color: #7E57C2;
}
.fav-unit-btn {
    display: block; width: 100%; text-align: left;
    padding: 12px 14px; margin-bottom: 6px;
    background: #fff; border: 1px solid #eeecf5;
    border-radius: 12px; cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.fav-unit-btn:hover { background: #F5F0FF; border-color: #B39DDB; }
.fav-unit-top {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 4px;
}
.fav-unit-name {
    font-family: "Pretendard", sans-serif; font-size: 14px;
    font-weight: 700; color: #1E2930;
}
.fav-unit-badge {
    font-family: "Pretendard", sans-serif; font-size: 11px;
    font-weight: 600; color: #7E57C2;
    background: #EDE7F6; padding: 2px 8px; border-radius: 10px;
}
.fav-unit-addr {
    font-family: "Pretendard", sans-serif; font-size: 12px;
    color: #90A4AE; line-height: 1.5;
}
.fav-empty-msg {
    text-align: center; padding: 40px 20px;
    font-family: "Pretendard", sans-serif; font-size: 14px; color: #B0BEC5;
}










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


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


  .my-back-both-btn{
      width: 30px; height: 30px;
      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;
    }


    /* ── 모달 카드 ── */
    .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-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; }
    }

