        :root {
            --primary: #6B8E23;
            --primary-dark: #5a7a1e;
            --primary-light: #8FBC8F;
            --secondary: #A7D9C2;
            --accent: #ffc107;
            --danger: #dc3545;
            --success: #28a745;
            --text-primary: #333;
            --text-secondary: #666;
            --text-muted: #888;
            --bg-light: #f8f9fa;
            --bg-white: #fff;
            --border: #e9ecef;
            --shadow: rgba(0,0,0,0.08);
            --shadow-hover: rgba(0,0,0,0.12);
            color-scheme: light only;
        }
        
        /* 다크모드 강제 차단 - 시스템 설정 무시 */
        @media (prefers-color-scheme: dark) {
            :root {
                --text-primary: #333;
                --text-secondary: #666;
                --text-muted: #888;
                --bg-light: #f8f9fa;
                --bg-white: #fff;
                --border: #e9ecef;
                color-scheme: light only;
            }
            html, body {
                background-color: #E8E8E8 !important;
                color: #333 !important;
            }
            * {
                color: inherit;
            }
            input, textarea, select, button:not(.v6-fab):not(.btn-action) {
                background-color: #fff !important;
                color: #333 !important;
                border-color: #ddd !important;
            }
            input::placeholder, textarea::placeholder {
                color: #999 !important;
            }
            .header, .bottom-nav, .page, .card, .form-group,
            .detail-header, .v6-sub-header, .v6-quote-card,
            .v6-market-item, .v6-comm-card, .v6-cert-grid-card,
            .v6-cert-best-big, .modal-content, .chat-container {
                background-color: #fff !important;
                color: #333 !important;
            }
            img { opacity: 1 !important; }
        }
        
        /* 카카오톡/네이버 인앱브라우저 폰트 크기 강제 고정 */
        
        * { 
            margin: 0; padding: 0; box-sizing: border-box; 
            font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; 
            -webkit-text-size-adjust: 100% !important; 
            -moz-text-size-adjust: 100% !important;
            text-size-adjust: 100% !important; 
        }
        html, body { 
            background-color: #E8E8E8; 
            overflow-x: hidden; 
            color: var(--text-primary);
            font-size: 14px !important;
            line-height: 1.5;
            -webkit-text-size-adjust: 100% !important;
            word-break: keep-all;
        }
        body {
            -webkit-overflow-scrolling: touch;
            max-width: 430px;
            margin: 0 auto;
            background-color: var(--bg-light);
            box-shadow: 0 0 20px rgba(0,0,0,0.08);
        }
        
        /* ===== 헤더 ===== */
        .header { 
            background: white; 
            color: var(--text-dark); 
            padding: 0; 
            position: fixed; 
            top: 0; 
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 430px;
            z-index: 100; 
            padding-top: env(safe-area-inset-top);
            box-shadow: 0 1px 4px rgba(0,0,0,0.08);
            border-bottom: 1px solid #eaeaea;
        }
        .header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
        .header-logo { font-size: 22px; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
        .header-buttons { display: flex; gap: 8px; align-items: center; }
        .header-btn { 
            background: white; 
            border: 1px solid #ddd; 
            color: #333; 
            padding: 5px 10px; 
            border-radius: 6px; 
            cursor: pointer; 
            font-size: 12px; 
            font-weight: 500;
            transition: all 0.2s;
            white-space: nowrap;
        }
        .header-btn:hover { background: #f5f5f5; }
        .header-btn.primary { background: #4A7C59; color: white; font-weight: 600; border: none; }
        
        .search-bar { display: none; }
        .search-bar input { 
            flex: 1; 
            padding: 12px 16px; 
            border: none; 
            border-radius: 25px; 
            font-size: 15px; 
            min-width: 0;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
        }
        .search-bar input:focus { outline: none; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 0 0 2px rgba(255,255,255,0.5); }
        .search-bar button { 
            padding: 12px 16px; 
            background: white; 
            border: none; 
            border-radius: 25px; 
            cursor: pointer; 
            flex-shrink: 0;
            font-size: 16px;
            transition: transform 0.2s;
        }
        .search-bar button:hover { transform: scale(1.05); }
        
        /* ===== 앱 설치 안내 배너 ===== */
        #appInstallBanner {
            display: none;
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 430px;
            height: calc(56px + env(safe-area-inset-top));
            background: #2d5a27;
            z-index: 9999;
            align-items: center;
            padding: 0 10px 0 12px;
            padding-top: env(safe-area-inset-top);
            gap: 10px;
            box-sizing: border-box;
        }
        /* 배너 표시 중: 헤더를 배너 아래로, 컨테이너 패딩 추가 (safe-area 포함) */
        .app-banner-visible .header { top: calc(56px + env(safe-area-inset-top)); padding-top: 0; }
        .app-banner-visible .container { padding-top: calc(120px + env(safe-area-inset-top)); }

        /* ===== 컨테이너 ===== */
        .container { width: 100%; max-width: 100%; margin: 0 auto; padding: calc(64px + env(safe-area-inset-top)) 0 90px 0; overflow-x: hidden; }
        
        /* ===== 카테고리 섹션 ===== */
        .category-section { 
            background: white; 
            border-radius: 16px; 
            padding: 12px 15px; 
            margin-bottom: 12px; 
            box-shadow: 0 2px 12px var(--shadow); 
            overflow: hidden; 
        }
        
        /* ===== 메인 탭 ===== */
        .main-tabs { padding: 0 5px; margin-bottom: 10px; }
        .main-tab {
            padding: 10px 16px;
            border: none;
            border-radius: 20px;
            background: #f0f0f0;
            color: #666;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
        }
        .main-tab:hover { background: #e0e0e0; }
        .main-tab.active { background: var(--primary); color: white; }
        
        /* 홈 리스트 컨테이너 - 전체탭에서는 짧게, 개별탭에서는 길게 */
        .home-list-container { max-height: 250px; overflow-y: auto; }
        .home-list-container.expanded { max-height: 600px; }
        
        .category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
        .category-item { 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            padding: 8px 4px; 
            border-radius: 10px; 
            cursor: pointer; 
            border: 2px solid transparent; 
            min-width: 0;
            transition: all 0.2s;
        }
        .category-item:hover { background: var(--bg-light); transform: translateY(-2px); }
        .category-item.active { background: #f0f7e6; border-color: var(--primary); }
        .category-item .icon { font-size: 24px; margin-bottom: 4px; }
        .category-item .name { font-size: 10px; text-align: center; color: var(--text-primary); font-weight: 500; white-space: nowrap; }
        
        /* ===== 섹션 타이틀 ===== */
        .section-title { 
            font-size: 17px; 
            font-weight: 700; 
            margin-bottom: 14px; 
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }
        
        /* ===== 카드 ===== */
        .card { 
            background: white; 
            border-radius: 16px; 
            padding: 18px; 
            margin-bottom: 16px; 
            box-shadow: 0 2px 12px var(--shadow); 
            overflow: hidden; 
            word-break: break-word; 
        }
        
        /* ===== 폼 ===== */
        .form-group { margin-bottom: 18px; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-secondary); font-size: 14px; }
        .form-group input, .form-group select, .form-group textarea { 
            width: 100%; 
            padding: 14px 16px; 
            border: 2px solid var(--border); 
            border-radius: 12px; 
            font-size: 15px;
            transition: border-color 0.2s, box-shadow 0.2s;
            background: white;
        }
        .form-group input[type="text"],
        .form-group input[type="email"],
        .form-group input[type="password"],
        .form-group input[type="number"],
        .form-group input[type="date"],
        .form-group input[type="tel"] {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }
        .form-group input[type="radio"],
        .form-group input[type="checkbox"] {
            width: auto;
            padding: 0;
            border: none;
            cursor: pointer;
        }
        .form-group select {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            padding-right: 40px;
            cursor: pointer;
        }
        .form-group input:focus, .form-group select:focus, .form-group textarea:focus { 
            outline: none; 
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
        }
        .form-group textarea { height: 120px; resize: none; }
        .form-group .helper-text { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
        
        /* ===== 버튼 ===== */
        .btn { 
            width: 100%; 
            padding: 16px; 
            background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
            color: white; 
            border: none; 
            border-radius: 12px; 
            font-size: 16px; 
            font-weight: 600; 
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 12px rgba(107, 142, 35, 0.3);
        }
        .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(107, 142, 35, 0.4); }
        .btn:active { transform: translateY(0); }
        .btn:disabled { background: #ccc; cursor: not-allowed; box-shadow: none; }
        .btn-secondary { background: linear-gradient(135deg, #666, #555); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
        .btn-small { padding: 10px 18px; font-size: 14px; width: auto; border-radius: 10px; }
        .btn-outline { 
            background: white; 
            color: var(--primary); 
            border: 2px solid var(--primary);
            box-shadow: none;
        }
        .btn-outline:hover { background: #f0f7e6; box-shadow: none; }
        .btn-danger { background: linear-gradient(135deg, var(--danger), #c82333); box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3); }
        .link-btn { background: none; border: none; color: var(--primary); cursor: pointer; text-decoration: underline; font-size: 14px; font-weight: 500; }
        
        /* ===== 하단 네비게이션 ===== */
        .bottom-nav { 
            position: fixed; 
            bottom: 0; 
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 430px;
            background: white; 
            display: flex; 
            justify-content: space-around; 
            padding: 10px 0; 
            padding-bottom: calc(10px + env(safe-area-inset-bottom)); 
            box-shadow: 0 -4px 20px rgba(0,0,0,0.1); 
            z-index: 100;
            border-top: 1px solid var(--border);
        }
        .nav-item { 
            position: relative; 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            cursor: pointer; 
            color: var(--text-muted); 
            font-size: 11px; 
            border: none; 
            background: none; 
            padding: 6px 12px;
            transition: color 0.2s;
            font-weight: 500;
        }
        .nav-item.active { color: var(--primary); }
        .nav-item.hidden { display: none !important; }
        .nav-item .icon { font-size: 22px; margin-bottom: 3px; }
        .nav-badge { 
            position: absolute; 
            top: -5px; 
            right: -5px; 
            background: var(--danger); 
            color: white; 
            font-size: 10px; 
            min-width: 18px; 
            height: 18px; 
            border-radius: 9px; 
            align-items: center; 
            justify-content: center; 
            font-weight: bold; 
            line-height: 18px; 
            text-align: center;
            box-shadow: 0 2px 6px rgba(220, 53, 69, 0.4);
        }
        
        /* ===== 페이지 ===== */
        .page { display: none; }
        .page.active { display: block; }
        
        /* 메인 섹션 (iOS 스크롤 개선) */
        .main-section {
            padding-bottom: 80px;
        }
        
        /* ===== 리스트 아이템 (가로형) ===== */
        .list-item-horizontal { 
            background: white; 
            border-radius: 14px; 
            padding: 14px 16px; 
            margin-bottom: 10px; 
            box-shadow: 0 2px 8px var(--shadow); 
            cursor: pointer; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            overflow: hidden;
            transition: all 0.2s;
            border: 1px solid transparent;
        }
        .list-item-horizontal:hover { 
            transform: translateY(-2px); 
            box-shadow: 0 4px 16px var(--shadow-hover);
            border-color: var(--primary);
        }
        .list-item-horizontal .left { flex: 1; min-width: 0; overflow: hidden; }
        .list-item-horizontal .top-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
        .list-item-horizontal .category { 
            background: linear-gradient(135deg, var(--primary), var(--primary-light)); 
            color: white; 
            padding: 3px 10px; 
            border-radius: 12px; 
            font-size: 11px; 
            flex-shrink: 0;
            font-weight: 500;
        }
        .list-item-horizontal .title { font-weight: 600; color: var(--text-primary); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
        .list-item-horizontal .bottom-row { font-size: 13px; color: var(--text-muted); display: flex; gap: 12px; overflow: hidden; }
        .list-item-horizontal .right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; margin-left: 12px; }
        .list-item-horizontal .status { padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 600; }
        .list-item-horizontal .date { font-size: 11px; color: #aaa; }
        
        /* ===== 리스트 아이템 (세로형) ===== */
        .list-item { 
            background: white; 
            border-radius: 14px; 
            padding: 16px; 
            margin-bottom: 12px; 
            box-shadow: 0 2px 8px var(--shadow); 
            cursor: pointer;
            transition: all 0.2s;
        }
        .list-item:hover { transform: translateY(-2px); box-shadow: 0 4px 16px var(--shadow-hover); }
        .list-item .category { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; padding: 4px 12px; border-radius: 12px; font-size: 12px; margin-bottom: 10px; font-weight: 500; }
        .list-item .title { font-weight: 600; color: var(--text-primary); margin-bottom: 6px; font-size: 15px; }
        .list-item .info { font-size: 13px; color: var(--text-muted); }
        .list-item .price { font-size: 20px; font-weight: 700; color: var(--primary); margin-top: 10px; }
        .list-item .status { display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: 11px; margin-top: 6px; font-weight: 600; }
        
        /* ===== 상태 배지 ===== */
        .status-pending { background: #fff3cd; color: #856404; }
        .status-quoting { background: #e7f3ff; color: #004085; }
        .status-matched { background: #d4edda; color: #155724; }
        .status-selected { background: #cce5ff; color: #004085; }
        .status-rejected { background: #f8d7da; color: #721c24; }
        .status-completed { background: #e9ecef; color: #495057; }
        
        /* ===== 상세 헤더 ===== */
        .detail-header { display: flex; align-items: center; margin-bottom: 20px; }
        .back-btn { 
            background: none; 
            border: none; 
            font-size: 28px; 
            cursor: pointer; 
            margin-right: 12px; 
            color: var(--text-primary);
            transition: transform 0.2s;
        }
        .back-btn:hover { transform: translateX(-3px); }
        
        /* ===== 상태 표시 ===== */
        .empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); }
        .empty-state .icon { font-size: 56px; margin-bottom: 15px; opacity: 0.8; }
        .loading { text-align: center; padding: 30px; color: var(--text-muted); }
        .loading::after { content: ''; display: inline-block; width: 16px; height: 16px; border: 2px solid #ddd; border-top-color: var(--primary); border-radius: 50%; animation: spin .6s linear infinite; margin-left: 8px; vertical-align: middle; }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* 스켈레톤 UI */
        @keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
        .skeleton-card { background: white; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; box-shadow: 0 2px 8px var(--shadow); }
        .skeleton-line { height: 14px; border-radius: 6px; background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 800px 100%; animation: shimmer 1.2s ease-in-out infinite; margin-bottom: 10px; }
        .skeleton-line.title { width: 65%; height: 16px; }
        .skeleton-line.short { width: 40%; }
        .skeleton-line.xshort { width: 25%; height: 12px; }
        .skeleton-photo { width: 100%; height: 120px; border-radius: 10px; background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 800px 100%; animation: shimmer 1.2s ease-in-out infinite; margin-bottom: 10px; }

        /* ===== 유저 정보 ===== */
        .user-info { background: var(--bg-light); padding: 16px; border-radius: 12px; margin-bottom: 16px; }
        .user-info .nickname { font-weight: 700; font-size: 17px; }
        .user-info .type { font-size: 13px; color: var(--primary); font-weight: 500; }
        
        .login-prompt { background: #fff3cd; border: 1px solid #ffc107; border-radius: 12px; padding: 18px; text-align: center; margin-bottom: 16px; }
        .login-prompt p { margin-bottom: 12px; color: #856404; font-weight: 500; }
        
        .notice-box { background: #e7f3ff; border: 1px solid #b3d7ff; border-radius: 12px; padding: 14px; margin-bottom: 16px; font-size: 13px; color: #004085; }
        
        /* ===== 모달 ===== */
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 200; justify-content: center; align-items: center; padding: 20px; backdrop-filter: blur(4px); }
        .modal-overlay.active { display: flex; }
        .modal-content { 
            background: white; 
            border-radius: 20px; 
            padding: 28px; 
            width: 100%; 
            max-width: 400px; 
            max-height: 85vh; 
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: modalSlideUp 0.3s ease;
        }
        @keyframes modalSlideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
        .modal-header h3 { font-size: 20px; font-weight: 700; }
        .modal-close { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-muted); transition: color 0.2s; }
        .modal-close:hover { color: var(--text-primary); }
        
        .coming-soon { text-align: center; padding: 30px; color: var(--text-muted); }
        .coming-soon .badge { display: inline-block; background: var(--accent); color: #333; padding: 4px 12px; border-radius: 12px; font-size: 11px; margin-bottom: 10px; font-weight: 600; }
        
        /* ===== 채팅 스타일 ===== */
        .chat-container { display: flex; flex-direction: column; height: calc(100vh - 110px); height: calc(100dvh - 110px); background: var(--bg-light); border-radius: 16px; overflow: hidden; }
        .chat-header-info { background: white; padding: 14px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
        .chat-header-info .title { font-weight: 700; font-size: 15px; color: var(--text-primary); }
        .chat-header-info .subtitle { font-size: 13px; color: var(--text-muted); }
        .chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
        .chat-message { max-width: 75%; padding: 12px 16px; border-radius: 20px; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 3px var(--shadow); }
        .chat-message.mine { 
            align-self: flex-end; 
            background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
            color: white; 
            border-bottom-right-radius: 6px; 
        }
        .chat-message.other { align-self: flex-start; background: white; color: var(--text-primary); border-bottom-left-radius: 6px; }
        .chat-message .time { font-size: 10px; opacity: 0.7; margin-top: 6px; }
        .chat-message.mine .time { text-align: right; }
        .chat-message.system { 
            align-self: center; 
            background: #e9ecef; 
            color: var(--text-secondary); 
            font-size: 13px; 
            max-width: 90%;
            text-align: center;
            border-radius: 12px;
            box-shadow: none;
        }
        .chat-message.system.guide {
            background: #e7f3ff;
            color: #004085;
            text-align: left;
            border: 1px solid #b3d7ff;
            white-space: pre-line;
        }
        .chat-input-area { display: flex; gap: 10px; padding: 14px; background: white; border-top: 1px solid var(--border); flex-shrink: 0; }
        .chat-input-area input { 
            flex: 1; 
            padding: 14px 18px; 
            border: 2px solid var(--border); 
            border-radius: 25px; 
            font-size: 15px; 
            outline: none; 
            min-width: 0;
            transition: border-color 0.2s;
        }
        .chat-input-area input:focus { border-color: var(--primary); }
        .chat-input-area button { 
            padding: 14px 22px; 
            background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
            color: white; 
            border: none; 
            border-radius: 25px; 
            font-size: 14px; 
            font-weight: 600;
            cursor: pointer; 
            flex-shrink: 0;
            transition: transform 0.2s;
        }
        .chat-input-area button:hover { transform: scale(1.05); }
        
        /* ===== 작업완료 상태 영역 ===== */
        .completion-status { background: white; padding: 14px 16px; border-bottom: 1px solid var(--border); }
        .completion-btn { width: 100%; padding: 14px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
        .completion-btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
        .completion-btn.warning { background: linear-gradient(135deg, var(--accent), #e0a800); color: #333; }
        .completion-btn.success { background: linear-gradient(135deg, var(--success), #218838); color: white; }
        .completion-btn.disabled { background: #ccc; color: #666; cursor: not-allowed; }
        .completion-progress { display: flex; gap: 10px; margin-top: 12px; }
        .completion-progress .step { flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: 500; }
        .completion-progress .step.done { background: #d4edda; color: #155724; }
        .completion-progress .step.waiting { background: #fff3cd; color: #856404; }
        .completion-progress .step.pending { background: #e9ecef; color: #6c757d; }
        
        /* ===== 금액 협상 영역 ===== */
        .price-negotiation { background: linear-gradient(135deg, #f0f7e6, #e8f5e9); padding: 14px 16px; border-bottom: 1px solid #ddd; }
        .price-negotiation .current-price { font-size: 20px; font-weight: 700; color: var(--primary); }
        .price-negotiation .original-price { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
        .price-negotiation .price-btn { padding: 8px 14px; border-radius: 8px; font-size: 12px; border: none; cursor: pointer; margin-left: 8px; font-weight: 600; transition: all 0.2s; }
        .price-negotiation .price-btn.modify { background: var(--accent); color: #333; }
        .price-negotiation .price-btn.accept { background: var(--success); color: white; }
        .price-negotiation .price-btn.cancel { background: var(--danger); color: white; }
        
        /* ===== 별점 스타일 ===== */
        .star-rating { display: flex; gap: 8px; font-size: 36px; cursor: pointer; }
        .star-rating .star { color: #ddd; transition: all 0.2s; }
        .star-rating .star.active { color: var(--accent); transform: scale(1.1); }
        .star-rating .star:hover { color: var(--accent); transform: scale(1.1); }
        
        .chat-room-item { 
            background: white; 
            border-radius: 14px; 
            padding: 16px; 
            margin-bottom: 12px; 
            cursor: pointer; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            box-shadow: 0 2px 8px var(--shadow);
            transition: all 0.2s;
        }
        .chat-room-item:hover { background: var(--bg-light); transform: translateY(-2px); box-shadow: 0 4px 16px var(--shadow-hover); }
        .chat-room-item .left { flex: 1; }
        .chat-room-item .title { font-weight: 600; font-size: 15px; margin-bottom: 5px; color: var(--text-primary); }
        .chat-room-item .last-message { font-size: 13px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .chat-room-item .right { text-align: right; }
        .chat-room-item .time { font-size: 11px; color: #aaa; }
        
        /* ===== 회원 등급 배지 ===== */
        .badge-general { background: #e9ecef; color: #495057; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
        .badge-verified { background: #cce5ff; color: #004085; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
        .badge-partner { background: #d4edda; color: #155724; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
        .badge-biz-verified { display:inline-block; background:#E3F2FD; color:#2196F3; padding:3px 8px; border-radius:10px; font-size:10px; font-weight:700; border:1.5px solid #2196F3; letter-spacing:-0.3px; }

        /* ===== 포인트 박스 ===== */
        .point-box { 
            background: linear-gradient(135deg, var(--primary), var(--primary-light)); 
            color: white; 
            padding: 20px; 
            border-radius: 16px; 
            margin-bottom: 16px;
            box-shadow: 0 4px 20px rgba(107, 142, 35, 0.3);
        }
        .point-box .label { font-size: 13px; opacity: 0.9; font-weight: 500; }
        .point-box .point { font-size: 32px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
        .point-box .info-btn { background: rgba(255,255,255,0.3); border: none; color: white; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 13px; }
        
        /* ===== 공지사항 띠배너 ===== */
        .notice-banner { 
            background: linear-gradient(90deg, var(--primary), var(--primary-light)); 
            color: white; 
            padding: 12px 16px; 
            font-size: 13px; 
            display: flex; 
            align-items: center; 
            gap: 10px;
            cursor: pointer;
        }
        .notice-banner .badge { 
            background: white; 
            color: var(--primary); 
            padding: 3px 10px; 
            border-radius: 12px; 
            font-size: 11px; 
            font-weight: 700;
            flex-shrink: 0;
        }
        .notice-banner .text { 
            flex: 1; 
            overflow: hidden; 
            text-overflow: ellipsis; 
            white-space: nowrap;
            font-weight: 500;
        }
        
        /* ===== 업그레이드 카드 ===== */
        .upgrade-card { 
            background: white; 
            border: 2px solid var(--primary); 
            border-radius: 16px; 
            padding: 24px; 
            margin-bottom: 16px;
            box-shadow: 0 4px 20px rgba(107, 142, 35, 0.15);
        }
        .upgrade-card .title { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
        .upgrade-card .desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.6; }
        .upgrade-card .benefit { background: #f0f7e6; padding: 14px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; line-height: 1.8; }
        
        /* ===== 마켓 거래 진행상황 바 ===== */
        #marketProgressBar {
            background: white;
            padding: 15px;
            border-bottom: 1px solid var(--border);
        }
        .progress-steps {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 10px;
        }
        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 0 0 auto;
        }
        .progress-step .step-circle {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #e9ecef;
            color: #888;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 5px;
            transition: all 0.3s ease;
        }
        .progress-step.active .step-circle {
            background: var(--primary);
            color: white;
            box-shadow: 0 2px 8px rgba(107, 142, 35, 0.4);
        }
        .progress-step.completed .step-circle {
            background: var(--success);
            color: white;
        }
        .progress-step .step-label {
            font-size: 10px;
            color: #888;
            text-align: center;
            white-space: nowrap;
        }
        .progress-step.active .step-label {
            color: var(--primary);
            font-weight: bold;
        }
        .progress-step.completed .step-label {
            color: var(--success);
        }
        .progress-line {
            flex: 1;
            height: 3px;
            background: #e9ecef;
            margin: 0 5px;
            margin-bottom: 20px;
        }
        .progress-line.completed {
            background: var(--success);
        }
        
        /* ===== 마켓 거래 액션 버튼 영역 ===== */
        #marketTransactionActions {
            background: white;
            border-bottom: 1px solid var(--border);
        }
        .transaction-action-box {
            padding: 15px;
        }
        .transaction-action-box .status-text {
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 12px;
            text-align: center;
        }
        .transaction-action-box .action-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
        }
        .transaction-action-box .action-buttons .btn {
            flex: 1;
            max-width: 200px;
        }
        .transaction-action-box .waiting-text {
            text-align: center;
            color: #856404;
            background: #fff3cd;
            padding: 12px;
            border-radius: 8px;
            font-size: 13px;
        }
        
        /* 거래 완료 박스 */
        .transaction-complete-box {
            padding: 20px;
            text-align: center;
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
        }
        .transaction-complete-box .complete-icon {
            font-size: 40px;
            margin-bottom: 10px;
        }
        .transaction-complete-box .complete-text {
            font-size: 16px;
            font-weight: bold;
            color: #155724;
            margin-bottom: 5px;
        }
        .transaction-complete-box .complete-amount {
            font-size: 14px;
            color: #155724;
            margin-bottom: 15px;
        }
        
        /* ===== 블로그형 에디터 ===== */
        .blog-editor {
            border: 1px solid var(--border);
            border-radius: 10px;
            background: white;
            padding: 10px;
            min-height: 200px;
        }
        .blog-block {
            margin-bottom: 10px;
            position: relative;
        }
        .blog-block:last-child {
            margin-bottom: 0;
        }
        .blog-block textarea {
            width: 100%;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 12px;
            font-size: 14px;
            line-height: 1.6;
            resize: none;
            min-height: 80px;
            transition: border-color 0.2s;
        }
        .blog-block textarea:focus {
            outline: none;
            border-color: var(--primary);
        }
        .blog-block textarea::placeholder {
            color: #aaa;
        }
        .add-image-btn {
            display: inline-block;
            margin-top: 8px;
            padding: 6px 12px;
            background: #f5f5f5;
            border: 1px dashed #ccc;
            border-radius: 6px;
            color: #666;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .add-image-btn:hover {
            background: #e8f5e9;
            border-color: var(--primary);
            color: var(--primary);
        }
        .blog-image-block {
            background: #f9f9f9;
            border-radius: 10px;
            padding: 10px;
            text-align: center;
            position: relative;
        }
        .blog-image-block img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 8px;
            object-fit: contain;
        }
        .blog-image-block .image-caption {
            width: 100%;
            border: none;
            border-bottom: 1px solid #ddd;
            padding: 8px;
            font-size: 12px;
            text-align: center;
            background: transparent;
            margin-top: 8px;
        }
        .blog-image-block .image-caption:focus {
            outline: none;
            border-bottom-color: var(--primary);
        }
        .blog-image-block .remove-image-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(220, 53, 69, 0.9);
            color: white;
            border: none;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .blog-image-block .remove-image-btn:hover {
            background: #c82333;
        }
        .blog-image-loading {
            padding: 30px;
            text-align: center;
            color: #888;
        }

/* ===== v6 메인 홈 스타일 ===== */
.v6-categories { background: white; padding: 18px 16px 14px; }
.v6-cat-grid { display: flex; justify-content: space-between; }
.v6-cat-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    cursor: pointer; width: 56px; transition: transform 0.12s;
}
.v6-cat-item:active { transform: scale(0.93); }
.v6-cat-icon {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.v6-cat-icon svg { width: 26px; height: 26px; }
.v6-cat-icon.matching { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.v6-cat-icon.expert { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.v6-cat-icon.market { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.v6-cat-icon.cert { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }
.v6-cat-icon.community { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); }
.v6-cat-label { font-size: 11px; font-weight: 600; color: #666; text-align: center; white-space: nowrap; }

/* 배너 */
.v6-banner-section { padding: 12px 16px 8px; }
.v6-banner-slides {
    display: flex; gap: 10px; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none;
}
.v6-banner-slides::-webkit-scrollbar { display: none; }
.v6-banner-card {
    min-width: 85%; scroll-snap-align: start;
    border-radius: 16px; overflow: hidden; cursor: pointer;
    position: relative; transition: transform 0.12s; padding: 22px 20px; color: white;
}
.v6-banner-card:active { transform: scale(0.99); }
.v6-banner-card.v6-intro { background: linear-gradient(135deg, #4A7C59, #3A6248); }
.v6-banner-card.v6-intro .v6-banner-title { font-size: 16px; font-weight: 600; line-height: 1.5; }
.v6-banner-card.v6-intro .v6-banner-title strong { font-weight: 800; }
.v6-banner-card.v6-event { background: linear-gradient(135deg, #E07830, #C06020); }
.v6-banner-card.v6-mall { background: linear-gradient(135deg, #5C7A3E, #4A6830); }
.v6-banner-tag {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    background: rgba(255,255,255,0.2); font-size: 10px; font-weight: 600; margin-bottom: 8px;
}
.v6-banner-title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.v6-banner-desc { font-size: 12px; opacity: 0.8; }
.v6-banner-cta { margin-top: 8px; font-size: 12px; font-weight: 600; opacity: 0.9; }
.v6-banner-dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.v6-dot { width: 6px; height: 6px; border-radius: 50%; background: #DDD; }
.v6-dot.active { background: #4A7C59; width: 16px; border-radius: 3px; }

/* 퀵 액션 */
.v6-quick-actions { padding: 8px 16px 12px; display: flex; gap: 8px; }
.v6-quick-btn {
    flex: 1; background: white; border-radius: 12px;
    padding: 14px 12px; cursor: pointer; border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); font-family: inherit;
    transition: transform 0.12s; display: flex; align-items: center; gap: 10px;
}
.v6-quick-btn:active { transform: scale(0.97); }
.v6-quick-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.v6-quick-icon svg { width: 18px; height: 18px; }
.v6-quick-icon.green { background: #E8F5E9; }
.v6-quick-icon.orange { background: #FFF3E0; }
.v6-quick-text { text-align: left; }
.v6-quick-title { font-size: 13px; font-weight: 700; color: #1A1A1A; }
.v6-quick-sub { font-size: 10px; color: #999; margin-top: 1px; }

/* 섹션 */
.v6-section { padding: 16px 16px 12px; }
.v6-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.v6-section-title { font-size: 16px; font-weight: 700; }
.v6-section-more {
    font-size: 12px; color: #999; cursor: pointer;
    background: none; border: none; font-family: inherit;
}

/* 베스트 시공사례 카드 */
.v6-best-card {
    background: white; border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); cursor: pointer;
    transition: transform 0.12s;
}
.v6-best-card:active { transform: scale(0.99); }
.v6-best-photo {
    width: 100%; height: 180px; background: linear-gradient(135deg, #C1D8C3, #8BB58E);
    display: flex; align-items: center; justify-content: center; position: relative;
    overflow: hidden;
}
.v6-best-photo img { width: 100%; height: 100%; object-fit: cover; }
.v6-best-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 10px; border-radius: 6px;
    background: #FF6B6B; color: white; font-size: 11px; font-weight: 700;
}
.v6-best-content { padding: 12px 14px; }
.v6-best-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.v6-best-bottom { display: flex; justify-content: space-between; align-items: center; }
.v6-best-author { font-size: 12px; color: #999; }
.v6-best-stats { display: flex; gap: 10px; font-size: 12px; color: #999; }

/* 인기 전문가 가로 스크롤 */
.v6-expert-scroll {
    display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px;
}
.v6-expert-scroll::-webkit-scrollbar { display: none; }
.v6-expert-card {
    min-width: 160px; max-width: 180px; background: white; border-radius: 12px;
    padding: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer; flex-shrink: 0; transition: transform 0.12s; text-align: center;
}
.v6-expert-card:active { transform: scale(0.97); }
.v6-expert-avatar {
    width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 8px;
    background: #E8F5E9; display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.v6-expert-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.v6-expert-spec { font-size: 10px; color: #999; margin-bottom: 6px; }
.v6-expert-rating { font-size: 11px; color: #FFB800; font-weight: 600; }
.v6-expert-rating span { color: #999; font-weight: 400; }

/* 최근 거래 가로 스크롤 */
.v6-trade-scroll {
    display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px;
}
.v6-trade-scroll::-webkit-scrollbar { display: none; }
.v6-trade-card {
    min-width: 180px; max-width: 200px; background: white; border-radius: 12px;
    overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer; flex-shrink: 0; transition: transform 0.12s;
}
.v6-trade-card:active { transform: scale(0.97); }
.v6-trade-thumb {
    height: 110px; display: flex; align-items: center; justify-content: center;
    position: relative; background: linear-gradient(135deg, #DCEDC8, #C5E1A5); overflow: hidden;
}
.v6-trade-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v6-trade-type {
    position: absolute; top: 6px; left: 6px;
    padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; color: white;
}
.v6-trade-type.sell { background: #3B7DD8; }
.v6-trade-type.buy { background: #E07830; }
.v6-trade-info { padding: 10px 12px; }
.v6-trade-title {
    font-size: 13px; font-weight: 600; margin-bottom: 4px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    -webkit-text-size-adjust: 100%;
}
.v6-trade-price { font-size: 14px; font-weight: 700; color: #4A7C59; -webkit-text-size-adjust: 100%; }
.v6-trade-meta { font-size: 10px; color: #999; margin-top: 2px; -webkit-text-size-adjust: 100%; }

/* 커뮤니티 미리보기 */
.v6-comm-preview { background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); overflow: hidden; }
.v6-comm-item {
    padding: 12px 14px; border-bottom: 1px solid #F5F5F5;
    cursor: pointer; transition: background 0.1s;
}
.v6-comm-item:last-child { border-bottom: none; }
.v6-comm-item:active { background: #FAFAFA; }
.v6-comm-top { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.v6-comm-badge {
    padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; flex-shrink: 0;
}
.v6-comm-badge.free { background: #F3E5F5; color: #8E44AD; }
.v6-comm-badge.question { background: #E3F2FD; color: #3B7DD8; }
.v6-comm-badge.resource { background: #E8F5E9; color: #4A7C59; }
.v6-comm-badge.cert { background: #FFF3E0; color: #E07830; }
.v6-comm-title {
    font-size: 13px; font-weight: 500; line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.v6-comm-meta { font-size: 10px; color: #999; margin-top: 3px; display: flex; gap: 8px; }

/* 푸터 */
.v6-footer {
    background: #F0F0F0; padding: 16px 16px 80px;
    text-align: center; margin-top: 8px;
}
.v6-footer-logo { font-size: 14px; font-weight: 700; color: #4A7C59; margin-bottom: 8px; }
.v6-footer-links { display: flex; justify-content: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.v6-footer-links span { font-size: 11px; color: #999; cursor: pointer; }
.v6-footer-copy { font-size: 10px; color: #CCC; }

/* 반응형 */
@media (max-width: 360px) {
    .v6-cat-icon { width: 44px; height: 44px; border-radius: 12px; }
    .v6-cat-icon svg { width: 22px; height: 22px; }
    .v6-cat-label { font-size: 10px; }
    .v6-banner-title { font-size: 15px; }
}

/* ===== v6 심다매칭 리뉴얼 ===== */
.v6-sub-header {
    display: flex; align-items: center; height: 48px; padding: 0 12px;
    background: white; border-bottom: 1px solid #eee; gap: 8px;
}
.v6-back-btn {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; border-radius: 8px;
}
.v6-back-btn:active { background: #f0f0f0; }
.v6-back-btn svg { width: 20px; height: 20px; }
.v6-page-title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; }

.v6-filter-bar {
    display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto;
    scrollbar-width: none; background: white; border-bottom: 1px solid #f0f0f0;
}
.v6-filter-bar::-webkit-scrollbar { display: none; }
.v6-filter-chip {
    padding: 6px 14px; border-radius: 20px; border: 1px solid #ddd;
    background: white; font-size: 13px; font-weight: 500; color: #666;
    cursor: pointer; white-space: nowrap; font-family: inherit;
    transition: all 0.15s;
}
.v6-filter-chip:active { transform: scale(0.96); }
.v6-filter-chip.active {
    background: #4A7C59; color: white; border-color: #4A7C59; font-weight: 600;
}

.v6-sort-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 14px; font-size: 12px; color: #888;
}
.v6-sort-left { font-size: 12px; color: #888; }
.v6-sort-left strong { color: #4A7C59; }
.v6-sort-right { display: flex; gap: 6px; align-items: center; }
.v6-sort-opt {
    padding: 4px 10px; border-radius: 6px; border: 1px solid #eee;
    background: white; font-size: 11px; color: #888; cursor: pointer;
    font-family: inherit;
}
.v6-sort-opt.active { background: #f0f7e6; color: #4A7C59; border-color: #4A7C59; font-weight: 600; }

.v6-list-container { padding: 0 12px 80px; }

/* 견적 카드 */
.v6-quote-card {
    background: white; border-radius: 14px; padding: 14px 16px;
    margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    cursor: pointer; transition: transform 0.1s;
}
.v6-quote-card:active { transform: scale(0.99); }
.v6-quote-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.v6-quote-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.v6-cat-badge {
    padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600;
    background: #E8F5E9; color: #4A7C59;
}
.v6-tax-badge {
    padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600;
    background: #E3F2FD; color: #2196F3;
}
.v6-status-badge {
    padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600;
    white-space: nowrap;
}
.v6-status-badge.open { background: #E8F5E9; color: #28a745; }
.v6-status-badge.progress { background: #FFF3E0; color: #E07830; }
.v6-status-badge.completed { background: #F5F5F5; color: #999; }
.v6-quote-title {
    font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v6-quote-meta {
    display: flex; align-items: center; gap: 4px; font-size: 11px; color: #999;
    flex-wrap: wrap; margin-bottom: 8px;
}
.v6-quote-meta svg { width: 12px; height: 12px; flex-shrink: 0; }
.v6-meta-dot { width: 2px; height: 2px; border-radius: 50%; background: #ccc; }
.v6-quote-count { color: #4A7C59; font-weight: 600; }
.v6-quote-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 8px; border-top: 1px solid #f5f5f5;
}
.v6-quote-author { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #666; }
.v6-author-avatar {
    width: 22px; height: 22px; border-radius: 50%; background: #f0f0f0;
    display: flex; align-items: center; justify-content: center;
}
.v6-author-avatar svg { width: 14px; height: 14px; }
.v6-author-rating { color: #FFB800; font-weight: 600; font-size: 11px; }
.v6-author-rating svg { width: 10px; height: 10px; fill: #FFB800; vertical-align: middle; }
.v6-quote-time { font-size: 11px; color: #bbb; }

/* FAB 버튼 */
.v6-fab {
    position: fixed; bottom: calc(80px + env(safe-area-inset-bottom)); right: calc(50% - 215px + 16px);
    width: 52px; height: 52px; border-radius: 50%;
    background: #4A7C59 !important; color: white !important; border: none !important;
    box-shadow: 0 4px 12px rgba(74,124,89,0.4);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 90; transition: transform 0.15s;
}
@media (max-width: 430px) {
    .v6-fab { right: 16px; }
}
.v6-fab:active { transform: scale(0.92); }
.v6-fab svg { width: 24px; height: 24px; }

/* ===== v6 상세 페이지 공통 ===== */
.v6-detail-section {
    background: white; margin-bottom: 8px; padding: 18px 16px;
}
.v6-detail-label {
    font-size: 12px; font-weight: 600; color: #999; margin-bottom: 12px;
}
.v6-info-row {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid #F5F5F5;
}
.v6-info-row:last-child { border-bottom: none; }
.v6-info-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.v6-info-icon svg { width: 16px; height: 16px; }
.v6-info-text { flex: 1; }
.v6-info-label { font-size: 11px; color: #999; margin-bottom: 2px; }
.v6-info-value { font-size: 14px; font-weight: 500; line-height: 1.4; }

/* ===== v6 거래인증 전용 ===== */
.v6-cert-best { background: white; margin-bottom: 8px; }
.v6-cert-best-scroll {
    display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 14px;
    scrollbar-width: none;
}
.v6-cert-best-scroll::-webkit-scrollbar { display: none; }
.v6-cert-best-card {
    min-width: 130px; max-width: 130px; cursor: pointer; flex-shrink: 0;
    transition: transform 0.12s;
}
.v6-cert-best-card:active { transform: scale(0.97); }
.v6-cert-best-img {
    width: 130px; height: 90px; border-radius: 10px; object-fit: cover;
    background: #f0f0f0;
}
.v6-cert-best-title {
    font-size: 12px; font-weight: 600; margin-top: 6px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v6-cert-best-meta { font-size: 10px; color: #999; margin-top: 2px; }

.v6-cert-card {
    background: white; border-radius: 14px; margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05); cursor: pointer;
    overflow: hidden; transition: transform 0.1s;
}
.v6-cert-card:active { transform: scale(0.99); }
.v6-cert-photo { width: 100%; height: 180px; overflow: hidden; }
.v6-cert-photo img { width: 100%; height: 100%; object-fit: cover; }
.v6-cert-content { padding: 12px 14px; }
.v6-cert-title {
    font-size: 14px; font-weight: 600; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== v6 마켓 목록 카드 ===== */
.v6-market-item {
    display: flex; gap: 12px; background: white; border-radius: 14px;
    margin-bottom: 10px; padding: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    cursor: pointer; transition: transform 0.1s;
}
.v6-market-item:active { transform: scale(0.99); }
.v6-market-thumb {
    width: 110px; height: 110px; border-radius: 10px; flex-shrink: 0;
    overflow: hidden; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.v6-market-content {
    flex: 1; display: flex; flex-direction: column; justify-content: space-between;
    min-width: 0;
}
.v6-market-title {
    font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v6-market-price {
    font-size: 15px; font-weight: 700; color: #4A7C59;
}

/* ===== v6 커뮤니티 카드 ===== */
.v6-comm-card {
    background: white; border-radius: 14px; padding: 14px 16px;
    margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    cursor: pointer; transition: transform 0.1s;
}
.v6-comm-card:active { transform: scale(0.99); }
.v6-comm-card.hot { border-left: 3px solid #FF6B6B; }
.v6-comm-title {
    font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v6-comm-excerpt {
    font-size: 12px; color: #999; line-height: 1.4; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.v6-comm-bottom {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 11px; color: #999;
}

/* ===== v6 거래인증 2열 그리드 ===== */
.v6-cert-grid-card {
    background: white; border-radius: 12px; overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05); cursor: pointer; transition: transform 0.1s;
}
.v6-cert-grid-card:active { transform: scale(0.97); }
.v6-cert-grid-photo { width: 100%; height: 120px; overflow: hidden; background: #f5f5f5; }
.v6-cert-grid-photo img { width: 100%; height: 100%; object-fit: cover; }
.v6-cert-grid-content { padding: 10px; }
.v6-cert-grid-badge {
    display: inline-block; padding: 2px 6px; border-radius: 4px;
    font-size: 9px; font-weight: 600; background: #F3E5F5; color: #8E44AD; margin-bottom: 4px;
}
.v6-cert-grid-title {
    font-size: 12px; font-weight: 600; line-height: 1.3; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v6-cert-grid-meta { display: flex; gap: 8px; font-size: 10px; color: #999; }

/* ===== v6 베스트인증 큰 카드 ===== */
.v6-cert-best-scroll { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 12px; }
.v6-cert-best-scroll::-webkit-scrollbar { display: none; }
.v6-cert-best-big {
    min-width: 280px; max-width: 320px; flex-shrink: 0;
    background: white; border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(74,124,89,0.12); border: 1.5px solid rgba(74,124,89,0.15);
    cursor: pointer; transition: transform 0.12s;
}
.v6-cert-best-big:active { transform: scale(0.98); }
.v6-cert-best-big-photo { width: 100%; height: 180px; overflow: hidden; position: relative; background: #f0f7e6; }
.v6-cert-best-big-photo img { width: 100%; height: 100%; object-fit: cover; }
.v6-cert-best-big-crown {
    position: absolute; top: 10px; left: 10px;
    background: linear-gradient(135deg, #FFB800, #FF9500);
    color: white; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 700; box-shadow: 0 2px 8px rgba(255,184,0,0.3);
}
.v6-cert-best-big-content { padding: 14px 16px; }

/* ===== 인앱브라우저 (카카오톡/네이버) 대응 ===== */
.in-app-browser * {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}
.in-app-browser body {
    font-size: 14px !important;
}
.in-app-browser .header-logo {
    font-size: 20px !important;
}
.in-app-browser .v6-cat-label {
    font-size: 11px !important;
}
.in-app-browser .v6-banner-title {
    font-size: 16px !important;
}
.in-app-browser .v6-section-title {
    font-size: 16px !important;
}
.in-app-browser h3 {
    font-size: 16px !important;
}
.in-app-browser .btn {
    font-size: 14px !important;
}
.in-app-browser input, .in-app-browser textarea, .in-app-browser select {
    font-size: 14px !important;
}

/* ===== 마이페이지 시안 CSS (mp-) ===== */
.mp-profile-card { background: white; padding: 20px 16px; margin-bottom: 8px; }
.mp-profile-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.mp-profile-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, #4A7C59, #6B9E7A);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mp-profile-avatar svg { width: 32px; height: 32px; }
.mp-profile-info { flex: 1; }
.mp-profile-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.mp-name-edit { background: none; border: none; cursor: pointer; padding: 2px; display: flex; align-items: center; }
.mp-name-edit svg { width: 14px; height: 14px; }
.mp-badge { display: inline-flex; align-items: center; gap: 3px; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.mp-badge.partner { background: #E8F5E9; color: #4A7C59; }
.mp-badge.verified { background: #E3F2FD; color: #3B7DD8; }
.mp-badge.farmer { background: #FFF8E1; color: #F57F17; }
.mp-badge.general { background: #F0F0F0; color: #999; }
.mp-profile-email { font-size: 12px; color: #999; margin-top: 4px; }

.mp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #FAFAFA; border-radius: 10px; overflow: hidden; }
.mp-stats-item { text-align: center; padding: 14px 0; cursor: pointer; border-right: 1px solid #F0F0F0; }
.mp-stats-item:last-child { border-right: none; }
.mp-stats-item:active { background: #F0F0F0; }
.mp-stats-num { font-size: 16px; font-weight: 700; color: #4A7C59; margin-bottom: 2px; }
.mp-stats-label { font-size: 10px; color: #999; white-space: nowrap; }

.mp-point-card {
    background: linear-gradient(135deg, #4A7C59, #3A6248);
    margin: 0 16px 8px; border-radius: 14px; padding: 18px;
    color: white; cursor: pointer;
}
.mp-point-card:active { transform: scale(0.99); }
.mp-point-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mp-point-label { font-size: 12px; opacity: 0.8; }
.mp-point-arrow { font-size: 12px; opacity: 0.6; }
.mp-point-value { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.mp-point-value span { font-size: 16px; font-weight: 500; }

.mp-menu-section { background: white; margin-bottom: 8px; padding: 6px 0; }
.mp-menu-title { padding: 10px 16px 4px; font-size: 12px; font-weight: 600; color: #999; }
.mp-menu-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.mp-menu-item:active { background: #F8F8F8; }
.mp-menu-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mp-menu-icon svg { width: 18px; height: 18px; }
.mp-menu-icon.green { background: #E8F5E9; }
.mp-menu-icon.green svg { stroke: #4A7C59; }
.mp-menu-icon.blue { background: #E3F2FD; }
.mp-menu-icon.blue svg { stroke: #3B7DD8; }
.mp-menu-icon.orange { background: #FFF3E0; }
.mp-menu-icon.orange svg { stroke: #E07830; }
.mp-menu-icon.purple { background: #F3E5F5; }
.mp-menu-icon.purple svg { stroke: #8E44AD; }
.mp-menu-icon.gray { background: #F5F5F5; }
.mp-menu-icon.gray svg { stroke: #999; }
.mp-menu-text { flex: 1; }
.mp-menu-label { font-size: 14px; font-weight: 500; }
.mp-menu-desc { font-size: 11px; color: #999; margin-top: 1px; }
.mp-menu-arrow { color: #CCC; font-size: 16px; flex-shrink: 0; }

.mp-upgrade-banner {
    margin: 0 16px 8px;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-radius: 10px; padding: 16px;
    display: flex; align-items: center; gap: 12px; cursor: pointer;
}
.mp-upgrade-banner:active { transform: scale(0.99); }
.mp-upgrade-icon { font-size: 28px; flex-shrink: 0; }
.mp-upgrade-text { flex: 1; }
.mp-upgrade-title { font-size: 14px; font-weight: 700; color: #1565C0; }
.mp-upgrade-desc { font-size: 11px; color: #42A5F5; margin-top: 2px; }

.mp-bottom-actions { padding: 10px 16px 80px; display: flex; gap: 12px; justify-content: center; }
.mp-text-btn { background: none; border: none; font-size: 13px; color: #999; cursor: pointer; font-family: inherit; padding: 8px 12px; }
.mp-text-btn:active { color: #1A1A1A; }
.mp-text-btn.danger { color: #E53935; }

/* ===== 거래인증 상세 시안 CSS (cd-) ===== */
.cd-photo-gallery { width: 100%; height: 320px; position: relative; overflow: hidden; }
.cd-photo-slides { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cd-photo-slides::-webkit-scrollbar { display: none; }
.cd-photo-slide { min-width: 100%; height: 100%; scroll-snap-align: start; }
.cd-photo-slide img { width: 100%; height: 100%; object-fit: cover; }
.cd-photo-indicator { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.cd-photo-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: all 0.2s; }
.cd-photo-dot.active { background: white; width: 20px; border-radius: 4px; }
.cd-photo-count { position: absolute; bottom: 14px; right: 14px; background: rgba(0,0,0,0.5); color: white; padding: 3px 10px; border-radius: 12px; font-size: 11px; }
.cd-badge-float { position: absolute; top: 14px; left: 14px; padding: 5px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; color: white; z-index: 2; }
.cd-badge-float.matching { background: #4A7C59; }
.cd-badge-float.market { background: #E07830; }
.cd-badge-float.direct { background: #3B7DD8; }
.cd-detail-content { padding-bottom: 80px; }
.cd-section { background: white; margin-bottom: 8px; padding: 18px 16px; }
.cd-section-label { font-size: 12px; font-weight: 600; color: #999; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.cd-section-label svg { width: 16px; height: 16px; }
.cd-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.cd-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #999; }
.cd-meta-sep { width: 1px; height: 10px; background: #DDD; }
.cd-author-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: #FAFAFA; border-radius: 10px; }
.cd-author-avatar { width: 48px; height: 48px; border-radius: 50%; background: #E8F5E9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cd-author-avatar svg { width: 28px; height: 28px; }
.cd-author-detail { flex: 1; }
.cd-author-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.cd-author-sub { font-size: 12px; color: #999; }
.cd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.cd-rating-stars { display: flex; gap: 2px; }
.cd-rating-score { font-size: 20px; font-weight: 700; color: #4A7C59; }
.cd-review-text { font-size: 14px; line-height: 1.8; color: #666; white-space: pre-wrap; }
.cd-trade-card { background: linear-gradient(135deg, #F0F7F2, #E2EEE5); border-radius: 10px; padding: 16px; }
.cd-trade-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(74,124,89,0.1); }
.cd-trade-row:last-child { border-bottom: none; }
.cd-trade-label { font-size: 13px; color: #666; }
.cd-trade-value { font-size: 14px; font-weight: 600; }
.cd-bottom-action { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; background: white; padding: 10px 16px 14px; border-top: 1px solid #EAEAEA; display: flex; gap: 10px; align-items: center; z-index: 100; box-shadow: 0 -2px 10px rgba(0,0,0,0.04); }
.cd-btn-like { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid #FF6B6B; background: #FFF5F5; font-size: 14px; font-weight: 600; color: #FF6B6B; cursor: pointer; font-family: inherit; white-space: nowrap; }
.cd-btn-like.active { background: #FF6B6B; color: white; }
.cd-comment-input-wrap { flex: 1; display: flex; align-items: center; background: #F5F5F5; border-radius: 12px; padding: 4px 4px 4px 14px; }
.cd-comment-input { flex: 1; border: none; background: none; outline: none; font-size: 14px; font-family: inherit; color: #1A1A1A; }
.cd-comment-input::placeholder { color: #BBB; }
.cd-comment-send { width: 36px; height: 36px; border-radius: 10px; background: #4A7C59; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ===== 가로 스크롤 공통 개선 ===== */
.v6-expert-scroll, .v6-trade-scroll, .v6-banner-slides {
    -webkit-user-select: none; user-select: none;
    cursor: grab; position: relative;
}
.v6-expert-scroll:active, .v6-trade-scroll:active, .v6-banner-slides:active {
    cursor: grabbing;
}

/* 스크롤 래퍼 (화살표 포함) */
.scroll-wrapper {
    position: relative;
}
.scroll-arrow {
    display: none; position: absolute; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: white; border: 1px solid #E0E0E0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer; z-index: 10;
    align-items: center; justify-content: center;
    font-size: 14px; color: #666;
}
.scroll-arrow:hover { background: #F5F5F5; }
.scroll-arrow.left { left: -8px; }
.scroll-arrow.right { right: -8px; }
@media (min-width: 768px) {
    .scroll-arrow { display: flex; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== 사진 갤러리 좌우 화살표 (PC/웹 환경) ===== */
.cd-photo-gallery .cd-arrow,
.v6-photo-gallery .v6-arrow {
    display: none; /* 기본 숨김 (모바일) */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
    padding: 0;
}
.cd-photo-gallery .cd-arrow:hover,
.v6-photo-gallery .v6-arrow:hover { background: rgba(0,0,0,0.6); }
.cd-photo-gallery .cd-arrow.left,
.v6-photo-gallery .v6-arrow.left { left: 10px; }
.cd-photo-gallery .cd-arrow.right,
.v6-photo-gallery .v6-arrow.right { right: 10px; }

/* PC 환경에서만 표시 (hover 가능 디바이스) */
@media (hover: hover) and (pointer: fine) {
    .cd-photo-gallery .cd-arrow,
    .v6-photo-gallery .v6-arrow { display: flex; }
}

/* 가로 스크롤 섹션 좌우 화살표 */
.v6-scroll-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    z-index: 5;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}
.v6-scroll-arrow:hover { background: rgba(0,0,0,0.55); }
.v6-scroll-arrow.left { left: 0; }
.v6-scroll-arrow.right { right: 0; }
@media (hover: hover) and (pointer: fine) {
    .v6-scroll-arrow { display: flex; }
}
.v6-scroll-wrapper { position: relative; }
