/* mobile-fix.css v4 — 2026-06-13 — Pretendard 전체 + 모바일 안전망 강화
   ref: https://github.com/orioncactus/pretendard (공식) · https://developer.mozilla.org/en-US/docs/Web/CSS/@media */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
:root{
  --gucci-font:"Pretendard Variable","Pretendard",-apple-system,BlinkMacSystemFont,system-ui,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
}
html,body,button,input,select,textarea,table,th,td,h1,h2,h3,h4,h5,h6,p,a,span,div,li,label,code,pre,nav,aside,header,footer,section,article{
  font-family:var(--gucci-font)!important;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
*{box-sizing:border-box}
html,body{max-width:100vw;overflow-x:hidden}
img,video,iframe,table{max-width:100%;height:auto}
table{border-collapse:collapse}
@media(max-width:760px){
  html{font-size:15px}
  body{font-size:.95rem;line-height:1.4}
  h1{font-size:1.2rem!important;line-height:1.25}
  h2{font-size:1.05rem!important}
  h3{font-size:.98rem!important}
  .wrap,.container,.card,.box,main,.main-content{padding:.7rem!important;margin-left:auto!important;margin-right:auto!important;max-width:100%!important}
  /* 그리드 1열 강제(좁은 폰) */
  [style*="grid-template-columns:1fr 1fr"],[style*="grid-template-columns: 1fr 1fr"]{grid-template-columns:1fr!important}
  /* 큰 폰트 자동 클램프 — 2rem 이상 → 1.4rem (강조 의도는 유지하면서 모바일 가독성) */
  [style*="font-size:2"],[style*="font-size: 2"],[style*="font-size:3"],[style*="font-size: 3"],[style*="font-size:4"],[style*="font-size: 4"]{font-size:1.4rem!important}
  /* 가로 스크롤 유발 고정폭 px 자동 풀기 (인라인 style 기준) */
  [style*="width:768px"],[style*="width: 768px"],
  [style*="width:800px"],[style*="width: 800px"],
  [style*="width:900px"],[style*="width: 900px"],
  [style*="width:700px"],[style*="width: 700px"],
  [style*="width:560px"],[style*="width: 560px"],
  [style*="min-width:300px"],[style*="min-width: 300px"]{
    width:100%!important;min-width:0!important;max-width:100%!important
  }
  /* 테이블 가로 스크롤 */
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  /* 터치 타깃 44px */
  button,input,select,textarea,a.btn,.btn,.bigbtn{min-height:44px}
}
@media(pointer:coarse){
  input[type="text"],input[type="number"],input[type="password"],input[type="email"],input[type="url"],input[type="tel"],select,textarea{font-size:16px}
}
