/* 건마나라 V49.7 — 지역별 1차 → 2차 선택 동선 개선.
   CSS는 모바일 셸만 적용: PC 1025px 이상 V48 유지. */
@media screen and (max-width:1024px) {
  html.gm49-mobile .gm49-region-chips a { gap:5px; }
  html.gm49-mobile .gm49-region-chips a i { font-size:11px; opacity:.6; }
  html.gm49-mobile .gm497-region-picker { margin:18px 0 0; padding:17px 12px 13px; border:1px solid #e7dbf3; border-radius:16px; background:linear-gradient(180deg,#fcfaff 0%,#fff 60%); scroll-margin-top:86px; }
  html.gm49-mobile .gm497-picker-title { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-bottom:12px; line-height:1.35; }
  html.gm49-mobile .gm497-picker-title strong { font-weight:850; font-size:16px; color:#422956; letter-spacing:-.45px; }
  html.gm49-mobile .gm497-step { font-size:11.5px; letter-spacing:.15px; font-weight:900; color:#fff; background:#8454bb; border-radius:7px; padding:4px 7px; flex-shrink:0; }
  html.gm49-mobile .gm497-primary-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
  html.gm49-mobile .gm497-primary-item { min-width:0; min-height:47px; display:flex; justify-content:center; align-items:center; text-align:center; gap:3px; padding:8px 5px; background:#fff; border:1px solid #e6dced; border-radius:10px; color:#655574; font-size:13px; font-weight:770; overflow-wrap:anywhere; line-height:1.35; }
  html.gm49-mobile .gm497-primary-item.is-selected { border-color:#8354b5; color:#653493; background:#f0e7fb; box-shadow:inset 0 0 0 1px rgba(131,84,181,.19); }
  html.gm49-mobile .gm497-check { font-weight:900; color:#7746ad; flex-shrink:0; }
  html.gm49-mobile .gm497-secondary-section { margin:15px -3px 0; padding:15px 11px; border-radius:13px; background:#f7f3fc; border:1px solid #e9ddf5; }
  html.gm49-mobile .gm497-secondary-section .gm497-step { background:#5f3693; }
  html.gm49-mobile .gm497-secondary-section .gm497-picker-title { margin-bottom:7px; }
  html.gm49-mobile .gm497-hint { margin:0 0 12px; font-size:13px; color:#806f8a; line-height:1.5; }
  html.gm49-mobile .gm497-secondary-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
  html.gm49-mobile .gm497-secondary-item { display:flex; align-items:center; justify-content:center; gap:3px; text-align:center; min-width:0; min-height:45px; line-height:1.35; padding:8px 4px; background:#fff; border:1px solid #e5dceb; border-radius:10px; color:#594567; font-size:13px; font-weight:730; overflow-wrap:anywhere; }
  html.gm49-mobile .gm497-secondary-item.is-selected { background:#7847b7; border-color:#7847b7; color:#fff; }
  html.gm49-mobile .gm497-secondary-item.is-selected .gm497-check { color:#fff; }
  html.gm49-mobile .gm497-secondary-item.gm497-all-item { grid-column:1/-1; font-size:14px; min-height:46px; font-weight:830; border-color:#a385c5; background:#f0e5fb; color:#64379c; }
  html.gm49-mobile .gm497-secondary-item.gm497-all-item.is-selected { background:#7847b7; color:#fff; border-color:#7847b7; }
  html.gm49-mobile .gm497-empty-areas { margin:11px 0 0; color:#7d7185; font-size:13px; line-height:1.55; }
  html.gm49-mobile .gm497-first-hint { margin:11px 2px 0; border-radius:9px; padding:10px; color:#7d668d; font-size:13px; line-height:1.4; background:#f9f5fe; }
  html.gm49-mobile .gm497-first-hint i { margin-right:4px; }
  html.gm49-mobile .gm497-current { margin:11px 1px 0; padding:10px; font-size:13px; line-height:1.35; border:1px solid #e4d8f1; background:#fff; color:#74617d; border-radius:9px; }
  html.gm49-mobile .gm497-current i { color:#8654b9; margin-right:4px; }
  html.gm49-mobile .gm497-current strong { color:#5f338c; font-weight:850; }
  html.gm49-mobile .gm497-advanced-filters { margin-top:13px; border-top:1px solid #eee7f5; }
  html.gm49-mobile .gm497-advanced-filters>summary { padding:14px 2px 2px; cursor:pointer; list-style:none; display:flex; gap:8px; align-items:center; color:#78539e; font-size:14px; font-weight:790; min-height:43px; }
  html.gm49-mobile .gm497-advanced-filters>summary::-webkit-details-marker { display:none; }
  html.gm49-mobile .gm497-advanced-filters>summary i:first-child { font-size:16px; }
  html.gm49-mobile .gm497-advanced-filters .gm497-expand-icon { font-size:12px; margin-left:auto; transition:transform .18s ease; }
  html.gm49-mobile .gm497-advanced-filters[open] .gm497-expand-icon { transform:rotate(180deg); }
  html.gm49-mobile .gm497-advanced-filters .gm492-filters { margin-top:12px; }
  html.gm49-mobile .gm497-region-picker a:focus-visible, html.gm49-mobile .gm497-advanced-filters>summary:focus-visible { outline:3px solid #8051ba; outline-offset:2px; }
}
@media screen and (max-width:359px) {
  html.gm49-mobile .gm497-region-picker { padding:14px 9px; }
  html.gm49-mobile .gm497-primary-list, html.gm49-mobile .gm497-secondary-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html.gm49-mobile .gm497-primary-item, html.gm49-mobile .gm497-secondary-item { font-size:13px; }
}
