/* 대구상가맨 통합 스타일시트 — front-page.php 인라인 24블록을 문서 순서대로 병합 (자동 생성) */

/* 매물검색 뒤 프로필 영역 모바일 대응 */
  @media (max-width: 640px) {
    section[style*="알바천국"] > div.wrap > div[style*="profile.png"] {
      grid-template-columns: 1fr !important;
      text-align: center;
    }
    section[style*="알바천국"] > div.wrap > div[style*="profile.png"] > img {
      margin: 0 auto;
    }
  }

  .gnb-list { flex-wrap: wrap !important; gap: 4px 12px !important; }
  #sgm-menu-signup a, #sgm-menu-login a { white-space: nowrap !important; }
  @media (max-width: 1100px) {
    .gnb-list { font-size: 12px !important; }
    .gnb-list li a { padding: 5px 10px !important; }
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { overflow-x: clip; max-width: 100%; }
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f6f8;
    color: #222;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    word-break: keep-all;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  img { display: block; max-width: 100%; }
  ul { list-style: none; }
  input, select, textarea { font-family: inherit; }
  
  /* ⭐ 모바일 전역 보호 - 모든 박스 화면 폭 절대 안 넘게 */
  @media (max-width: 768px) {
    * { max-width: 100% !important; box-sizing: border-box !important; }
    section, div, a { max-width: 100% !important; }
    
    /* 100px 이상 큰 워터마크 이모지 모두 숨김 (우측으로 빠져나가는 요소 차단) */
    div[style*="font-size:300px"],
    div[style*="font-size:280px"],
    div[style*="font-size:200px"],
    div[style*="font-size:180px"],
    div[style*="font-size:160px"],
    div[style*="font-size:140px"],
    div[style*="font-size:120px"] {
      display: none !important;
    }
    
    /* 우측 음수 absolute 요소들 차단 (-30px, -50px, -100px 등) */
    div[style*="right:-30px"],
    div[style*="right:-50px"],
    div[style*="right:-100px"],
    div[style*="right:-60px"],
    div[style*="right:-20px"],
    div[style*="right:-40px"] {
      display: none !important;
    }
    
    /* 카카오맵 배지 모바일 추가 축소 + 우측 안쪽 (잘림 100% 차단) */
    .sgm-kakao-badge {
      top: 12px !important;
      right: 12px !important;
      transform: scale(0.82) !important;
      transform-origin: top right !important;
    }
    .sgm-kakao-badge svg { display: block !important; }
    
    /* 백서 통계 3박스 (15년/642건/6단계) 모바일 폰트 더 축소 */
    .sgm-book-grid [style*="grid-template-columns:repeat(3"] > div {
      padding: 6px 3px !important;
    }
    .sgm-book-grid [style*="grid-template-columns:repeat(3"] > div > div:first-child {
      font-size: 13px !important;
    }
    .sgm-book-grid [style*="grid-template-columns:repeat(3"] > div > div:last-child {
      font-size: 8.5px !important;
    }
    
    /* 55,000원 박스 word-break 강제 */
    .sgm-book-grid div[style*="rgba(251,191,36,0.18)"] > div:last-child > div:first-child {
      word-break: keep-all !important;
      font-size: 12px !important;
      line-height: 1.35 !important;
    }
  }
  
  /* 모바일 - AI 채팅 버튼 숨김 (카카오톡만 유지) */
  @media (max-width: 768px) {
    #sgm-ai-chat {
      display: block !important;
    }
  }
  @media (max-width: 480px) {
    /* AI 채팅 버튼 숨김 (모바일은 카카오톡만) */
    #sgm-ai-chat {
      display: block !important;
    }
    /* 카카오톡 버튼만 유지 - 우하단 기본 위치 */
    #sgm-kakao-fab {
      width: 52px !important;
      height: 52px !important;
      padding: 0 !important;
      gap: 0 !important;
      justify-content: center !important;
      align-items: center !important;
      transform: none !important;
      box-sizing: border-box !important;
      box-shadow: 0 6px 18px rgba(254,229,0,0.5), 0 2px 6px rgba(0,0,0,0.12) !important;
      bottom: 24px !important;
      right: 18px !important;
    }
  }

  :root {
    /* 브랜드: 네이비 + 골드 유지 */
    --primary: #1f3a68;
    --primary-dark: #142849;
    --gold: #d4a04e;
    /* 알바천국 스타일 빨강 강조 */
    --red: #ff3d00;
    --red-dark: #d62f00;
    --red-soft: #fff0eb;
    /* 보조 */
    --green: #10b981;
    --blue: #1565c0;
    --purple: #7c3aed;
    /* 그레이 스케일 */
    --bg: #f5f6f8;
    --paper: #fff;
    --line: #e5e7eb;
    --line-soft: #f0f1f4;
    --ink: #1a1a1a;
    --ink-2: #333;
    --ink-3: #555;
    --mute: #7a7a7a;
    --mute-2: #aaa;
  }

  /* View Switcher */
  .view { display: none; }
  .view.active { display: block; }

  /* Number rendering - tabular for prices/stats */
  .price-value,
  .stat-num,
  .listing-meta b,
  .l-badge,
  .filter-item .count,
  .head-search input,
  .gnb-list li a,
  .logo-main {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
  }

  /* Heading defaults - tighter tracking for Korean */
  h1, h2, h3, h4, .banner-title, .sec-title {
    letter-spacing: -0.035em;
    word-break: keep-all;
  }

  
  
  
  

  
  /* ===== 히어로 둥둥 떠다니는 프로필 ===== */
  .hero-profile-float {
    position: absolute;
    /* 검색바(max-width:880px) 가운데 정렬 → 매물 검색 빨간 버튼은 우측 끝 */
    /* 사진을 매물 검색 버튼 영역과 같은 가로 위치에 배치 */
    right: max(3%, calc(50% - 410px));
    top: 50%;
    height: 400px;
    width: auto;
    z-index: 1;  /* 검색바(.wrap z-index:2)보다 낮음 = 매물 검색 버튼이 사진 앞에 표시 */
    pointer-events: none;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,0.45));
    transform: translateY(-50%);
    animation: hero-float-vert 4.5s ease-in-out infinite;
  }
  @keyframes hero-float-vert {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 20px)); }
  }
  /* 1280px 이하 - 사진을 검색바 우측 끝 부근으로 */
  @media (max-width: 1280px) {
    .hero-profile-float {
      right: 3%;
      height: 340px;
    }
  }
  @media (max-width: 1100px) {
    .hero-profile-float {
      height: 280px;
    }
  }
  @media (max-width: 900px) {
    .hero-profile-float {
      height: 220px;
      opacity: 0.85;
    }
  }
  /* 모바일에서는 검색 박스 가리지 않게 숨김 */
  @media (max-width: 700px) {
    .hero-profile-float {
      display: none;
    }
  }

  /* ===== 메이저 프랜차이즈 카드 (Clean) ===== */
  .major-card-clean {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
  }
  .major-brand-bar {
    height: 4px;
    background: var(--brand-color);
    transition: height 0.35s;
  }
  .major-card-body {
    padding: 22px 20px 18px;
  }
  .major-card-top {
    margin-bottom: 18px;
  }
  .major-card-name {
    font-size: 21px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 5px;
    line-height: 1.2;
  }
  .major-card-cat {
    font-size: 11px;
    color: var(--brand-color);
    font-weight: 900;
    letter-spacing: 0.1em;
    opacity: 0.85;
    transition: opacity 0.35s;
  }
  .major-card-clean:hover .major-card-cat {
    opacity: 1;
  }
  .major-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
  }
  .major-card-count {
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 100px;
  }
  .major-card-arrow {
    font-size: 18px;
    font-weight: 900;
    color: var(--brand-color);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .major-card-clean:hover {
    transform: translateY(-6px);
    border-color: var(--brand-color);
    box-shadow:
      0 16px 40px rgba(15, 23, 42, 0.1),
      0 6px 16px rgba(15, 23, 42, 0.06);
  }
  .major-card-clean:hover .major-brand-bar {
    height: 6px;
  }
  .major-card-clean:hover .major-card-arrow {
    transform: translateX(6px);
  }
  .major-card-clean:hover .major-card-name {
    color: var(--brand-color);
  }
  .major-card-clean:hover .major-card-count {
    background: var(--brand-color);
    color: #fff;
  }

  /* 모바일 반응형 */
  @media (max-width: 767px) {
    .major-grid-clean { grid-template-columns: repeat(2, 1fr) !important; }
    .major-card-name { font-size: 16px !important; }
  }
  @media (max-width: 480px) {
    .major-grid-clean { grid-template-columns: 1fr !important; }
  }

  
  
  /* ===== 창업 아카데미 강의 카드 ===== */
  .academy-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 22px 18px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
  }
  .academy-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #3b82f6, #1e40af);
  }
  .academy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1), 0 5px 12px rgba(15, 23, 42, 0.06);
    border-color: #3b82f6;
  }
  .academy-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }
  .academy-badge {
    font-size: 10px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.02em;
  }
  .academy-chapter {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 700;
  }
  .academy-title {
    font-size: 17px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    line-height: 1.3;
  }
  .academy-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 14px;
  }
  .academy-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #475569;
    font-weight: 700;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
  }
  .academy-progress {
    margin-bottom: 14px;
  }
  .academy-progress-bar {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
  }
  .academy-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    border-radius: 3px;
    transition: width 0.5s;
  }
  .academy-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
  }
  .academy-progress-text strong {
    color: #3b82f6;
    font-size: 13px;
  }
  .academy-price {
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }
  .academy-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #fff;
    border: none;
    padding: 11px;
    font-size: 13px;
    font-weight: 900;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.01em;
  }
  .academy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  }

  @media (max-width: 767px) {
    .view#view-academy section[style*="grid-template-columns:repeat(2"] > div { grid-template-columns: 1fr !important; }
  }

  /* ===== 공지·News·칼럼 정보 카드 ===== */
  .info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--accent);
    border-radius: 12px;
    padding: 22px 20px 18px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
  }
  .info-card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 18px 40px rgba(15, 23, 42, 0.1),
      0 6px 16px rgba(15, 23, 42, 0.06);
    border-top-width: 6px;
  }
  .info-card-premium {
    background: linear-gradient(180deg, #fffdf7 0%, #fff 100%);
  }
  .info-card-premium::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(212,160,78,0.1) 0%, transparent 70%);
    pointer-events: none;
  }
  .info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    z-index: 2;
  }
  .info-card-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
  }
  .info-card-title {
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 2px;
  }
  .info-card-desc {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    font-weight: 600;
  }
  .info-card-badge {
    margin-left: auto;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: 0.05em;
  }
  .info-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    position: relative;
    z-index: 2;
  }
  .info-card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 12px;
  }
  .info-card-list li:last-child {
    border-bottom: none;
  }
  .info-card-tag {
    font-size: 9px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  .info-card-link {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
  }
  .info-card-link:hover {
    color: var(--accent);
  }
  .info-card-date {
    color: #cbd5e1;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .info-card-more {
    display: inline-block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: gap 0.2s;
    position: relative;
    z-index: 2;
  }
  .info-card-more:hover {
    letter-spacing: 0.04em;
  }

  @media (max-width: 900px) {
    .info-card-list li { font-size: 11px; }
  }
  @media (max-width: 767px) {
    .wrap > section[style*="grid-template-columns:1fr 1fr 1fr"] > div { grid-template-columns: 1fr !important; }
  }

  /* 실시간 LIVE 펄스 애니메이션 */
  @keyframes sgm-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.6); }
  }

  /* 실시간 매물 카드 호버 */
  .realtime-card {
    transition: all 0.3s ease;
  }
  .realtime-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  }

  
  @media (max-width: 1100px) {
    .gnb-list li a { font-size: 12px !important; padding: 0 8px !important; }
    .gnb-right { display: none !important; }
  }
  @media (max-width: 768px) {
    .gnb-list li a { font-size: 11px !important; padding: 0 6px !important; }
  }

  
  /* ===== 회원 전용·승인 대기 시스템 (옵션 B - 부분 게이트) ===== */
  .sgm-locked {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e !important;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1px dashed #d97706;
    user-select: none;
  }
  .sgm-locked::before {
    content: '🔒 ';
  }
  .sgm-locked:hover {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
  }
  .sgm-blur {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    transition: filter 0.3s;
  }
  .sgm-blur-wrap {
    position: relative;
    display: inline-block;
  }
  .sgm-blur-wrap::after {
    content: '🔒 회원 전용';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    pointer-events: none;
  }
  .sgm-pending-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    border: 1px solid #fcd34d;
  }
  /* 회원이 승인된 상태일 때 잠금 해제 (JS가 body에 .sgm-approved 추가) */
  body.sgm-approved .sgm-locked,
  body.sgm-approved .sgm-blur,
  body.sgm-approved .sgm-blur-wrap::after {
    all: revert;
  }
  body.sgm-approved .sgm-blur {
    filter: none !important;
    user-select: auto;
    pointer-events: auto;
  }
  body.sgm-approved .sgm-blur-wrap::after {
    display: none !important;
  }

  
  /* ===== 모바일 반응형 그리드 자동 처리 ===== */
  @media (max-width: 1100px) {
    [style*="grid-template-columns:repeat(5"],
    [style*="grid-template-columns: repeat(5"] {
      grid-template-columns: repeat(3, 1fr) !important;
    }
    [style*="grid-template-columns:repeat(6"],
    [style*="grid-template-columns: repeat(6"] {
      grid-template-columns: repeat(4, 1fr) !important;
    }
  }
  @media (max-width: 900px) {
    [style*="grid-template-columns:repeat(5"],
    [style*="grid-template-columns: repeat(5"],
    [style*="grid-template-columns:repeat(4"],
    [style*="grid-template-columns: repeat(4"] {
      grid-template-columns: repeat(2, 1fr) !important;
    }
    [style*="grid-template-columns:repeat(6"],
    [style*="grid-template-columns: repeat(6"] {
      grid-template-columns: repeat(3, 1fr) !important;
    }
    [style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(3"] {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }
  @media (max-width: 640px) {
    [style*="grid-template-columns:repeat(5"],
    [style*="grid-template-columns: repeat(5"],
    [style*="grid-template-columns:repeat(4"],
    [style*="grid-template-columns: repeat(4"],
    [style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(3"] {
      grid-template-columns: repeat(2, 1fr) !important;
    }
    [style*="grid-template-columns:repeat(6"],
    [style*="grid-template-columns: repeat(6"] {
      grid-template-columns: repeat(2, 1fr) !important;
    }
    [style*="grid-template-columns:repeat(2"],
    [style*="grid-template-columns: repeat(2"] {
      grid-template-columns: 1fr !important;
    }
  }
  @media (max-width: 480px) {
    [style*="grid-template-columns:repeat(5"],
    [style*="grid-template-columns: repeat(5"],
    [style*="grid-template-columns:repeat(4"],
    [style*="grid-template-columns: repeat(4"],
    [style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns:repeat(6"],
    [style*="grid-template-columns: repeat(6"] {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 8px !important;
    }
  }
  
  /* 빠른 진입 카드 - 모바일에서 padding·폰트 축소 */
  @media (max-width: 640px) {
    .wrap { padding: 0 16px !important; }
    h1 { font-size: clamp(20px, 5vw, 32px) !important; }
    h2 { font-size: clamp(18px, 4.5vw, 24px) !important; }
    h3 { font-size: clamp(15px, 4vw, 20px) !important; }
  }
  
  /* 히어로 영역 모바일 처리 */
  @media (max-width: 640px) {
    .hero-profile-float { display: none !important; }
  }
  
  /* 가로 스크롤 방지 */
  body { overflow-x: hidden; }
  * { box-sizing: border-box; }

  
  /* 텍스트 복사 차단 (input·textarea·매물 상세는 허용) */
  body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  input, textarea, select, [contenteditable="true"],
  .sgm-allow-select, .sgm-allow-select * {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
  }
  /* 이미지 드래그 차단 */
  img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
  }

  
  /* ===== 대구상가맨 추천 매물 카드 (고급 디자인) ===== */
  .sgm-property-card {
    background: #fff;
    border: 1px solid #e7eaee;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(15, 30, 53, 0.04);
    position: relative;
    will-change: transform;
  }
  .sgm-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 30, 53, 0.16), 0 0 0 2px #d4a04e;
    border-color: #d4a04e;
  }
  .sgm-property-card:hover .sgm-card-img { transform: scale(1.08); }
  .sgm-property-card:hover .sgm-card-cta { transform: translateX(6px); }
  .sgm-property-card:hover .sgm-card-badge {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(212, 160, 78, 0.5);
  }
  
  .sgm-card-image-wrap {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1f3a68, #0f1e35);
  }
  .sgm-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sgm-card-img-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f3a68 0%, #2a4a7a 50%, #0f1e35 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 8px;
    position: relative;
    overflow: hidden;
  }
  .sgm-card-img-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(212, 160, 78, 0.2), transparent 60%);
  }
  .sgm-card-img-fallback-icon {
    font-size: 44px;
    opacity: 0.7;
    filter: drop-shadow(0 4px 12px rgba(212, 160, 78, 0.4));
    z-index: 1;
  }
  .sgm-card-img-fallback-text {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #f4b942;
    z-index: 1;
  }
  
  .sgm-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 30, 53, 0.85) 100%);
    pointer-events: none;
  }
  
  .sgm-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #f4b942, #d4a04e);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 7px 13px 6px;
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(212, 160, 78, 0.4);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1;
    white-space: nowrap;
    height: 24px;
    box-sizing: border-box;
  }
  .sgm-card-badge-icon {
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transform: translateY(-0.5px);
  }
  .sgm-card-badge-text {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.01em;
  }
  /* 위치·업종 태그도 동일하게 정렬 */
  .sgm-card-tag {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1f3a68;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    height: 22px;
    box-sizing: border-box;
    white-space: nowrap;
  }
  
  .sgm-card-tags {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    z-index: 3;
    flex-wrap: wrap;
  }

  
  .sgm-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  
  .sgm-card-title {
    font-size: 15px;
    font-weight: 900;
    color: #0f1e35;
    margin-bottom: 8px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
  }
  
  .sgm-card-excerpt {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
    flex: 1;
  }
  
  .sgm-card-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 12px;
    background: linear-gradient(135deg, #fafbfc, #f3f4f6);
    border: 1px solid #eef0f3;
    border-radius: 12px;
    margin-bottom: 12px;
    position: relative;
  }
  .sgm-card-metrics::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 50%;
    width: 1px;
    background: #e5e7eb;
  }
  .sgm-card-metric {
    text-align: center;
    padding: 0 6px;
  }
  .sgm-card-metric-label {
    font-size: 9px;
    color: #6b7280;
    font-weight: 800;
    display: block;
    margin-bottom: 3px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .sgm-card-metric-value {
    font-size: 14px;
    font-weight: 900;
    color: #0f1e35;
    letter-spacing: -0.02em;
  }
  .sgm-card-metric--accent .sgm-card-metric-value {
    color: #d4a04e;
    background: linear-gradient(135deg, #d4a04e, #f4b942);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .sgm-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    font-size: 11px;
  }
  .sgm-card-date {
    color: #9ca3af;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .sgm-card-cta {
    color: #1f3a68;
    font-weight: 900;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: -0.02em;
  }
  
  /* 그리드 갭 강화 */
  #sgm-featured-grid { gap: 22px !important; }
  
  /* 모바일 */
  @media (max-width: 900px) {
    #sgm-featured-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  }
  @media (max-width: 640px) {
    #sgm-featured-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
    .sgm-card-title { font-size: 14px; min-height: auto; }
    .sgm-card-metric-value { font-size: 13px; }
  }



  /* 매물 카드 버튼 (즐겨찾기·비교) */
  .sgm-card-fav-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 4;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
    line-height: 1;
  }
  .sgm-card-fav-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.3);
  }
  
  .sgm-card-compare-label {
    position: absolute;
    bottom: 14px;
    right: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 4;
    font-size: 11px;
    font-weight: 800;
    color: #1f3a68;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    height: 38px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    user-select: none;
  }
  .sgm-card-compare-label:hover {
    background: #1f3a68;
    color: #fff;
  }
  .sgm-card-compare-cb {
    margin: 0;
    cursor: pointer;
    accent-color: #1f3a68;
  }
  
  /* 모바일 */
  @media (max-width: 640px) {
    .sgm-card-compare-label { display: none; }  /* 모바일에서는 즐겨찾기만 */
  }

    .sgm-card-grade-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 7px 11px 6px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 24px;
    box-sizing: border-box;
    white-space: nowrap;
  }
  .sgm-card-optype-badge {
    position: absolute;
    top: 44px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1f3a68;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 22px;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .sgm-card-metrics-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    background: linear-gradient(135deg, #fafbfc, #f3f4f6);
    border: 1px solid #eef0f3;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
  }
  .sgm-card-metrics-4 .sgm-card-metric {
    text-align: center;
    padding: 10px 6px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
  }
  .sgm-card-metrics-4 .sgm-card-metric:nth-child(2n) { border-right: none; }
  .sgm-card-metrics-4 .sgm-card-metric:nth-child(n+3) { border-bottom: none; }
  .sgm-card-metric--margin .sgm-card-metric-value {
    color: #e11d48;
    background: linear-gradient(135deg, #e11d48, #be123c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

    /* ===== 3D 매끄러운 카드 효과 ===== */
  .region-card-3d {
    display: block;
    border-radius: 16px;
    padding: 30px 12px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow:
      0 14px 32px rgba(0,0,0,0.18),
      0 6px 12px rgba(0,0,0,0.12),
      inset 0 1px 0 rgba(255,255,255,0.25),
      inset 0 -2px 8px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
  }
  .region-card-3d::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 80%);
    pointer-events: none;
    border-radius: 16px 16px 0 0;
  }
  .region-card-3d::after {
    content: '';
    position: absolute;
    bottom: -50%; right: -30%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
  }
  .region-card-3d > * { position: relative; z-index: 2; }
  .region-card-3d:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow:
      0 24px 56px rgba(0,0,0,0.28),
      0 12px 24px rgba(0,0,0,0.18),
      inset 0 1px 0 rgba(255,255,255,0.35),
      inset 0 -2px 8px rgba(0,0,0,0.2);
  }

  /* 업종 카드 3D - 부드러운 화이트 */
  .category-card-3d {
    display: block;
    background: linear-gradient(145deg, #ffffff 0%, #f5f7fb 100%);
    border-radius: 16px;
    padding: 22px 8px;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow:
      0 8px 22px rgba(15, 23, 42, 0.06),
      0 3px 8px rgba(15, 23, 42, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
  }
  .category-card-3d::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent, #ff3d00), transparent);
    border-radius: 0 0 6px 6px;
    opacity: 0;
    transition: opacity 0.4s, width 0.4s;
  }
  .category-card-3d:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow:
      0 18px 44px rgba(15, 23, 42, 0.14),
      0 8px 16px rgba(15, 23, 42, 0.1);
    background: linear-gradient(145deg, #ffffff, #ffffff);
  }
  .category-card-3d:hover::before {
    opacity: 1;
    width: 80%;
  }
  .category-card-3d .cat-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
  }
  .category-card-3d:hover .cat-icon {
    transform: scale(1.18) rotate(-5deg);
  }


  /* Proto Tabs */


  .wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
  }
  @media (min-width: 768px) { .wrap { padding: 0 20px; } }

  /* ===== Utility Bar ===== */
  .util-bar {
    background: #2a2a2a;
    color: #ccc;
    font-size: 11px;
    height: 30px;
  }
  .util-bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
  }
  .util-bar a { color: #ccc; padding: 0 8px; }
  .util-bar a:hover { color: #fff; }
  .util-left, .util-right { display: flex; align-items: center; }
  .util-left a { border-right: 1px solid #444; }
  .util-left a:last-child { border-right: none; }
  .util-right a { border-right: 1px solid #444; }
  .util-right a:last-child { border-right: none; padding-right: 0; }
  .util-bar .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--red);
    font-weight: 700;
  }
  .live-dot {
    width: 6px; height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.4s infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
  @media (max-width: 767px) { .util-left { display: none; } }

  /* ===== Main Header ===== */
  .main-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }
  .header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .logo-mark {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(31,58,104,0.3);
  }
  .logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .logo-main {
    font-size: 19px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.04em;
  }
  .logo-main b { color: var(--primary); }
  .logo-sub {
    font-size: 10px;
    color: var(--red);
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .head-search {
    flex: 1;
    max-width: 580px;
    display: none;
  }
  @media (min-width: 1024px) { .head-search { display: flex; } }
  .head-search-inner {
    width: 100%;
    border: 3px solid var(--primary);
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    background: #fff;
  }
  .head-search input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    color: var(--ink);
  }
  .head-search input::placeholder { color: var(--mute-2); }
  .head-search button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .popular-keywords {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--mute);
    align-items: center;
  }
  .popular-keywords strong { color: var(--red); font-weight: 700; }
  .popular-keywords a { color: var(--ink-3); }
  .popular-keywords a:hover { color: var(--red); }

  .head-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
  }
  .head-icon-btn {
    width: 42px;
    height: 42px;
    background: var(--bg);
    border: none;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--ink-3);
  }
  .head-icon-btn span { font-size: 9px; font-weight: 600; }
  .head-icon-btn .icon { font-size: 18px; }
  .btn-register {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(255,61,0,0.3);
    transition: all 0.15s;
  }
  .btn-register:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(255,61,0,0.4);
  }
  @media (max-width: 767px) { .head-icon-btn { display: none; } }

  /* ===== GNB ===== */
  .gnb {
    background: var(--primary);
    color: #fff;
  }
  .gnb-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .gnb-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gnb-inner::-webkit-scrollbar { display: none; }
  .gnb-list {
    white-space: nowrap;
    flex-wrap: nowrap !important;
    display: none;
    align-items: center;
  }
  @media (min-width: 1024px) { .gnb-list { display: flex; } }
  .gnb-list li a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    position: relative;
    letter-spacing: -0.02em;
  }
  .gnb-list li:first-child a { padding-left: 0; }
  .gnb-list li a:hover { color: var(--gold); }
  .gnb-list li a.active { color: var(--gold); }
  .gnb-list li.hot a::after {
    content: 'HOT';
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 5px;
  }
  .gnb-list li.new a::after {
    content: 'NEW';
    background: var(--gold);
    color: #1a1a1a;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 5px;
  }
  .gnb-right {
    display: none;
    align-items: center;
    gap: 14px;
    font-size: 12px;
  }
  @media (min-width: 1024px) { .gnb-right { display: flex; } }
  .gnb-right a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .gnb-right a:hover { color: #fff; }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    background: none;
    border: none;
  }
  @media (min-width: 1024px) { .hamburger { display: none; } }
  .hamburger span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
  }

  /* Mobile search */
  .mob-search {
    background: var(--paper);
    padding: 12px;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 6px;
  }
  @media (min-width: 1024px) { .mob-search { display: none; } }
  .mob-search input {
    flex: 1;
    border: 2px solid var(--primary);
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    border-radius: 4px;
  }
  .mob-search button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 16px;
    font-weight: 700;
    border-radius: 4px;
    font-size: 13px;
  }

  /* ===== Main Visual ===== */
  .main-visual {
    background: var(--paper);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .visual-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  @media (min-width: 768px) {
    .visual-row { grid-template-columns: 2.4fr 1fr; gap: 14px; }
  }

  .main-banner {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #1f3a68 0%, #2d5095 50%, #d4a04e 100%);
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  }
  .main-banner::before {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(212,160,78,0.4) 0%, transparent 60%);
    pointer-events: none;
  }
  .main-banner::after {
    content: '';
    position: absolute;
    right: 30px; bottom: 20px;
    font-size: 140px;
    opacity: 0.1;
  }
  .banner-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    margin-bottom: 16px;
    width: fit-content;
    letter-spacing: -0.01em;
  }
  .banner-tag::before { content: '🔥 '; }
  .banner-title {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .banner-title .gold { color: var(--gold); }
  .banner-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    line-height: 1.7;
  }
  .banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--primary);
    border: none;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 30px;
    width: fit-content;
  }
  .banner-cta:hover { background: var(--gold); color: #fff; }
  .banner-dots {
    position: absolute;
    bottom: 18px; right: 24px;
    display: flex;
    gap: 6px;
  }
  .banner-dots span {
    width: 7px; height: 7px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
  }
  .banner-dots span.active { background: #fff; width: 22px; border-radius: 4px; }

  .side-banner {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .side-banner-card {
    height: 134px;
    border-radius: 10px;
    padding: 18px 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
  }
  .side-banner-card.book {
    background: linear-gradient(135deg, #6b4423 0%, #8b5a2b 100%);
  }
  .side-banner-card.book::after {
    content: '📖';
    position: absolute;
    right: -10px; bottom: -10px;
    font-size: 100px;
    opacity: 0.2;
  }
  .side-banner-card.consult {
    background: linear-gradient(135deg, var(--red) 0%, #c8501a 100%);
  }
  .side-banner-card.consult::after {
    content: '💼';
    position: absolute;
    right: -10px; bottom: -10px;
    font-size: 100px;
    opacity: 0.2;
  }
  .side-banner-tag {
    font-size: 10px;
    font-weight: 800;
    background: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 12px;
    width: fit-content;
    letter-spacing: 0.02em;
  }
  .side-banner-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.03em;
  }
  .side-banner-title small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    margin-top: 4px;
    letter-spacing: -0.01em;
  }

  /* ===== Quick Categories ===== */
  .qcat-section {
    background: var(--paper);
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
  }
  .qcat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  @media (min-width: 640px) { .qcat-grid { grid-template-columns: repeat(6, 1fr); } }
  @media (min-width: 1024px) { .qcat-grid { grid-template-columns: repeat(11, 1fr); } }
  .qcat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
  }
  .qcat:hover { background: var(--bg); }
  .qcat:hover .qcat-icon { transform: scale(1.05); }
  .qcat-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-soft) 0%, #ffe0d5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.15s;
  }
  .qcat-icon.navy { background: linear-gradient(135deg, #e8edf5 0%, #d4dded 100%); }
  .qcat-icon.gold { background: linear-gradient(135deg, #fff4d6 0%, #ffe9b3 100%); }
  .qcat-icon.green { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }
  .qcat-icon.purple { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); }
  .qcat-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-2);
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }
  .qcat .new-dot {
    position: absolute;
    top: 6px; right: 50%;
    margin-right: -22px;
    width: 6px; height: 6px;
    background: var(--red);
    border-radius: 50%;
  }

  /* ===== Main Container (3 Col) ===== */
  .main-container {
    padding: 18px 0;
  }
  .main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  @media (min-width: 1024px) {
    .main-grid {
      grid-template-columns: 200px 1fr 280px;
      gap: 18px;
    }
  }

  /* ===== Sidebar Left (Filters) ===== */
  .sidebar-left { display: none; }
  @media (min-width: 1024px) { .sidebar-left { display: block; } }

  .filter-box {
    background: var(--paper);
    border-radius: 8px;
    border: 1px solid var(--line);
    margin-bottom: 12px;
    overflow: hidden;
  }
  .filter-head {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    background: #fafbfc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -0.02em;
  }
  .filter-head .reset {
    font-size: 10px;
    color: var(--mute);
    font-weight: 500;
    cursor: pointer;
  }
  .filter-list {
    padding: 8px 0;
  }
  .filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 14px;
    font-size: 12px;
    color: var(--ink-2);
    cursor: pointer;
    transition: all 0.1s;
  }
  .filter-item:hover { background: var(--red-soft); color: var(--red); font-weight: 700; }
  .filter-item.active { background: var(--red-soft); color: var(--red); font-weight: 700; }
  .filter-item .count {
    font-size: 10px;
    color: var(--mute);
    font-weight: 600;
  }
  .filter-item.active .count { color: var(--red); }
  .filter-item .all { font-weight: 700; }

  .filter-checkbox-list { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
  .filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-2);
    cursor: pointer;
  }
  .filter-check input { accent-color: var(--red); }

  /* ===== Center Content ===== */
  .center-content { min-width: 0; }

  .section-block {
    background: var(--paper);
    border-radius: 8px;
    border: 1px solid var(--line);
    margin-bottom: 14px;
    overflow: hidden;
  }
  .sec-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .sec-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sec-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sec-title-icon { font-size: 17px; }
  .sec-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    color: #fff;
    letter-spacing: 0.02em;
  }
  .sec-tag.hot { background: var(--red); }
  .sec-tag.new { background: var(--gold); color: #1a1a1a; }
  .sec-tag.verify { background: var(--gold); color: #fff; }
  .sec-tag.building { background: var(--purple); }
  .sec-sub {
    font-size: 11px;
    color: var(--mute);
    margin-top: 2px;
    font-weight: 500;
  }
  .sec-more {
    font-size: 12px;
    color: var(--mute);
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 600;
    white-space: nowrap;
  }
  .sec-more:hover { color: var(--red); }

  .sec-tabs {
    display: flex;
    gap: 0;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: #fafbfc;
    overflow-x: auto;
  }
  .sec-tabs::-webkit-scrollbar { display: none; }
  .sec-tab {
    padding: 10px 14px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--mute);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    letter-spacing: -0.02em;
  }
  .sec-tab.active {
    color: var(--red);
    border-bottom-color: var(--red);
    font-weight: 800;
  }
  .sec-tab:hover { color: var(--red); }

  /* ===== Listing — Alba style horizontal cards ===== */
  .listing {
    display: flex;
    flex-direction: column;
  }
  .listing-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
  }
  @media (min-width: 768px) {
    .listing-item { grid-template-columns: 130px 1fr auto; gap: 18px; }
  }
  .listing-item:hover { background: #fff7f3; }
  .listing-item:last-child { border-bottom: none; }
  .listing-item.featured { background: linear-gradient(90deg, #fffbf2 0%, #fff 60%); }
  .listing-item.featured:hover { background: linear-gradient(90deg, #fff5e0 0%, #fff7f3 60%); }

  .listing-thumb {
    aspect-ratio: 4/3;
    background: var(--bg);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
  }
  .listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .thumb-grade {
    position: absolute;
    top: 4px; left: 4px;
    display: inline-flex;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 3px;
    letter-spacing: -0.01em;
  }
  .grade-splus { background: var(--red); color: #fff; }
  .grade-s { background: var(--primary); color: #fff; }
  .grade-a { background: var(--green); color: #fff; }
  .thumb-status {
    position: absolute;
    top: 4px; left: 4px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 3px;
    font-weight: 700;
  }
  .thumb-status.building { background: var(--purple); }
  .thumb-verified {
    position: absolute;
    bottom: 4px; right: 4px;
    background: var(--gold);
    color: #fff;
    padding: 2px 5px;
    font-size: 9px;
    font-weight: 800;
    border-radius: 3px;
  }

  .listing-info { min-width: 0; }
  .listing-badges {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
    flex-wrap: wrap;
  }
  .l-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: -0.01em;
  }
  .l-badge.region {
    background: #e8edf5;
    color: var(--primary);
  }
  .l-badge.category {
    background: var(--bg);
    color: var(--ink-3);
    border: 1px solid var(--line);
  }
  .l-badge.hot {
    background: var(--red);
    color: #fff;
  }
  .l-badge.new {
    background: var(--gold);
    color: #fff;
  }
  .l-badge.urgent {
    background: #fee;
    color: var(--red);
    border: 1px solid #fcc;
  }
  .l-badge.urgent::before { content: '🚨 '; }
  .l-badge.geo-open {
    background: linear-gradient(135deg, #03C75A 0%, #02b04f 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(3,199,90,0.25);
  }
  .l-badge.geo-open::before { content: '📍 '; }

  .listing-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .listing-title:hover { color: var(--red); }

  .listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 11px;
    color: var(--ink-3);
    margin-bottom: 6px;
  }
  .listing-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
  }
  .listing-meta span b {
    color: var(--ink);
    font-weight: 700;
  }
  .listing-meta span.loc::before { content: '📍'; font-size: 10px; }
  .listing-meta a.loc {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
    cursor: pointer;
    transition: color 0.15s;
  }
  .listing-meta a.loc::before { content: '📍'; font-size: 10px; margin-right: 2px; }
  .listing-meta a.loc:hover { color: var(--red); border-bottom-color: var(--red); }
  .listing-meta span.size::before { content: '📐'; font-size: 10px; }
  .listing-meta span.sales::before { content: '💰'; font-size: 10px; }
  .listing-meta span.rent::before { content: '🏷️'; font-size: 10px; }

  .listing-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
  }
  .listing-tag {
    font-size: 10px;
    color: var(--primary);
    background: #f0f4fa;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
  }

  .listing-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    min-width: 110px;
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
    margin-top: 8px;
  }
  @media (min-width: 768px) {
    .listing-price {
      grid-column: auto;
      padding-top: 0;
      border-top: none;
      margin-top: 0;
    }
  }
  .price-label {
    font-size: 10px;
    color: var(--mute);
    font-weight: 600;
  }
  .price-value {
    font-size: 19px;
    font-weight: 900;
    color: var(--red);
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .price-value .unit {
    font-size: 12px;
    color: var(--ink-3);
    font-weight: 700;
    margin-left: 2px;
  }
  .price-sub {
    font-size: 10px;
    color: var(--mute);
    text-align: right;
  }

  /* ===== Sidebar Right ===== */
  .sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  @media (max-width: 1023px) { .sidebar-right { order: 99; } }

  .sr-box {
    background: var(--paper);
    border-radius: 8px;
    border: 1px solid var(--line);
    overflow: hidden;
  }

  /* 매수 대기열 잠금 박스 */
  .paid-sidebar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    overflow: hidden;
  }
  .paid-sidebar::before {
    content: '💎';
    position: absolute;
    right: -10px; top: -10px;
    font-size: 80px;
    opacity: 0.1;
  }
  .paid-sb-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
  }
  .paid-sb-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  .paid-sb-count {
    background: var(--gold);
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
  }
  .paid-sb-desc {
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  .paid-revenue {
    background: rgba(212,160,78,0.2);
    border: 1px solid rgba(212,160,78,0.5);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 11px;
    color: var(--gold);
    margin-bottom: 12px;
    line-height: 1.5;
  }
  .paid-revenue strong { color: var(--gold); }
  .preview-row {
    background: rgba(255,255,255,0.08);
    padding: 9px 11px;
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 11px;
  }
  .preview-row.locked {
    filter: blur(3px);
    user-select: none;
  }
  .preview-row .pr-region {
    color: var(--gold);
    font-weight: 800;
    font-size: 10px;
    margin-right: 4px;
  }
  .paid-btn {
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 5px;
    margin-top: 8px;
    box-shadow: 0 3px 8px rgba(255,61,0,0.3);
  }
  .paid-btn:hover { background: var(--red-dark); }
  .paid-bundle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-top: 6px;
  }
  .paid-bundle-btn {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 7px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
  }
  .paid-bundle-btn:hover { background: rgba(255,255,255,0.2); }
  .paid-bundle-btn.recommend {
    background: var(--gold);
    color: #1a1a1a;
    border-color: var(--gold);
  }
  .paid-bundle-btn .qty { display: block; font-size: 11px; font-weight: 800; }
  .paid-bundle-btn .save { font-size: 9px; opacity: 0.85; }

  /* 광고 배너 */
  .ad-banner {
    height: 200px;
    background: linear-gradient(135deg, #6b4423 0%, #8b5a2b 100%);
    border-radius: 8px;
    padding: 18px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }
  .ad-banner::after {
    content: '📚';
    position: absolute;
    right: -10px; bottom: -10px;
    font-size: 90px;
    opacity: 0.2;
  }
  .ad-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.05em;
    width: fit-content;
  }
  .ad-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.03em;
  }
  .ad-cta {
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* Notice list */
  .notice-list { padding: 6px 0; }
  .notice-item {
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.1s;
  }
  .notice-item:hover { background: var(--bg); }
  .notice-tag {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 3px;
    flex-shrink: 0;
    letter-spacing: 0.02em;
  }
  .notice-tag.gongji { background: #fee; color: var(--red); }
  .notice-tag.event { background: #fff4d6; color: #b8860b; }
  .notice-tag.news { background: #e8edf5; color: var(--primary); }
  .notice-text {
    color: var(--ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
  }
  .notice-item:hover .notice-text { color: var(--red); }
  .notice-new {
    color: var(--red);
    font-size: 9px;
    font-weight: 800;
  }

  /* Stat box */
  .stat-box {
    padding: 14px;
    text-align: center;
  }
  .stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .stat-cell {
    padding: 10px 6px;
    background: var(--bg);
    border-radius: 6px;
  }
  .stat-num {
    font-size: 20px;
    font-weight: 900;
    color: var(--red);
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .stat-label {
    font-size: 10px;
    color: var(--mute);
    font-weight: 600;
    margin-top: 4px;
  }

  /* ===== Region Map Section ===== */
  .region-section {
    background: var(--paper);
    border-radius: 8px;
    border: 1px solid var(--line);
    padding: 18px;
    margin-bottom: 14px;
  }
  .region-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
  }
  @media (min-width: 640px) { .region-grid { grid-template-columns: repeat(8, 1fr); } }
  .region-btn {
    padding: 14px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    background: #fff;
  }
  .region-btn:hover {
    border-color: var(--red);
    background: var(--red-soft);
  }
  .region-btn:hover .region-count { color: var(--red); }
  .region-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
  }
  .region-count {
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
    margin-top: 2px;
  }

  /* ===== Community Board ===== */
  .board-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
  @media (min-width: 768px) { .board-grid { grid-template-columns: 1fr 1fr; } }
  .board-list {
    padding: 6px 0;
  }
  .board-item {
    padding: 9px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.1s;
  }
  .board-item:hover { background: var(--bg); }
  .board-item:hover .board-text { color: var(--red); }
  .board-cat {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  .board-cat.qna { background: #e7f5ff; color: #1c7ed6; }
  .board-cat.knowhow { background: #f0fdf4; color: var(--green); }
  .board-text {
    color: var(--ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
  }
  .board-meta {
    font-size: 10px;
    color: var(--mute);
    white-space: nowrap;
  }

  /* ===== Disclaimer ===== */
  .disclaimer-strip {
    background: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 11px;
    color: #713f12;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .disclaimer-strip strong { color: #422006; font-weight: 800; }

  /* ===== Footer ===== */
  footer {
    background: #fff;
    color: #475569;
    border-top: 1px solid #e2e8f0;
    padding: 36px 0 20px;
    margin-top: 24px;
    font-size: 12px;
  }
  .foot-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 26px;
    border-bottom: 1px solid #333;
  }
  @media (min-width: 768px) { .foot-top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; } }
  .foot-top h4 {
    font-size: 12px;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
  }
  .foot-top a { color: #aaa; font-size: 11px; }
  .foot-top a:hover { color: #fff; }
  .foot-top ul li { padding: 3px 0; }
  .foot-logo {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
  }
  .foot-tag {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 280px;
  }
  .foot-disclaimer-box {
    background: #f8fafc;
    border-left: 3px solid var(--gold);
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 10px;
    color: #475569;
    line-height: 1.7;
    border-radius: 0 6px 6px 0;
  }
  .foot-disclaimer-box strong {
    font-weight: 700;
    color: #334155;
  }
  .foot-disclaimer-box strong.disc-head {
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
  }
  @keyframes sgm-direct-shimmer {
    to { background-position: 200% center; }
  }
  .sgm-direct-title {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, #0a1f3d 0%, #1f3a68 22%, #4178c4 50%, #1f3a68 78%, #0a1f3d 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: sgm-direct-shimmer 3.5s linear infinite;
    filter: drop-shadow(0 1px 1px rgba(255,255,255,0.5));
  }
  @media (max-width: 768px) {
    .sgm-direct-title { font-size: 17px; letter-spacing: 0.12em; }
  }
  .foot-legal {
    padding-top: 14px;
    font-size: 10px;
    line-height: 1.75;
    color: #64748b;
  }
  .foot-legal strong { color: #aaa; font-weight: 600; }
  .foot-legal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }
  @media (min-width: 768px) { .foot-legal-grid { grid-template-columns: 1fr 1fr; } }
  .foot-copy {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #333;
    color: #64748b;
    font-size: 10px;
  }


  /* ═══════════════════════════════════════════════════════════
     반응형 그리드 - 모바일 자동 대응
     ═══════════════════════════════════════════════════════════ */
  
  /* 검증·검토 서비스 8개 카드 (4→2→1열) */
  @media (max-width: 1024px) {
    .sgm-services-grid {
      grid-template-columns: repeat(3, 1fr) !important;
    }
  }
  @media (max-width: 768px) {
    .sgm-services-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px !important;
    }
  }
  @media (max-width: 480px) {
    .sgm-services-grid {
      grid-template-columns: 1fr !important;
    }
  }
  
  /* 3개 트라이앵글 (3→1열) */
  .sgm-tri-cards {
    display: grid;
    gap: 14px;
  }
  @media (max-width: 768px) {
    .sgm-tri-cards {
      grid-template-columns: 1fr !important;
      gap: 12px !important;
    }
  }
  
  /* 인사이트 3카드 (3→1열) */
  @media (max-width: 768px) {
    .info-cards-grid {
      grid-template-columns: 1fr !important;
      gap: 12px !important;
    }
  }
  /* 점포 직거래 매장 전경 사진 — 휴대폰 가로 비율(16:9), 데스크탑서도 가로 1대 폭 상한 */
  .sgm-ll-photo{ width:100%; max-width:450px; aspect-ratio:1/1; object-fit:cover; display:block; margin-left:auto; margin-right:auto; border-radius:10px; background:#eef2f6; }
  @supports not (aspect-ratio:1){ .sgm-ll-photo{ height:0; padding-bottom:100%; } }

/* ===== block separator ===== */

/* ========== 1. 전역 안전 가드 (모든 디바이스 공통) ========== */
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  html, body { 
    overflow-x: hidden !important; 
    max-width: 100vw;
  }
  
  /* 이미지·미디어 화면 넘침 방지 */
  img, video, iframe, svg:not(.no-responsive) { 
    max-width: 100% !important; 
    height: auto;
  }
  
  /* 테이블 가로 스크롤 방지 */
  table { max-width: 100%; word-break: break-word; }
  
  /* 한국어 줄바꿈 (긴 단어 처리) */
  p, li, dd, dt, h1, h2, h3, h4, h5, h6 { 
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  
  /* ========== 2. iOS 자동 줌인 방지 (가장 중요) ========== */
  /* iOS Safari가 font-size<16px input에 자동 줌 적용 → 16px 강제 */
  @media (max-width: 768px) {
    input[type="text"], 
    input[type="email"], 
    input[type="tel"], 
    input[type="password"], 
    input[type="number"], 
    input[type="search"], 
    input[type="url"], 
    select, 
    textarea { 
      font-size: 16px !important;
    }
  }
  
  /* ========== 3. 헤더 메뉴 가로 스크롤 (모바일·태블릿) ========== */
  @media (max-width: 1024px) {
    .nav-v2 { 
      overflow-x: auto !important; 
      flex-wrap: nowrap !important;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .nav-v2::-webkit-scrollbar { display: none; }
    .nav-v2 a { 
      white-space: nowrap !important;
      flex-shrink: 0 !important;
    }
  }
  
  /* 모바일 헤더 폰트 컴팩트 */
  @media (max-width: 768px) {
    .logo-v2-main { 
      font-size: 14px !important; 
      letter-spacing: -0.04em !important;
      white-space: nowrap;
    }
    .nav-v2 a { 
      font-size: 12px !important; 
      padding: 6px 10px !important;
    }
  }
  
  /* ========== 4. 푸터 5-column 안전 처리 ========== */
  /* 모바일에서 5-column이 너무 좁아지지 않도록 1-column 전환 */
  @media (max-width: 768px) {
    .foot-top { 
      grid-template-columns: 1fr !important; 
      gap: 20px !important;
    }
    .foot-copy { 
      flex-direction: column !important; 
      gap: 12px !important; 
      text-align: center;
      justify-content: center !important;
    }
  }
  /* 태블릿에서는 폰트만 살짝 축소 */
  @media (max-width: 1024px) and (min-width: 769px) {
    .foot-top h4 { font-size: 11px !important; }
    .foot-top a { font-size: 10.5px !important; }
  }
  
  /* ========== 5. AI 챗봇 fab 작은 모바일에서만 아이콘만 ========== */
  /* (이미 sgm-ai-fab 자체 CSS에 처리됨 - 480px 이하에서만 텍스트 숨김) */
  /* 추가 안전: 360px 이하 초소형 모바일 */
  @media (max-width: 360px) {
    .sgm-ai-fab { 
      right: 12px !important; 
      bottom: 12px !important; 
    }
  }
  
  /* ========== 6. 매물 카드 가격 박스(.cprice) 모바일 최적화 ========== */
  /* 480px 이하에서 폰트만 살짝 축소 (그리드 구조는 원본 유지) */
  @media (max-width: 480px) {
    .sgm-listing-v2 .plabel { font-size: 9.5px !important; }
    .sgm-listing-v2 .pval { font-size: 11.5px !important; }
    .sgm-listing-v2 .unit { font-size: 9px !important; }
    .sgm-listing-v2 .pt-stats .lab { font-size: 9.5px !important; }
    .sgm-listing-v2 .pt-stats .val { font-size: 11.5px !important; }
    /* 렌탈프리 뱃지 작은 모바일에서 컴팩트 */
    .sgm-listing-v2 .sec-3 .thumb-rental { 
      padding: 6px 9px !important; 
      font-size: 11px !important; 
    }
    .sgm-listing-v2 .sec-3 .thumb-rental .rf-num { font-size: 14px !important; }
  }
  
  /* ========== 7. 큰 데스크탑 (1920px+) 최대 폭 제한 ========== */
  @media (min-width: 1920px) {
    .wrap { max-width: 1440px; margin: 0 auto; }
  }
  
  /* ========== 8. 탑바 가로 줄바꿈 안전 ========== */
  @media (max-width: 640px) {
    .sgm-topbar { font-size: 10.5px !important; padding: 6px 12px !important; }
  }
  
  /* ========== 9. 🎯 AI 챗봇 fab 모바일 가림 방지 ========== */
  /* 우측 콘텐츠 가림 방지 - 모바일에서 더 작게 + 우측 끝 */
  @media (max-width: 768px) {
    .sgm-ai-fab {
      right: 12px !important;
      bottom: 12px !important;
      transform: scale(0.75) !important;
      transform-origin: bottom right !important;
      z-index: 9999 !important;
    }
    /* fab 옆에 추가 여백 — 콘텐츠가 fab 아래로 안 들어가게 */
    body { padding-bottom: 0 !important; }
  }
  @media (max-width: 480px) {
    .sgm-ai-fab {
      right: 10px !important;
      bottom: 10px !important;
      transform: scale(0.7) !important;
    }
  }
  
  /* ========== 10. 🎯 지역별 양도양수 매장 카드 - 모바일 가로 스크롤 ========== */
  /* 7-column → 모바일에서 가로 스크롤로 (한 글자씩 세로 쪼개짐 방지) */
  @media (max-width: 768px) {
    /* 지역별 카드 영역 - inline 7-column grid 모바일에서 가로 스크롤로 */
    [style*="grid-template-columns:repeat(7"] {
      display: flex !important;
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      gap: 8px !important;
      -webkit-overflow-scrolling: touch !important;
      scrollbar-width: none !important;
      padding-bottom: 8px !important;
    }
    [style*="grid-template-columns:repeat(7"]::-webkit-scrollbar { display: none !important; }
    [style*="grid-template-columns:repeat(7"] > * {
      flex: 0 0 80px !important;
      min-width: 80px !important;
      writing-mode: horizontal-tb !important;
    }
  }
  
  /* ========== 11. 🎯 sec-1 헤더 텍스트 모바일 줄바꿈 안전 ========== */
  @media (max-width: 480px) {
    /* sec-head 영역 - 헤더가 좁아서 한 글자씩 쪼개지는 것 방지 */
    .sgm-listing-v2 .sec-head {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 8px !important;
      padding: 0 4px !important;
    }
    .sgm-listing-v2 .sec-title-area {
      flex-shrink: 1 !important;
      min-width: 0 !important;
      width: 100% !important;
    }
    .sgm-listing-v2 .sec-title h2 {
      font-size: 15px !important;
      line-height: 1.3 !important;
      flex-wrap: wrap !important;
      gap: 5px !important;
    }
    .sgm-listing-v2 .sec-title h2 span:not(.sec-badge) {
      white-space: normal !important;
      word-break: keep-all !important;
    }
    .sgm-listing-v2 .sec-title p {
      font-size: 11px !important;
      line-height: 1.4 !important;
    }
    .sgm-listing-v2 .sec-action {
      width: 100% !important;
      justify-content: space-between !important;
      flex-shrink: 0 !important;
    }
    .sgm-listing-v2 .sec-action .sec-count {
      font-size: 11px !important;
    }
    .sgm-listing-v2 .sec-action .sec-all {
      font-size: 11px !important;
      padding: 4px 10px !important;
    }
  }
  
  /* ========== 12. 🎯 모바일 매물 카드 강제 적용 (720px 이하 - 미리보기·실기기 둘 다 대응) ========== */
  /* CSS specificity 최강화 - inline style·캐시 모두 우회 */
  @media (max-width: 720px) {
    /* sec-1 추천 양도양수: 실시간 직거래(sec-2) 가로형 리스트 스타일로 통일 */
    html body .sgm-listing-v2 .sec-1 .grid {
      grid-template-columns: 1fr !important;
      gap: 8px !important;
    }
    /* 카드를 가로형으로 (좌측 썸네일 + 우측 본문) */
    html body .sgm-listing-v2 .sec-1 .grid > a {
      display: grid !important;
      grid-template-columns: 108px 1fr !important;
      gap: 11px !important;
      padding: 8px !important;
      align-items: stretch !important;
    }
    /* pt-top을 좌측 정사각 썸네일로 */
    html body .sgm-listing-v2 .sec-1 .grid .pt-top {
      width: 108px !important;
      height: 108px !important;
      min-height: 108px !important;
      border-radius: 8px !important;
      padding: 8px !important;
      justify-content: space-between !important;
    }
    /* 좁은 썸네일에서 배지 숨김 (이모지·위치만) */
    html body .sgm-listing-v2 .sec-1 .grid .pt-recommend,
    html body .sgm-listing-v2 .sec-1 .grid .pt-op {
      display: none !important;
    }
    html body .sgm-listing-v2 .sec-1 .grid .pt-tier {
      top: 6px !important;
      right: 6px !important;
      font-size: 8.5px !important;
      padding: 3px 7px !important;
    }
    html body .sgm-listing-v2 .sec-1 .grid .pt-emoji {
      font-size: 38px !important;
      margin: 0 !important;
    }
    html body .sgm-listing-v2 .sec-1 .grid .pt-location {
      font-size: 8.5px !important;
      padding: 2px 6px 2px 5px !important;
    }
    /* pt-bot 본문 컴팩트 (우측) */
    html body .sgm-listing-v2 .sec-1 .grid .pt-bot {
      padding: 2px 4px 2px 0 !important;
      gap: 7px !important;
      justify-content: center !important;
      min-width: 0 !important;
    }
    html body .sgm-listing-v2 .sec-1 .grid .pt-name {
      font-size: 13px !important;
      text-align: left !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
    }
    /* 통계 2x2 컴팩트 */
    html body .sgm-listing-v2 .sec-1 .grid .pt-stats > div {
      padding: 5px 6px !important;
      gap: 2px !important;
    }
    html body .sgm-listing-v2 .sec-1 .grid .pt-stats .lab {
      font-size: 8.5px !important;
    }
    html body .sgm-listing-v2 .sec-1 .grid .pt-stats .val {
      font-size: 11px !important;
    }
    /* sec-2, sec-3 가로형 리스트: 1-column 그리드 */
    html body .sgm-listing-v2 .sec-2 .grid,
    html body .sgm-listing-v2 .sec-3 .grid {
      grid-template-columns: 1fr !important;
      gap: 8px !important;
    }
    /* 모든 카드(a 태그)를 가로형으로 강제 */
    html body .sgm-listing-v2 .sec-2 .grid > a,
    html body .sgm-listing-v2 .sec-3 .grid > a {
      display: grid !important;
      grid-template-columns: 100px 1fr !important;
      gap: 10px !important;
      padding: 8px !important;
      align-items: stretch !important;
      text-decoration: none !important;
    }
    /* 썸네일 정사각형 강제 */
    html body .sgm-listing-v2 .sec-2 .grid .thumb,
    html body .sgm-listing-v2 .sec-3 .grid .thumb {
      width: 100px !important;
      height: 100px !important;
      min-width: 100px !important;
      max-width: 100px !important;
      border-radius: 8px !important;
    }
    /* 본문 영역 컴팩트 */
    html body .sgm-listing-v2 .sec-2 .grid .cbody,
    html body .sgm-listing-v2 .sec-3 .grid .cbody {
      padding: 0 !important;
      min-width: 0 !important;
      overflow: hidden !important;
    }
    /* 메타 정보 숨김 (좁아서) */
    html body .sgm-listing-v2 .sec-2 .grid .cmeta,
    html body .sgm-listing-v2 .sec-3 .grid .cmeta {
      display: none !important;
    }
    /* 가격 박스 2-column 컴팩트 */
    html body .sgm-listing-v2 .sec-2 .grid .cprice,
    html body .sgm-listing-v2 .sec-3 .grid .cprice {
      grid-template-columns: 1fr 1fr !important;
      gap: 3px !important;
      padding: 5px !important;
    }
    /* sec-2: 가격 박스 중 처음 2개 숨김 */
    html body .sgm-listing-v2 .sec-2 .grid .cprice .pbox:nth-child(1),
    html body .sgm-listing-v2 .sec-2 .grid .cprice .pbox:nth-child(2) {
      display: none !important;
    }
    /* 제목 한 줄 잘림 */
    html body .sgm-listing-v2 .sec-2 .grid .ctitle,
    html body .sgm-listing-v2 .sec-3 .grid .ctitle {
      font-size: 12.5px !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
    }
    
    /* AI fab 모바일 매우 작게 (콘텐츠 가림 방지) */
    .sgm-ai-fab {
      right: 8px !important;
      bottom: 8px !important;
      transform: scale(0.65) !important;
      transform-origin: bottom right !important;
      opacity: 0.85 !important;
    }
  }
  @media (max-width: 480px) {
    .sgm-ai-fab {
      right: 6px !important;
      bottom: 6px !important;
      transform: scale(0.55) !important;
      opacity: 0.8 !important;
    }
  }
  
  /* 지역 카드 가로 스크롤 (다양 패턴 매칭) */
  @media (max-width: 768px) {
    [style*="repeat(7"] {
      display: flex !important;
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      gap: 8px !important;
      -webkit-overflow-scrolling: touch !important;
      scrollbar-width: none !important;
      padding-bottom: 8px !important;
    }
    [style*="repeat(7"]::-webkit-scrollbar { display: none !important; }
    [style*="repeat(7"] > * {
      flex: 0 0 90px !important;
      min-width: 90px !important;
      width: 90px !important;
      writing-mode: horizontal-tb !important;
    }
  }

/* ===== block separator ===== */

/* ===== STEP 4-1a 스타일 (시안 STEP 3 톤) ===== */
  .topbar-v2{background:#142849;color:#cfd6e0;font-size:11.5px;padding:7px 0;letter-spacing:0.02em;}
  .topbar-v2-inner{display:flex;justify-content:space-between;align-items:center;max-width:1280px;margin:0 auto;padding:0 24px;}
  .topbar-v2 a{opacity:0.85;color:#cfd6e0;text-decoration:none;}
  .topbar-v2 a:hover{opacity:1;color:#d4a04e;}
  .topbar-v2-left strong{color:#d4a04e;font-weight:800;}
  .topbar-v2-right{display:flex;gap:18px;}

  .main-header-v2{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:50;}
  .main-header-v2-inner{display:flex;align-items:center;justify-content:space-between;height:70px;max-width:1280px;margin:0 auto;padding:0 24px;gap:24px;}

  .logo-v2{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0;}
  .logo-v2 img{height:38px;width:auto;}
  .logo-v2-text{display:flex;flex-direction:column;}
  .logo-v2-main{font-size:18px;font-weight:900;letter-spacing:-0.035em;color:#0f1922;line-height:1;white-space:nowrap;}
  .logo-v2-sub{font-size:9.5px;color:#b8860b;font-weight:700;letter-spacing:0.06em;margin-top:3px;}

  .nav-v2{display:flex;gap:2px;flex:1;justify-content:center;}
  .nav-v2 a{padding:10px 14px;font-size:14px;font-weight:700;color:#2a3742;border-radius:6px;letter-spacing:-0.02em;text-decoration:none;transition:all 0.15s;position:relative;white-space:nowrap;}
  .nav-v2 a:hover{color:#1f3a68;background:#eef2f8;}
  .nav-v2 a.active{color:#1f3a68;font-weight:800;}
  .nav-v2 a.active::after{content:'';position:absolute;left:14px;right:14px;bottom:-21px;height:2px;background:#d4a04e;}

  .header-cta-v2{display:flex;gap:8px;align-items:center;flex-shrink:0;}
  .btn-outline-v2{padding:9px 14px;font-size:13px;font-weight:700;border:1px solid #e5e7eb;border-radius:6px;color:#2a3742;text-decoration:none;transition:all 0.15s;white-space:nowrap;}
  .btn-outline-v2:hover{border-color:#1f3a68;color:#1f3a68;background:#eef2f8;}
  .btn-gold-v2{padding:9px 18px;font-size:13px;font-weight:900;background:#fde047;color:#1a1a1a;border-radius:6px;letter-spacing:-0.01em;text-decoration:none;transition:all 0.18s;white-space:nowrap;box-shadow:0 0 0 2px rgba(253,224,71,0.35),0 4px 14px rgba(253,224,71,0.5);animation:sgmGoldPulse 2.4s ease-in-out infinite;}
  .btn-gold-v2:hover{background:#facc15;color:#000;transform:translateY(-1px);box-shadow:0 0 0 3px rgba(253,224,71,0.5),0 6px 18px rgba(253,224,71,0.65);}
  @keyframes sgmGoldPulse{0%,100%{box-shadow:0 0 0 2px rgba(253,224,71,0.35),0 4px 14px rgba(253,224,71,0.5);}50%{box-shadow:0 0 0 4px rgba(253,224,71,0.5),0 6px 18px rgba(253,224,71,0.7);}}

  @media (max-width:1024px){
    .nav-v2{display:none;}
    .topbar-v2-left span{font-size:10.5px;}
  }
  @media (max-width:640px){
    .header-cta-v2 .btn-outline-v2{display:none;}
    .topbar-v2-left{display:none;}
    .topbar-v2-right{margin-left:auto;}
    .main-header-v2-inner{padding:0 12px;gap:8px;}
    .logo-v2{min-width:0;}
    .logo-v2-text{min-width:0;overflow:hidden;}
    .logo-v2 img{height:30px;}
    .logo-v2-main{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .header-cta-v2{flex-shrink:0;gap:6px;}
    .btn-gold-v2{padding:8px 12px;font-size:12px;}
  }

/* ===== block separator ===== */

@keyframes sgmNowPulse {
    0% { box-shadow:0 0 0 0 rgba(220,38,38,0.55); }
    70% { box-shadow:0 0 0 10px rgba(220,38,38,0); }
    100% { box-shadow:0 0 0 0 rgba(220,38,38,0); }
  }
  .sgm-now-pulse { animation: sgmNowPulse 1.8s infinite; }

/* ===== block separator ===== */

@keyframes sgm-pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
@keyframes sgmSignupBtnPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(253,224,71,0.6), 0 0 0 2px rgba(253,224,71,0.35); }
  50% { box-shadow: 0 6px 20px rgba(253,224,71,0.85), 0 0 0 5px rgba(253,224,71,0); }
}

/* ===== block separator ===== */

.sgm-hero-v2{background:linear-gradient(135deg,#fffaeb 0%,#fef3c7 28%,#fde68a 56%,#f4c94a 80%,#e8f0a0 100%);background-size:200% 200%;animation:sgmHeroGrad 15s ease-in-out infinite;padding:22px 0 12px;position:relative;overflow:hidden;font-family:'Pretendard Variable',Pretendard,-apple-system,sans-serif;}
    @keyframes sgmHeroGrad{0%,100%{background-position:0% 30%;}50%{background-position:100% 70%;}}
    .sgm-hero-v2::before{content:'';position:absolute;top:-50px;right:-100px;width:440px;height:440px;background:radial-gradient(circle,rgba(255,255,255,0.6) 0%,transparent 68%);border-radius:50%;pointer-events:none;animation:sgmHeroGlow1 13s ease-in-out infinite;}
    .sgm-hero-v2::after{content:'';position:absolute;bottom:-100px;left:-100px;width:340px;height:340px;background:radial-gradient(circle,rgba(212,160,78,0.32) 0%,transparent 70%);border-radius:50%;pointer-events:none;animation:sgmHeroGlow2 17s ease-in-out infinite;}
    @keyframes sgmHeroGlow1{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-46px,34px) scale(1.12);}}
    @keyframes sgmHeroGlow2{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(40px,-30px) scale(1.15);}}
    .sgm-hero-v2 .hero-wrap{max-width:1280px;margin:0 auto;padding:0 24px;position:relative;z-index:2;text-align:center;}
    .sgm-hero-v2 .hero-badge{display:inline-block;background:linear-gradient(135deg,#1f3a68 0%,#0f2547 100%);color:#fde047;font-size:13px;font-weight:900;padding:7px 18px;border-radius:100px;letter-spacing:0.01em;margin-bottom:20px;box-shadow:0 4px 14px rgba(31,58,104,0.35);}
    .sgm-hero-v2 h1{font-size:42px;font-weight:900;color:#1f3a68;letter-spacing:-0.045em;line-height:1.18;margin:0 0 14px;}
    .sgm-hero-v2 h1 .gold{color:#c2410c;}
    .sgm-hero-v2 .hero-sub{font-size:15px;color:#78600f;font-weight:700;margin:0 0 30px;}
    .sgm-hero-v2 .hero-search{max-width:920px;margin:0 auto;background:#fff;border-radius:16px;padding:8px;box-shadow:0 20px 60px rgba(120,80,10,0.28);display:flex;gap:6px;align-items:center;}
    .sgm-hero-v2 .hero-search select{border:none;background:#f1f5f9;padding:16px 14px;font-size:14px;font-weight:700;border-radius:10px;min-width:130px;cursor:pointer;outline:none;color:#0f172a;font-family:inherit;}
    .sgm-hero-v2 .hero-search input{flex:1;border:none;padding:16px;font-size:14px;outline:none;font-weight:500;color:#0f172a;background:transparent;font-family:inherit;}
    .sgm-hero-v2 .hero-search button{background:linear-gradient(135deg,#ff3d00,#d62300);color:#fff;border:none;padding:16px 32px;font-size:15px;font-weight:900;border-radius:10px;cursor:pointer;box-shadow:0 4px 14px rgba(255,61,0,0.4);white-space:nowrap;transition:all 0.2s;font-family:inherit;}
    .sgm-hero-v2 .hero-search button:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(255,61,0,0.5);}
    .sgm-hero-v2 .hero-chips{max-width:920px;margin:18px auto 0;text-align:center;}
    .sgm-hero-v2 .hero-chips .label{font-size:12px;color:#78600f;font-weight:800;margin-right:8px;}
    .sgm-hero-v2 .hero-chips a{display:inline-block;background:rgba(31,58,104,0.1);color:#1f3a68;padding:6px 14px;border-radius:100px;font-size:12px;font-weight:700;text-decoration:none;margin:3px;border:1px solid rgba(31,58,104,0.18);transition:all 0.15s;}
    .sgm-hero-v2 .hero-chips a:hover{background:#1f3a68;border-color:#1f3a68;color:#fde047;}
    /* 미니멀 모던 슬로건 - 깔끔한 등장 애니메이션만 */
    .sgm-slogan-art .sgm-slogan-l1,
    .sgm-slogan-art .sgm-slogan-l2{display:inline-block;opacity:0;animation:sgmSloganRise 0.7s cubic-bezier(0.16,1,0.3,1) forwards;}
    .sgm-slogan-art .sgm-slogan-l1{animation-delay:0.1s;}
    .sgm-slogan-art .sgm-slogan-l2{animation-delay:0.28s;}
    @keyframes sgmSloganRise{0%{opacity:0;transform:translateY(16px);}100%{opacity:1;transform:translateY(0);}}
    @media (max-width:768px){ .sgm-slogan-art > div:last-child{font-size:42px !important;} }
    @media (max-width:480px){ .sgm-slogan-art > div:last-child{font-size:36px !important;} }
    
    /* 오석민 대표 프로필 floating 이미지 (빨간 매물 검색 버튼 뒤편 + 골드 후광) */
    .sgm-hero-v2 .hero-profile-float{position:absolute;top:55px;bottom:auto;left:calc(50% + 280px);height:600px;width:auto;z-index:1;pointer-events:none;animation:sgmHeroProfileFloat 4.5s ease-in-out infinite, sgmHeroProfileGlow 3s ease-in-out infinite;}
    @keyframes sgmHeroProfileFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-16px);}}
    @keyframes sgmHeroProfileGlow{
      0%,100%{filter:drop-shadow(0 0 28px rgba(244,185,66,0.55)) drop-shadow(0 0 60px rgba(244,185,66,0.3)) drop-shadow(0 14px 40px rgba(0,0,0,0.55));}
      50%{filter:drop-shadow(0 0 48px rgba(244,185,66,0.85)) drop-shadow(0 0 100px rgba(244,185,66,0.5)) drop-shadow(0 14px 40px rgba(0,0,0,0.55));}
    }
    @media (max-width:900px){.sgm-hero-v2 .hero-profile-float{display:none;}}
    @media (max-width:768px){
      .sgm-hero-v2 .hero-profile-float{display:none;}
      .sgm-hero-v2{padding:16px 0 10px;}
      .sgm-hero-v2 h1{font-size:26px;letter-spacing:-0.04em;}
      .sgm-hero-v2 .hero-sub{font-size:13px;margin-bottom:22px;}
      .sgm-hero-v2 .hero-badge{font-size:11px;padding:5px 13px;margin-bottom:14px;}
      .sgm-hero-v2 .hero-search{flex-direction:column;padding:10px;gap:8px;border-radius:14px;}
      .sgm-hero-v2 .hero-search select,.sgm-hero-v2 .hero-search input,.sgm-hero-v2 .hero-search button{width:100%;min-width:0;}
      .sgm-hero-v2 .hero-search input{font-size:13.5px;padding:15px 14px;}
      .sgm-hero-v2 .hero-chips{margin-top:14px;}
      .sgm-hero-v2 .hero-chips a{font-size:11px;padding:5px 11px;}
    }

/* ===== block separator ===== */

@keyframes sgmQuickGrad{0%,100%{background-position:50% 0%;}50%{background-position:50% 100%;}}
  .sgm-quick-glow1{animation:sgmQuickGlow1 14s ease-in-out infinite;}
  .sgm-quick-glow2{animation:sgmQuickGlow2 18s ease-in-out infinite;}
  @keyframes sgmQuickGlow1{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(50px,40px) scale(1.15);}}
  @keyframes sgmQuickGlow2{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-44px,-34px) scale(1.18);}}
  .sgm-lux-card { transition:transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s, border-color 0.4s; }
  .sgm-lux-card:hover {
    transform:translateY(-8px);
    border-color:var(--c) !important;
    box-shadow:0 20px 44px rgba(var(--cg), 0.22);
  }
  .sgm-lux-card:hover .sgm-lux-arrow { transform:translateX(3px); }
  .sgm-lux-card:hover .sgm-lux-num { color:rgba(var(--cg), 0.18) !important; }

/* ===== block separator ===== */

/* Quick Entry 4카드 반응형 - PC 4열 / 태블릿 2열 / 모바일 1열 */
  @media (max-width: 1024px) {
    .sgm-quick-entry-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 12px !important;
    }
  }
  @media (max-width: 560px) {
    .sgm-quick-entry-grid {
      grid-template-columns: 1fr !important;
      gap: 11px !important;
    }
  }
  
  /* 비회원 sticky 배너 - 모바일 세로 정렬 + 폰트·여백 보강 */
  @media (max-width: 640px) {
    .sgm-non-member-banner {
      padding: 10px 12px !important;
    }
    .sgm-non-member-banner .sgm-non-member-banner-inner {
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 8px !important;
    }
    .sgm-non-member-banner-inner > div {
      font-size: 11px !important;
      line-height: 1.45 !important;
      text-align: center;
    }
    .sgm-non-member-banner-inner > a {
      width: 100%;
      text-align: center;
      padding: 8px 14px !important;
      font-size: 11.5px !important;
    }
    .sgm-banner-br {
      display: inline !important;
    }
  }
  
  /* ⭐ 본사 전용 배너 모바일 1열 전환 (좌우 → 상하) */
  @media (max-width: 768px) {
    .sgm-franchise-hq-section {
      padding: 32px 18px !important;
    }
    .sgm-franchise-hq-grid {
      grid-template-columns: 1fr !important;
      gap: 22px !important;
    }
    .sgm-franchise-hq-grid h2 {
      font-size: 19px !important;
      line-height: 1.4 !important;
    }
    .sgm-franchise-hq-grid p {
      font-size: 12px !important;
      line-height: 1.65 !important;
    }
    /* 본사 배너 우측 큰 빌딩 이모지 작게 */
    .sgm-franchise-hq-section > div[style*="font-size:180px"] {
      font-size: 100px !important;
      right: -10px !important;
    }
  }
  
  /* ⭐ 인사이트 3카드 모바일 1열 전환 */
  @media (max-width: 768px) {
    .info-cards-grid {
      grid-template-columns: 1fr !important;
      gap: 12px !important;
    }
  }

/* ===== block separator ===== */

/* 건물주 배너 모바일 반응형 */
  @media (max-width: 768px) {
    section[style*="fef9e7"] .wrap a {
      flex-direction: column !important;
      text-align: center;
      gap: 14px !important;
      padding: 22px 18px !important;
    }
    .sgm-jeompo-cta-arrow {
      width: 100%;
      text-align: center;
    }
  }

/* ===== block separator ===== */

@media (max-width:760px){ .sgm-twin-banner{ grid-template-columns:1fr !important; } }

/* ===== block separator ===== */

@keyframes sgmPulseGold {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 12px rgba(251,191,36,0.4)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 8px 22px rgba(251,191,36,0.7)); }
  }
  @keyframes sgmBadgePulse {
    0%, 100% { transform: scale(1); box-shadow:0 3px 8px rgba(0,0,0,0.2), 0 0 0 0 rgba(251,191,36,0.5); }
    50% { transform: scale(1.05); box-shadow:0 4px 12px rgba(0,0,0,0.25), 0 0 0 8px rgba(251,191,36,0); }
  }
  @keyframes sgmShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }
  .sgm-verified-banner:hover { transform: translateY(-4px) !important; box-shadow:0 18px 40px rgba(15,23,42,0.3) !important; }
  .sgm-verified-banner:hover .sgm-cta-btn { background: linear-gradient(135deg, #fbbf24 0%, #d4a04e 100%) !important; color: #0f172a !important; transform: scale(1.05); }
  .sgm-verified-emoji { animation: sgmPulseGold 2.4s ease-in-out infinite; }
  .sgm-verified-badge-top { animation: sgmBadgePulse 2s ease-in-out infinite; }
  @media (max-width:640px){
    .sgm-vb-deco{ display:none !important; }
    .sgm-verified-banner{ padding:26px 22px !important; border-radius:14px !important; }
    .sgm-verified-content{ gap:14px !important; }
    .sgm-verified-emoji{ font-size:46px !important; }
    .sgm-verified-banner h2{ font-size:21px !important; }
    .sgm-verified-banner p{ font-size:13px !important; margin-bottom:14px !important; }
    .sgm-verified-banner .sgm-cta-btn{ font-size:13.5px !important; padding:11px 20px !important; }
    .sgm-verified-badge-top{ font-size:12px !important; padding:6px 11px !important; top:12px !important; right:12px !important; border-width:2px !important; }
  }

/* ===== block separator ===== */

.sgm-listing-v2{font-family:'Pretendard Variable',Pretendard,-apple-system,sans-serif;color:#0f1922;letter-spacing:-0.01em;background:#f6f7f9;padding:40px 0;}
    .sgm-listing-v2 .wrap{max-width:1280px;margin:0 auto;padding:0 24px;}
    .sgm-listing-v2 .sec{margin-bottom:44px;}
    .sgm-listing-v2 .sec:last-child{margin-bottom:0;}
    .sgm-listing-v2 .sec-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #e5e7eb;}
    .sgm-listing-v2 .sec-title-area{display:flex;align-items:center;gap:14px;}
    .sgm-listing-v2 .sec-accent{width:4px;height:32px;border-radius:2px;flex-shrink:0;}
    .sgm-listing-v2 .sec-1 .sec-accent{background:#d4a04e;}
    .sgm-listing-v2 .sec-2 .sec-accent{background:#1f3a68;}
    .sgm-listing-v2 .sec-3 .sec-accent{background:#7c3aed;}
    .sgm-listing-v2 .sec-title h2{font-size:20px;font-weight:900;letter-spacing:-0.035em;color:#0f1922;display:flex;align-items:center;gap:8px;line-height:1.3;flex-wrap:wrap;}
    .sgm-listing-v2 .sec-title h2 .icon{font-size:18px;}
    .sgm-listing-v2 .sec-badge{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:900;padding:3px 8px;border-radius:100px;letter-spacing:0.04em;}
    .sgm-listing-v2 .sec-badge.verified{background:#0f1922;color:#d4a04e;}
    .sgm-listing-v2 .sec-badge.live{background:#fee2e2;color:#dc2626;border:1px solid rgba(220,38,38,0.2);}
    .sgm-listing-v2 .live-dot{width:5px;height:5px;background:#dc2626;border-radius:50%;animation:sgm-pulse-v2 1.4s infinite;}
    @keyframes sgm-pulse-v2{0%,100%{opacity:1;}50%{opacity:0.3;}}
    .sgm-listing-v2 .sec-title p{font-size:12px;color:#6b7785;margin-top:5px;font-weight:600;}
    .sgm-listing-v2 .sec-action{display:flex;align-items:center;gap:14px;flex-shrink:0;}
    .sgm-listing-v2 .sec-count{font-size:12px;color:#6b7785;font-weight:700;}
    .sgm-listing-v2 .sec-count strong{color:#0f1922;font-size:13px;font-feature-settings:'tnum';}
    .sgm-listing-v2 .sec-all{font-size:12.5px;font-weight:800;color:#0f1922;letter-spacing:-0.01em;text-decoration:none;display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border:1px solid #e5e7eb;border-radius:6px;transition:all 0.15s;}
    .sgm-listing-v2 .sec-all:hover{border-color:#0f1922;background:#0f1922;color:#fff;}
    .sgm-listing-v2 .grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;}
    @media (max-width:1280px){.sgm-listing-v2 .grid{grid-template-columns:repeat(4,1fr);}}
    @media (max-width:1024px){.sgm-listing-v2 .grid{grid-template-columns:repeat(3,1fr);}}
    @media (max-width:768px){.sgm-listing-v2 .grid{grid-template-columns:repeat(2,1fr);}}
    @media (max-width:480px){.sgm-listing-v2 .grid{grid-template-columns:1fr;}}
    .sgm-listing-v2 .card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;transition:all 0.18s;display:flex;flex-direction:column;cursor:pointer;position:relative;text-decoration:none;color:inherit;}
    .sgm-listing-v2 .card:hover{border-color:#1f3a68;transform:translateY(-3px);box-shadow:0 8px 24px rgba(15,25,34,0.08);}
    .sgm-listing-v2 .thumb{aspect-ratio:1/1;position:relative;background:#fafbfc;border-bottom:1px solid #f0f1f4;overflow:hidden;}
    .sgm-listing-v2 .thumb-wm{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:56px;font-weight:900;letter-spacing:-0.06em;color:#eaecf0;line-height:1;user-select:none;white-space:nowrap;}
    .sgm-listing-v2 .thumb-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-58%);font-size:50px;filter:grayscale(0.15) drop-shadow(0 2px 4px rgba(0,0,0,0.05));z-index:1;}
    .sgm-listing-v2 .grade{position:absolute;top:8px;left:8px;font-size:10.5px;font-weight:900;padding:4px 8px;border-radius:4px;letter-spacing:-0.01em;display:inline-flex;align-items:center;gap:3px;z-index:2;color:#fff;}
    .sgm-listing-v2 .grade::before{content:'★';font-size:10px;}
    .sgm-listing-v2 .grade.s-plus{background:#0f1922;}
    .sgm-listing-v2 .grade.s-plus::before{color:#d4a04e;}
    .sgm-listing-v2 .grade.s{background:#142849;}
    .sgm-listing-v2 .grade.s::before{color:#d4a04e;}
    .sgm-listing-v2 .grade.a{background:#1f3a68;}
    .sgm-listing-v2 .grade.a::before{color:#fff;opacity:0.7;}
    .sgm-listing-v2 .grade.b{background:#475569;}
    .sgm-listing-v2 .grade.b::before{color:#fff;opacity:0.5;}
    .sgm-listing-v2 .grade.c{background:#94a3b8;}
    .sgm-listing-v2 .grade.c::before{color:#fff;opacity:0.5;}
    .sgm-listing-v2 .grade.new{background:#dc2626;}
    .sgm-listing-v2 .grade.new::before{content:'NEW';color:#fff;font-size:9px;}
    .sgm-listing-v2 .grade.vacant{background:#7c3aed;}
    .sgm-listing-v2 .grade.vacant::before{content:'공실';color:#fff;font-size:9px;}
    /* ─── 등록일 배지 (신선도) ─── */
    .sgm-listing-v2 .reg-date{position:absolute;top:34px;left:8px;font-size:9.5px;font-weight:800;padding:3px 7px;border-radius:4px;letter-spacing:-0.01em;z-index:2;display:inline-flex;align-items:center;gap:2px;}
    .sgm-listing-v2 .reg-date::before{content:'🕐';font-size:9px;}
    .sgm-listing-v2 .reg-date.today{background:#dc2626;color:#fff;}
    .sgm-listing-v2 .reg-date.today::before{content:'🔥';}
    .sgm-listing-v2 .reg-date.yesterday{background:#f59e0b;color:#fff;}
    .sgm-listing-v2 .reg-date.recent{background:#fef3c7;color:#92400e;border:1px solid #fde68a;}
    .sgm-listing-v2 .reg-date.week{background:rgba(255,255,255,0.95);color:#475569;border:1px solid #e5e7eb;}
    .sgm-listing-v2 .recov{position:absolute;top:8px;right:8px;background:#fff;border:1px solid #e5e7eb;font-size:10px;font-weight:700;padding:4px 7px;border-radius:4px;color:#6b7785;z-index:2;box-shadow:0 1px 2px rgba(0,0,0,0.04);}
    .sgm-listing-v2 .recov strong{color:#b8860b;font-size:11.5px;font-weight:900;margin-right:1px;font-feature-settings:'tnum';}
    .sgm-listing-v2 .recov.purple strong{color:#6d28d9;}
    .sgm-listing-v2 .ctags{position:absolute;bottom:8px;left:8px;display:flex;gap:4px;z-index:2;}
    .sgm-listing-v2 .ctag{font-size:9.5px;font-weight:800;padding:3px 6px;border-radius:3px;letter-spacing:-0.01em;background:rgba(255,255,255,0.95);border:1px solid #e5e7eb;color:#2a3742;}
    .sgm-listing-v2 .ctag.verified{background:#0f1922;color:#d4a04e;border:none;}
    .sgm-listing-v2 .ctag.purple{background:#7c3aed;color:#fff;border:none;}
    .sgm-listing-v2 .cbody{padding:12px 14px 14px;flex:1;display:flex;flex-direction:column;gap:7px;}
    .sgm-listing-v2 .cregion{font-size:10.5px;font-weight:800;color:#b8860b;letter-spacing:0.04em;}
    .sgm-listing-v2 .sec-3 .cregion{color:#6d28d9;}
    .sgm-listing-v2 .ctitle{font-size:14px;font-weight:800;color:#0f1922;line-height:1.35;letter-spacing:-0.025em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px;}
    .sgm-listing-v2 .cmeta{display:flex;gap:6px;font-size:10.5px;color:#6b7785;font-weight:600;flex-wrap:wrap;}
    .sgm-listing-v2 .cmeta .dot{color:#9aa5b1;}
    .sgm-listing-v2 .cprice{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px 10px;background:#f6f7f9;border-radius:6px;margin-top:2px;}
    .sgm-listing-v2 .sec-3 .thumb{position:relative;}
    .sgm-listing-v2 .sec-3 .thumb-rental{position:absolute;right:10px;bottom:10px;background:linear-gradient(135deg,#f97316 0%,#ea580c 100%);color:#fff;padding:9px 14px;border-radius:10px;font-size:13px;font-weight:900;letter-spacing:-0.02em;box-shadow:0 6px 18px rgba(249,115,22,0.55),0 2px 6px rgba(0,0,0,0.15);display:inline-flex;align-items:center;gap:5px;border:2px solid #fff;z-index:5;line-height:1;}
    .sgm-listing-v2 .sec-3 .thumb-rental .rf-num{font-size:19px;font-weight:900;letter-spacing:-0.04em;}
    .sgm-listing-v2 .cprice.cp3{grid-template-columns:1fr 1fr 1fr !important;gap:4px;padding:7px 8px;}
    .sgm-listing-v2 .cprice.cp3 .pbox{min-width:0;overflow:hidden;align-items:center;text-align:center;}
    .sgm-listing-v2 .cprice.cp3 .plabel{font-size:9px;white-space:nowrap;}
    .sgm-listing-v2 .cprice.cp3 .pval{font-size:12.5px;letter-spacing:-0.04em;white-space:nowrap;}
    .sgm-listing-v2 .cprice.cp3 .unit{font-size:10px;}
    @media (max-width:768px){
      .sgm-listing-v2 .cprice.cp3{gap:2px;padding:6px 3px;}
      .sgm-listing-v2 .cprice.cp3 .plabel{font-size:8px;}
      .sgm-listing-v2 .cprice.cp3 .pval{font-size:10.5px;letter-spacing:-0.06em;}
      .sgm-listing-v2 .cprice.cp3 .unit{font-size:8px;}
    }
    .sgm-listing-v2 .pbox{display:flex;flex-direction:column;gap:1px;}
    .sgm-listing-v2 .plabel{font-size:9.5px;font-weight:700;color:#6b7785;letter-spacing:0.02em;}
    .sgm-listing-v2 .pval{font-size:14px;font-weight:900;color:#0f1922;letter-spacing:-0.035em;font-feature-settings:'tnum';line-height:1.1;}
    .sgm-listing-v2 .pval.profit{color:#1f3a68;}
    .sgm-listing-v2 .pval.purple{color:#6d28d9;}
    .sgm-listing-v2 .pval .unit{font-size:10px;font-weight:700;margin-left:1px;}

/* ===== block separator ===== */

/* ─── 추천 양도양수 매장 카드 · 등급별 컬러 (스크린샷 디자인) ─── */
        .sgm-listing-v2 .sec-1 .grid .card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:all 0.22s cubic-bezier(0.4,0,0.2,1);box-shadow:0 2px 8px rgba(0,0,0,0.04);cursor:pointer;}
        .sgm-listing-v2 .sec-1 .grid .card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(0,0,0,0.14);}
        .sgm-listing-v2 .sec-1 .grid .card .pt-top{position:relative;padding:14px 14px 14px;aspect-ratio:1/1;display:flex;flex-direction:column;color:#fff;overflow:hidden;}
        .sgm-listing-v2 .sec-1 .grid .card.tier-1 .pt-top{background:linear-gradient(135deg,#6e4520 0%,#3d2614 100%);}
        .sgm-listing-v2 .sec-1 .grid .card.tier-2 .pt-top{background:linear-gradient(135deg,#1f4a30 0%,#0d2a1a 100%);}
        .sgm-listing-v2 .sec-1 .grid .card.tier-3 .pt-top{background:linear-gradient(135deg,#c08d3a 0%,#7d5a1e 100%);}
        .sgm-listing-v2 .sec-1 .grid .card .pt-recommend{display:inline-flex;align-items:center;gap:4px;background:rgba(0,0,0,0.28);padding:5px 11px 5px 9px;border-radius:100px;font-size:10.5px;font-weight:900;align-self:flex-start;letter-spacing:-0.02em;border:1px solid rgba(244,185,66,0.45);}
        .sgm-listing-v2 .sec-1 .grid .card .pt-recommend::before{content:'⭐';font-size:11px;color:#f4b942;margin-right:1px;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-tier{position:absolute;top:14px;right:14px;background:#dc2626;color:#fff;font-size:11px;font-weight:900;padding:5px 11px;border-radius:6px;letter-spacing:-0.02em;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-op{position:absolute;top:46px;right:14px;background:rgba(0,0,0,0.5);color:#fff;font-size:10.5px;font-weight:800;padding:4px 10px;border-radius:5px;letter-spacing:-0.01em;border:1px solid rgba(255,255,255,0.1);}
        .sgm-listing-v2 .sec-1 .grid .card .pt-emoji{font-size:56px;text-align:center;flex:1;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 6px 14px rgba(0,0,0,0.4));margin:8px 0;line-height:1;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-location{display:inline-flex;align-items:center;gap:4px;background:rgba(0,0,0,0.45);padding:5px 11px 5px 9px;border-radius:6px;font-size:11px;font-weight:800;align-self:flex-start;letter-spacing:-0.01em;border:1px solid rgba(255,255,255,0.08);}
        .sgm-listing-v2 .sec-1 .grid .card .pt-location::before{content:'📍';font-size:11px;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-bot{padding:14px 14px 16px;background:#fff;display:flex;flex-direction:column;gap:11px;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-name{font-size:14.5px;font-weight:900;color:#0f1922;line-height:1.3;letter-spacing:-0.025em;text-align:center;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e5e7eb;border-radius:8px;overflow:hidden;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-stats > div{background:#fafbfc;padding:10px 10px;display:flex;flex-direction:column;align-items:center;gap:3px;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-stats .lab{font-size:10px;color:#6b7785;font-weight:700;letter-spacing:-0.01em;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-stats .val{font-size:14px;font-weight:900;color:#0f1922;letter-spacing:-0.025em;font-feature-settings:'tnum';line-height:1;}
        .sgm-listing-v2 .sec-1 .grid .card .pt-stats .val.red{color:#dc2626;}

/* ===== block separator ===== */

@media (max-width:760px){ .sgm-dev-grid{ grid-template-columns:1fr !important; } }
  .sgm-dev-card{ transition:transform .2s ease, border-color .2s ease; }
  .sgm-dev-card:hover{ transform:translateY(-4px); border-color:rgba(253,224,71,0.5); }

/* ===== block separator ===== */

/* ⭐ PC (769px+) 에서만 백서 좌우 배치 - 모바일 우선 설계 */
    @media (min-width: 769px) {
      .sgm-book-grid {
        display: grid !important;
        grid-template-columns: 130px 1fr !important;
        text-align: left !important;
        align-items: center !important;
      }
      .sgm-book-grid > div:first-child {
        max-width: 130px !important;
      }
    }
    
    @media (max-width: 768px) {
      section[style*="fafaf7"] > div.wrap > div > div:first-child > div:first-child {
        grid-template-columns: 1fr !important;
        text-align: center;
      }
      section[style*="fafaf7"] > div.wrap > div > div:first-child > div:first-child > div:first-child {
        max-width: 160px;
        margin: 0 auto;
      }
    }
    
    /* ⭐ 백서 카드 - 모바일에서 박스 자체 padding 축소 + 책표지 1열 강제 */
    @media (max-width: 768px) {
      /* 백서 박스 자체 패딩 축소 (24px → 16px) - 콘텐츠 영역 32px 추가 확보 */
      section[style*="fafaf7"] > div.wrap > div > div:first-child {
        padding: 18px !important;
      }
      /* 책표지 + 콘텐츠 grid 1열 전환 (강제) */
      .sgm-book-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 14px !important;
      }
      .sgm-book-grid > div:first-child {
        max-width: 110px;
        margin: 0 auto;
      }
      .sgm-book-grid h2 {
        font-size: 19px !important;
        line-height: 1.3 !important;
      }
      .sgm-book-grid p {
        font-size: 11.5px !important;
      }
      /* 55,000원으로 1억... 박스 자체 padding 축소 */
      .sgm-book-grid > div:last-child > div[style*="rgba(251,191,36,0.18)"] {
        padding: 9px 11px !important;
      }
      .sgm-book-grid > div:last-child > div[style*="rgba(251,191,36,0.18)"] > div:last-child > div:first-child {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
      }
    }
    
    /* ⭐ 매물 지도 박스 - 모바일에서 자체 padding 축소 + 큰 핀 완전 숨김 */
    @media (max-width: 768px) {
      .sgm-map-card {
        padding: 18px !important;
        min-height: 220px !important;
      }
      /* 큰 핀 워터마크 완전 숨김 (우측 잘림의 가장 큰 원인) */
      .sgm-map-card > div[style*="font-size:200px"] {
        display: none !important;
      }
      /* 카카오 SVG 더 축소 + 위치 안쪽 */
      .sgm-map-card svg {
        width: 70px !important;
        height: 20px !important;
      }
      .sgm-map-card > div[style*="right:18px"] {
        top: 10px !important;
        right: 10px !important;
      }
      .sgm-map-card h3 {
        font-size: 19px !important;
      }
      .sgm-map-card p {
        font-size: 11.5px !important;
      }
    }

/* ===== block separator ===== */

@media (max-width: 768px) {
      section[style*="FRANCHISE"] > div > div { grid-template-columns: 1fr !important; gap: 24px !important; }
    }

/* ===== block separator ===== */

.calc-page-wrap{ background:#f8fafc; min-height:calc(100vh - 80px); padding:30px 0 60px; }

/* ─── 히어로 (슬로건) ─── */
.calc-hero{
    max-width:920px; margin:0 auto 24px; padding:0 20px;
}
.calc-hero-inner{
    background:linear-gradient(135deg, #0f172a 0%, #1560BD 100%);
    border-radius:16px;
    padding:40px 32px;
    color:#fff;
    box-shadow:0 12px 40px rgba(15,23,42,.18);
    position:relative; overflow:hidden;
}
.calc-hero-badge{
    display:inline-flex; align-items:center; gap:7px;
    background:rgba(255,213,79,.18);
    border:1px solid #FFD54F;
    border-radius:30px;
    padding:6px 14px;
    font-size:11px; font-weight:800;
    color:#FFD54F; letter-spacing:.06em;
    margin-bottom:14px;
}
.calc-hero-title{
    font-size:26px; font-weight:900;
    line-height:1.4; margin-bottom:14px;
    letter-spacing:-.5px; word-break:keep-all;
}
.calc-hero-title em{
    font-style:normal;
    color:#FFD54F;
    background:linear-gradient(120deg, transparent 60%, rgba(255,213,79,.25) 60%);
    padding:0 4px;
}
.calc-hero-msg{
    background:rgba(0,0,0,.25);
    border-left:3px solid #FFD54F;
    padding:16px 18px; border-radius:0 8px 8px 0;
    font-size:14px; line-height:1.7;
    color:rgba(255,255,255,.92);
    word-break:keep-all;
}
.calc-hero-msg strong{
    color:#FFD54F; font-weight:900;
}
.calc-hero-author{
    margin-top:14px; font-size:12px;
    color:rgba(255,213,79,.85);
    font-weight:700; letter-spacing:.04em;
}

/* ─── 입력 폼 ─── */
.calc-form-section{
    max-width:920px; margin:0 auto; padding:0 20px;
}
.calc-form-card{
    background:#fff;
    border-radius:14px;
    padding:32px 28px;
    box-shadow:0 6px 24px rgba(0,0,0,.06);
    border:1px solid #e2e8f0;
}
.calc-form-title{
    font-size:18px; font-weight:900;
    color:#0f172a;
    margin-bottom:6px;
    display:flex; align-items:center; gap:8px;
}
.calc-form-sub{
    font-size:13px;
    color:#64748b;
    margin-bottom:24px;
    line-height:1.6;
}
.calc-section-divider{
    border-top:1px dashed #cbd5e1;
    margin:24px 0 18px;
    padding-top:16px;
    font-size:11px; font-weight:800;
    color:#1560BD; letter-spacing:.08em;
}
.calc-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:14px;
    margin-bottom:8px;
}
.calc-grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-bottom:8px;
}
.calc-field{ margin-bottom:6px; }
.calc-field label{
    display:block; font-size:12px; font-weight:800;
    color:#334155; margin-bottom:6px;
}
.calc-field label em{
    font-style:normal; color:#ef4444; margin-left:3px;
}
.calc-field input,
.calc-field select{
    width:100%; padding:11px 13px;
    border:1px solid #cbd5e1; border-radius:8px;
    font-size:14px; font-weight:700;
    color:#0f172a; background:#f8fafc;
    outline:none; box-sizing:border-box;
    transition:all .2s ease;
}
.calc-field input:focus,
.calc-field select:focus{
    border-color:#1560BD; background:#fff;
    box-shadow:0 0 0 3px rgba(21,96,189,.1);
}
.calc-field-help{
    font-size:10px; color:#94a3b8;
    margin-top:3px; line-height:1.4;
}
.calc-run{
    width:100%;
    background:linear-gradient(135deg, #0f172a 0%, #1560BD 100%);
    color:#fff; font-weight:900; font-size:17px;
    padding:18px; border-radius:12px;
    border:none; cursor:pointer; margin-top:24px;
    box-shadow:0 8px 20px rgba(21,96,189,.28);
    transition:all .3s cubic-bezier(.4,0,.2,1);
    letter-spacing:.5px;
}
.calc-run:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(21,96,189,.45);
}
.calc-run:disabled{
    opacity:.6; cursor:wait; transform:none;
}

/* ─── 결과 영역 ─── */
.calc-result-box{
    display:none;
    margin-top:32px;
    border-top:2px dashed #e2e8f0;
    padding-top:32px;
    animation:calcFadeUp .6s ease-out forwards;
}
@keyframes calcFadeUp{
    from{ opacity:0; transform:translateY(20px); }
    to{ opacity:1; transform:translateY(0); }
}
.calc-res-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px; margin-bottom:24px;
}
.calc-res-item{
    border-radius:16px;
    padding:32px 20px;
    text-align:center;
    position:relative; overflow:hidden;
    transition:transform .3s ease;
}
.calc-res-item:hover{ transform:translateY(-4px); }
.cri-light{
    background:#fff;
    border:1px solid #e2e8f0;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
}
.cri-light::before{
    content:''; position:absolute;
    top:0; left:0; right:0; height:4px;
    background:#059669;
}
.cri-dark{
    background:linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border:1px solid #1e3a8a;
    box-shadow:0 10px 30px rgba(30,58,138,.2);
}
.cri-dark::before{
    content:''; position:absolute;
    top:0; left:0; right:0; height:4px;
    background:#FFD54F;
}
.cri-label{
    font-size:13px; font-weight:800;
    margin-bottom:8px; letter-spacing:.5px;
}
.cri-light .cri-label{ color:#64748b; }
.cri-dark .cri-label{ color:#94a3b8; }
.cri-val{
    font-size:clamp(26px, 4vw, 36px);
    font-weight:900; margin-bottom:8px;
    letter-spacing:-.5px; word-break:keep-all;
}
.cri-light .cri-val{ color:#e11d48; }
.cri-dark .cri-val{ color:#FFD54F; text-shadow:0 2px 10px rgba(255,213,79,.3); }
.cri-note{ font-size:11px; font-weight:600; }
.cri-light .cri-note{ color:#94a3b8; }
.cri-dark .cri-note{ color:rgba(255,255,255,.5); }

/* ─── CTA (1:1 상담) ─── */
.calc-cta{
    background:#fff;
    border:2px solid #1560BD;
    border-radius:16px;
    padding:32px 24px;
    text-align:center;
    margin-top:8px;
}
.calc-cta-title{
    font-size:20px; font-weight:900;
    color:#0f172a; margin-bottom:8px;
    line-height:1.4; word-break:keep-all;
}
.calc-cta-sub{
    font-size:13px; color:#64748b;
    margin-bottom:22px; font-weight:600;
    line-height:1.6;
}
.calc-cta-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px; max-width:520px;
    margin:0 auto 14px;
}
.calc-cta-form input{
    width:100%; padding:12px 14px;
    border:1.5px solid #cbd5e1; border-radius:8px;
    font-size:14px; font-weight:700;
    color:#0f172a; background:#f8fafc;
    outline:none; box-sizing:border-box;
}
.calc-cta-form input:focus{
    border-color:#1560BD; background:#fff;
    box-shadow:0 0 0 3px rgba(21,96,189,.1);
}
.calc-consent{
    font-size:11.5px; color:#475569;
    line-height:1.6; margin-bottom:14px;
    display:flex; align-items:flex-start; gap:7px;
    justify-content:center;
}
.calc-consent input{
    width:15px; height:15px;
    margin-top:1px; cursor:pointer;
    accent-color:#1560BD;
}
.calc-consent label{ cursor:pointer; }
.calc-consent strong{ color:#0f172a; font-weight:800; }
.calc-cta-btn{
    width:100%; max-width:520px;
    background:linear-gradient(135deg, #b8891e, #c9a227, #e6c654);
    color:#0a0604; font-weight:900; font-size:15px;
    padding:16px; border-radius:10px;
    border:none; cursor:pointer;
    box-shadow:0 6px 16px rgba(201,162,39,.4);
    transition:all .2s;
    letter-spacing:-.2px;
}
.calc-cta-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(201,162,39,.55);
}
.calc-cta-success{
    display:none;
    background:linear-gradient(135deg, #d1fae5, #a7f3d0);
    border:2px solid #059669;
    border-radius:12px;
    padding:24px 20px;
    text-align:center;
    color:#064e3b;
    font-size:14px; font-weight:700;
    line-height:1.7;
    margin-top:14px;
}
.calc-cta-success.show{ display:block; }
.calc-cta-error{
    display:none;
    background:#fef2f2; border:1px solid #fca5a5;
    color:#991b1b; padding:10px 14px;
    border-radius:8px; font-size:12px;
    font-weight:700; margin-bottom:12px;
}
.calc-cta-error.show{ display:block; }

@media (max-width:768px){
    .calc-hero-inner{ padding:30px 22px; }
    .calc-hero-title{ font-size:20px; }
    .calc-hero-msg{ font-size:13px; padding:14px; }
    .calc-form-card{ padding:24px 18px; }
    .calc-grid, .calc-grid-2{ grid-template-columns:1fr; gap:10px; }
    .calc-res-grid{ grid-template-columns:1fr; gap:14px; }
    .calc-res-item{ padding:24px 16px; }
    .calc-cta-form{ grid-template-columns:1fr; }
    .calc-cta{ padding:24px 18px; }
    .calc-cta-title{ font-size:17px; }
}

/* ===== block separator ===== */

@keyframes sgmReviewPulse {
        0%, 100% { box-shadow: 0 6px 20px rgba(253,224,71,0.4), 0 0 0 2px rgba(253,224,71,0.3); }
        50% { box-shadow: 0 8px 28px rgba(253,224,71,0.6), 0 0 0 5px rgba(253,224,71,0.2); }
      }

/* ===== block separator ===== */

@media (max-width: 767px) {
    .view#view-services section[style*="grid-template-columns:1fr auto 1fr"] > div {
      grid-template-columns: 1fr !important;
    }
  }

/* ===== block separator ===== */

.sgm-wcc{font-family:'Pretendard Variable',Pretendard,-apple-system,sans-serif;}
    .sgm-wcc .hero{position:relative;overflow:hidden;background:linear-gradient(160deg,#fff8f5 0%,#ffe7e0 38%,#f6d7d0 68%,#e9bcc4 100%);background-size:200% 200%;animation:wccGrad 16s ease-in-out infinite;padding:84px 0 90px;text-align:center;}
    @keyframes wccGrad{0%,100%{background-position:0% 30%;}50%{background-position:100% 70%;}}
    .sgm-wcc .hero::before{content:'';position:absolute;top:-80px;right:-80px;width:420px;height:420px;background:radial-gradient(circle,rgba(212,160,78,0.28) 0%,transparent 68%);border-radius:50%;pointer-events:none;animation:wccGlow 14s ease-in-out infinite;}
    .sgm-wcc .hero::after{content:'';position:absolute;bottom:-120px;left:-100px;width:380px;height:380px;background:radial-gradient(circle,rgba(177,77,107,0.22) 0%,transparent 70%);border-radius:50%;pointer-events:none;animation:wccGlow 18s ease-in-out infinite reverse;}
    @keyframes wccGlow{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-40px,30px) scale(1.12);}}
    .sgm-wcc .hero-in{position:relative;z-index:2;max-width:760px;margin:0 auto;padding:0 22px;}
    .sgm-wcc .soon{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:0.3em;color:#a23a5e;text-transform:uppercase;margin-bottom:22px;}
    .sgm-wcc .soon::before,.sgm-wcc .soon::after{content:'';width:30px;height:1px;background:linear-gradient(90deg,transparent,#c79a3e);}
    .sgm-wcc .soon::after{background:linear-gradient(90deg,#c79a3e,transparent);}
    .sgm-wcc h1{font-size:46px;font-weight:900;letter-spacing:-0.045em;line-height:1.16;color:#4a1d3a;margin:0 0 18px;}
    .sgm-wcc h1 .ac{background:linear-gradient(120deg,#b14d6b,#c79a3e);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
    .sgm-wcc .lead{font-size:16px;font-weight:600;color:#7a4a5e;line-height:1.7;margin:0 0 26px;}
    .sgm-wcc .gate{display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:center;max-width:100%;gap:8px;background:rgba(255,255,255,0.72);border:1px solid rgba(199,154,62,0.4);border-radius:18px;padding:11px 20px;font-size:13.5px;font-weight:800;color:#5b2148;box-shadow:0 8px 24px rgba(177,77,107,0.16);}
    .sgm-wcc .gate b{color:#a23a5e;}
    .sgm-wcc .stamp{position:absolute;top:24px;left:50%;transform:translateX(-50%) rotate(-3deg);border:2px solid rgba(162,58,94,0.5);color:#a23a5e;font-size:11px;font-weight:900;letter-spacing:0.1em;padding:6px 16px;border-radius:6px;opacity:0.85;z-index:2;}

    .sgm-wcc .promo{background:linear-gradient(135deg,#4a1d3a 0%,#8e3457 55%,#b14d6b 100%);border-radius:20px;padding:36px 30px;text-align:center;color:#fff;box-shadow:0 18px 44px rgba(74,29,58,0.24);position:relative;overflow:hidden;}
    .sgm-wcc .promo .pbadge{display:inline-block;background:#e7b85e;color:#4a1d3a;padding:6px 16px;border-radius:100px;font-size:12px;font-weight:900;margin-bottom:16px;}
    .sgm-wcc .promo h2{font-size:32px;font-weight:900;letter-spacing:-0.04em;line-height:1.34;margin:0;word-break:keep-all;}
    .sgm-wcc .promo h2 em{color:#f3d08a;font-style:normal;}
    .sgm-wcc .promo .psub{font-size:13.5px;opacity:0.92;margin:16px 0 0;font-weight:600;line-height:1.6;}
    .sgm-wcc .body{background:#fffaf8;padding:64px 0;}
    .sgm-wcc .wrapx{max-width:980px;margin:0 auto;padding:0 22px;}
    .sgm-wcc .sec-label{text-align:center;font-size:12px;font-weight:800;letter-spacing:0.18em;color:#c79a3e;text-transform:uppercase;margin-bottom:10px;}
    .sgm-wcc .sec-title{text-align:center;font-size:28px;font-weight:900;letter-spacing:-0.035em;color:#4a1d3a;margin:0 0 8px;}
    .sgm-wcc .sec-sub{text-align:center;font-size:14px;color:#8a6575;margin:0 0 38px;}
    .sgm-wcc .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:18px;}
    .sgm-wcc .card{position:relative;background:#fff;border:1px solid #f0dcd6;border-radius:18px;padding:28px 24px;box-shadow:0 14px 40px rgba(177,77,107,0.08);transition:transform 0.25s,box-shadow 0.25s;}
    .sgm-wcc .card:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(177,77,107,0.16);}
    .sgm-wcc .card .ic{width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;background:linear-gradient(135deg,#fbe4dd,#f6cdd5);margin-bottom:16px;}
    .sgm-wcc .card h4{font-size:16px;font-weight:800;color:#4a1d3a;margin:0 0 8px;letter-spacing:-0.02em;}
    .sgm-wcc .card p{font-size:13px;color:#8a6575;line-height:1.65;margin:0;}
    .sgm-wcc .card .soon-tag{position:absolute;top:16px;right:16px;font-size:10px;font-weight:800;color:#b88a3a;background:#fdf3df;border:1px solid #f0dcae;padding:3px 9px;border-radius:100px;}

    .sgm-wcc .why{margin-top:56px;background:linear-gradient(135deg,#4a1d3a 0%,#6b2150 100%);border-radius:22px;padding:44px 38px;color:#fff;position:relative;overflow:hidden;}
    .sgm-wcc .why::after{content:'';position:absolute;right:-60px;bottom:-60px;width:280px;height:280px;background:radial-gradient(circle,rgba(212,160,78,0.22) 0%,transparent 70%);border-radius:50%;}
    .sgm-wcc .why h3{font-size:22px;font-weight:900;letter-spacing:-0.03em;margin:0 0 18px;position:relative;z-index:2;}
    .sgm-wcc .why h3 b{color:#e7b85e;}
    .sgm-wcc .why ul{list-style:none;margin:0;padding:0;display:grid;gap:14px;position:relative;z-index:2;}
    .sgm-wcc .why li{display:flex;gap:12px;font-size:14px;line-height:1.6;color:#f3e4ea;}
    .sgm-wcc .why li .ck{color:#e7b85e;font-weight:900;flex-shrink:0;}

    .sgm-wcc .cta{margin-top:50px;text-align:center;background:#fff;border:1px solid #f0dcd6;border-radius:22px;padding:48px 30px;box-shadow:0 16px 44px rgba(177,77,107,0.1);}
    .sgm-wcc .cta .badge{display:inline-block;font-size:12px;font-weight:800;letter-spacing:0.12em;color:#a23a5e;background:#fdeef0;border:1px solid #f6d3da;padding:6px 16px;border-radius:100px;margin-bottom:18px;}
    .sgm-wcc .cta h3{font-size:25px;font-weight:900;letter-spacing:-0.035em;color:#4a1d3a;margin:0 0 10px;}
    .sgm-wcc .cta p{font-size:14px;color:#8a6575;line-height:1.7;margin:0 0 26px;}
    .sgm-wcc .cta .btn{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;max-width:100%;white-space:normal;gap:9px;background:linear-gradient(135deg,#b14d6b,#8e3457);color:#fff;border:none;padding:16px 30px;font-size:15px;font-weight:900;border-radius:12px;cursor:pointer;text-decoration:none;box-shadow:0 10px 28px rgba(142,52,87,0.36);transition:transform 0.2s,box-shadow 0.2s;letter-spacing:-0.01em;line-height:1.4;}
    .sgm-wcc .cta .btn:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(142,52,87,0.5);}
    .sgm-wcc .cta .note{font-size:12px;color:#b08a98;margin-top:16px;line-height:1.6;}
    .sgm-wcc .wa-form{text-align:left;max-width:520px;margin:8px auto 0;}
    .sgm-wcc .wa-form .row{margin-bottom:13px;}
    .sgm-wcc .wa-form label{display:block;font-size:12.5px;font-weight:800;color:#6b2150;margin-bottom:6px;}
    .sgm-wcc .wa-form input[type=text],.sgm-wcc .wa-form input[type=tel],.sgm-wcc .wa-form select,.sgm-wcc .wa-form textarea{width:100%;border:1px solid #ecd3d9;background:#fff;border-radius:10px;padding:12px 14px;font-size:14px;color:#3a2230;box-sizing:border-box;font-family:inherit;outline:none;transition:border-color 0.15s;}
    .sgm-wcc .wa-form input:focus,.sgm-wcc .wa-form select:focus,.sgm-wcc .wa-form textarea:focus{border-color:#b14d6b;}
    .sgm-wcc .wa-form textarea{min-height:76px;resize:vertical;}
    .sgm-wcc .wa-form .agree{display:flex;align-items:flex-start;gap:8px;font-size:12px;font-weight:600;color:#7a4a5e;margin:6px 0 18px;line-height:1.55;}
    .sgm-wcc .wa-form .agree input{margin-top:2px;flex-shrink:0;}
    .sgm-wcc .wa-form .submit{width:100%;background:linear-gradient(135deg,#b14d6b,#8e3457);color:#fff;border:none;padding:15px;font-size:15px;font-weight:900;border-radius:12px;cursor:pointer;box-shadow:0 10px 28px rgba(142,52,87,0.34);transition:transform 0.2s;}
    .sgm-wcc .wa-form .submit:hover{transform:translateY(-2px);}
    .sgm-wcc .wa-form .submit:disabled{opacity:0.6;cursor:default;transform:none;}
    .sgm-wcc .wa-kakao{display:block;text-align:center;margin-top:12px;font-size:12.5px;color:#a23a5e;font-weight:700;text-decoration:none;}
    .sgm-wcc .wa-done{text-align:center;padding:26px 14px;}
    .sgm-wcc .wa-done .em{font-size:42px;}
    .sgm-wcc .wa-done h4{font-size:20px;font-weight:900;color:#4a1d3a;margin:10px 0 8px;}
    .sgm-wcc .wa-done p{font-size:13.5px;color:#8a6575;line-height:1.7;margin:0;}

    @media (max-width:768px){
      .sgm-wcc .hero{padding:64px 0 66px;}
      .sgm-wcc h1{font-size:30px;}
      .sgm-wcc .soon{letter-spacing:0.16em;font-size:11px;}
      .sgm-wcc .gate{font-size:12.5px;padding:10px 14px;}
      .sgm-wcc .cta .btn{padding:14px 18px;font-size:14px;}
      .sgm-wcc .card{padding:24px 20px;}
      .sgm-wcc .promo{padding:28px 20px;}
      .sgm-wcc .promo h2{font-size:24px;}
      .sgm-wcc .lead{font-size:14.5px;}
      .sgm-wcc .body{padding:48px 0;}
      .sgm-wcc .sec-title{font-size:23px;}
      .sgm-wcc .why,.sgm-wcc .cta{padding:34px 22px;}
      .sgm-wcc .why h3,.sgm-wcc .cta h3{font-size:20px;}
    }

/* ===== block separator ===== */

#sgm-kakao-fab:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 40px rgba(254,229,0,0.6), 0 10px 20px rgba(0,0,0,0.15);
  }
  @media (max-width: 480px) {
    #sgm-kakao-fab > div { display: none; }
    #sgm-kakao-fab { padding: 14px; }
  }

/* ===== block separator ===== */

@keyframes sgm-spin { to { transform: rotate(360deg); } }
  #sgm-loading.show { display:flex !important; }

/* ===== block separator ===== */

/* ─── AI 챗봇 FAB · 가로형 알약 (네이비+골드 · STEP 2 톤) ─── */
    .sgm-ai-fab{position:relative;display:inline-flex;align-items:center;gap:11px;background:linear-gradient(135deg,#ec4899 0%,#db2777 55%,#be185d 100%);color:#fff;border:none;padding:11px 22px 11px 11px;border-radius:100px;cursor:pointer;box-shadow:0 14px 36px rgba(236,72,153,0.5),0 4px 12px rgba(0,0,0,0.08),inset 0 1px 0 rgba(255,255,255,0.08);transition:transform 0.28s cubic-bezier(0.4,0,0.2,1),box-shadow 0.28s cubic-bezier(0.4,0,0.2,1);font-family:inherit;-webkit-tap-highlight-color:transparent;}
    .sgm-ai-fab:hover{transform:translateY(-3px);box-shadow:0 22px 54px rgba(236,72,153,0.6),0 8px 18px rgba(0,0,0,0.12),inset 0 1px 0 rgba(255,255,255,0.1);}
    .sgm-ai-fab:active{transform:translateY(-1px);}
    .sgm-ai-fab-icon{position:relative;width:40px;height:40px;background:linear-gradient(135deg,#fff 0%,#fce7f3 55%,#fbcfe8 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 -2px 4px rgba(190,24,93,0.18),inset 0 1px 0 rgba(255,255,255,0.7),0 2px 8px rgba(236,72,153,0.45);flex-shrink:0;}
    .sgm-ai-fab-pulse{position:absolute;inset:-5px;border-radius:50%;background:#ec4899;opacity:0.45;animation:sgm-ai-fab-pulse 2.2s cubic-bezier(0.4,0,0.6,1) infinite;pointer-events:none;z-index:-1;}
    @keyframes sgm-ai-fab-pulse{0%,100%{transform:scale(1);opacity:0.45;}50%{transform:scale(1.35);opacity:0;}}
    .sgm-ai-fab-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.05;white-space:nowrap;padding-right:2px;}
    .sgm-ai-fab-text .t1{font-size:13px;font-weight:900;letter-spacing:-0.025em;color:#fff;}
    .sgm-ai-fab-text .t2{font-size:9.5px;font-weight:700;color:#f4c067;margin-top:3px;letter-spacing:0.01em;}
    .sgm-ai-fab-sparkle{position:absolute;top:6px;right:8px;width:6px;height:6px;background:#fff;border-radius:50%;box-shadow:0 0 8px #fff,0 0 14px rgba(255,255,255,0.5);animation:sgm-ai-sparkle 3.5s ease-in-out infinite;}
    @keyframes sgm-ai-sparkle{0%,100%{opacity:0;transform:scale(0.5);}50%{opacity:1;transform:scale(1);}}
    /* 소형 모바일(480px 이하)에서만 원형 아이콘 only · 갤럭시탭/큰 폰은 텍스트 표시 */
    @media (max-width:480px){
      .sgm-ai-fab{padding:10px;border-radius:50%;}
      .sgm-ai-fab-text{display:none;}
      .sgm-ai-fab-sparkle{display:none;}
    }

/* ===== block separator ===== */

/* 카드 외부 신고 깃발은 사용하지 않음 (detail view 내부 버튼만 사용) */

  /* 신고 모달 */
  .sgm-report-modal{position:fixed;inset:0;background:rgba(0,0,0,0.6);z-index:9999;display:none;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);}
  .sgm-report-modal.open{display:flex;}
  .sgm-report-box{background:#fff;border-radius:16px;max-width:440px;width:100%;padding:28px;box-shadow:0 30px 70px rgba(0,0,0,0.35);animation:sgmRepIn 0.22s cubic-bezier(0.34,1.56,0.64,1);}
  @keyframes sgmRepIn{from{opacity:0;transform:translateY(20px) scale(0.96);}to{opacity:1;transform:translateY(0) scale(1);}}
  .sgm-report-box h3{font-size:18px;font-weight:900;color:#0f172a;margin:0 0 6px;letter-spacing:-0.025em;display:flex;align-items:center;gap:8px;}
  .sgm-report-box h3 .ico{font-size:22px;}
  .sgm-report-box .sub{font-size:12.5px;color:#6b7785;margin-bottom:18px;line-height:1.5;}
  .sgm-report-box .reasons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;}
  .sgm-report-box .reasons label{display:flex;align-items:center;gap:7px;padding:11px 12px;border:1.5px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:13px;font-weight:700;color:#0f172a;transition:all 0.13s;background:#fff;}
  .sgm-report-box .reasons label:hover{border-color:#dc2626;background:#fef2f2;}
  .sgm-report-box .reasons input[type=radio]{accent-color:#dc2626;cursor:pointer;}
  .sgm-report-box .reasons input[type=radio]:checked + span{color:#dc2626;font-weight:900;}
  .sgm-report-box .reasons label:has(input:checked){border-color:#dc2626;background:#fef2f2;}
  .sgm-report-box textarea{width:100%;min-height:80px;padding:11px 12px;border:1.5px solid #e5e7eb;border-radius:8px;font-size:13px;font-family:inherit;resize:vertical;color:#0f172a;outline:none;transition:border-color 0.13s;margin-bottom:14px;box-sizing:border-box;}
  .sgm-report-box textarea:focus{border-color:#dc2626;}
  .sgm-report-box .notice{background:#fef3c7;border:1px solid #fde68a;border-radius:7px;padding:10px 12px;font-size:11.5px;color:#92400e;line-height:1.5;margin-bottom:16px;font-weight:600;}
  .sgm-report-box .btns{display:flex;gap:8px;}
  .sgm-report-box .btns button{flex:1;padding:13px;border-radius:8px;font-size:14px;font-weight:900;cursor:pointer;border:none;transition:all 0.15s;letter-spacing:-0.02em;font-family:inherit;}
  .sgm-report-box .btn-cancel{background:#f3f4f6;color:#374151;}
  .sgm-report-box .btn-cancel:hover{background:#e5e7eb;}
  .sgm-report-box .btn-submit{background:#dc2626;color:#fff;}
  .sgm-report-box .btn-submit:hover{background:#b91c1c;}
  .sgm-report-box .btn-submit:disabled{background:#9ca3af;cursor:not-allowed;}

/* ===== 홈(view-main) 전 섹션 좌우폭 통일 — 헤더·추천 섹션과 동일 1280px/24px ===== */
#view-main .wrap { max-width: 1280px; padding-left: 24px; padding-right: 24px; }
