<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>허니라이프</title>
    <link>https://ehdgus190.tistory.com/</link>
    <description>AI 연구원의 눈으로 꼼꼼하게 골라낸 30대 맞춤형 '인생 정답지' 공간입니다.
내 자산을 든든하게 지켜줄 똑똑한 투자 노하우와 재테크 팁을 쉽고 다정하게 전해드려요.
테니스와 자취 요리처럼 우리가 사랑하는 일상도 알고리즘처럼 효율적으로 즐기는 방법을 연구합니다.
복잡한 세상 속에서 당신의 소중한 시간과 돈을 아껴주는 든든한 가이드가 되어 드릴게요.</description>
    <language>ko</language>
    <pubDate>Wed, 10 Jun 2026 16:32:03 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>HoneyEater</managingEditor>
    <image>
      <title>허니라이프</title>
      <url>https://tistory1.daumcdn.net/tistory/8629318/attach/8a2b2d157a3843b3bf9f84835d4e8959</url>
      <link>https://ehdgus190.tistory.com</link>
    </image>
    <item>
      <title>노후 자산 수명 시뮬레이터'로 은퇴 준비하기(얼마 있어야 퇴직할까?)</title>
      <link>https://ehdgus190.tistory.com/entry/%EB%85%B8%ED%9B%84-%EC%9E%90%EC%82%B0-%EC%88%98%EB%AA%85-%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%ED%84%B0%EB%A1%9C-%EC%9D%80%ED%87%B4-%EC%A4%80%EB%B9%84%ED%95%98%EA%B8%B0%EC%96%BC%EB%A7%88-%EC%9E%88%EC%96%B4%EC%95%BC-%ED%87%B4%EC%A7%81%ED%95%A0%EA%B9%8C</link>
      <description>&lt;p data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size16&quot;&gt;안녕하세요! 여러분은 '은퇴'라는 단어를 들으면 어떤 생각이 먼저 드시나요? 막연한 기대감보다는 &quot;과연 내가 모은 돈으로 죽을 때까지 살 수 있을까?&quot;라는 불안감이 앞서지는 않으신가요?&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;단순히 10억, 20억이라는 목표 금액을 정하는 것보다 중요한 것은, 내 자산이 &lt;b&gt;물가 상승률&lt;/b&gt;과 &lt;b&gt;투자 수익률&lt;/b&gt; 사이에서 얼마나 오래 버텨주는가를 파악하는 것입니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;오늘은 현재 내 자산 상태와 생활비를 입력하면 자산 고갈 시점을 실시간으로 예측해 주는 노후 자산 수명 시뮬레이터를 공유합니다.&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  노후 자산 수명 시뮬레이터&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;아래 계산기에 현재 나이, 은퇴 희망 나이, 그리고 예상되는 생활비를 입력해 보세요. 단순히 돈을 쓰는 것뿐만 아니라, 은퇴 후에도 남은 자산이 계속해서 수익을 낸다는 가정하에 정교하게 계산됩니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot;&gt;
    &lt;title&gt;은퇴 자산 및 필요 수익률 시뮬레이터&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700;900&amp;display=swap');
        
        /* 티스토리 및 외부 환경 스타일 간섭 방지 */
        #retirement-calc-root {
            font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
            line-height: 1.6 !important;
            color: #1e293b !important;
            background-color: #f8fafc !important;
            padding: 1.5rem 0.75rem !important;
            border-radius: 1.5rem !important;
            max-width: 950px !important;
            margin: 20px auto !important;
            display: block !important;
            text-align: left !important;
            border: 1px solid #e2e8f0 !important;
            box-sizing: border-box !important;
            touch-action: manipulation; /* 모바일 터치 반응성 향상 */
        }

        #retirement-calc-root * { 
            box-sizing: border-box !important; 
            text-shadow: none !important; 
        }

        #retirement-calc-root .input-card {
            background-color: #ffffff !important;
            border-radius: 1rem !important;
            padding: 1.25rem !important;
            margin-bottom: 1rem !important;
            border: 1px solid #e2e8f0 !important;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
            display: block !important;
        }

        #retirement-calc-root label {
            display: block !important;
            font-size: 0.8125rem !important;
            font-weight: 800 !important;
            color: #475569 !important;
            margin-bottom: 0.5rem !important;
        }

        #retirement-calc-root input {
            width: 100% !important;
            height: 3.25rem !important; /* 모바일 터치 영역 확보 */
            padding: 0 1rem !important;
            border-radius: 0.75rem !important;
            border: 2px solid #cbd5e1 !important;
            background-color: #ffffff !important;
            font-weight: 800 !important;
            color: #1e293b !important;
            font-size: 1.125rem !important;
            outline: none !important;
            display: block !important;
            -webkit-appearance: none; /* 모바일 기본 스타일 제거 */
        }

        #retirement-calc-root input:focus {
            border-color: #3b82f6 !important;
            background-color: #f0f9ff !important;
        }

        /* 결과 요약 섹션 */
        #retirement-calc-root .result-gradient {
            background-color: #0f172a !important;
            background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%) !important;
            color: #ffffff !important;
            padding: 2.5rem 1.25rem !important;
            border-radius: 1.5rem !important;
            margin-bottom: 1.5rem !important;
            text-align: center !important;
            box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.4) !important;
            display: block !important;
        }

        #retirement-calc-root .metric-grid {
            display: grid !important;
            grid-template-columns: 1fr !important;
            gap: 0.75rem !important;
            margin-top: 1.5rem !important;
        }

        #retirement-calc-root .metric-item {
            background-color: rgba(255, 255, 255, 0.1) !important;
            padding: 1.25rem !important;
            border-radius: 1.25rem !important;
            text-align: center !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
        }

        /* 데이터 테이블 */
        #retirement-calc-root .table-container {
            margin-top: 2rem !important;
            overflow-x: auto !important;
            border-radius: 1rem !important;
            border: 1px solid #e2e8f0 !important;
            background: white !important;
            -webkit-overflow-scrolling: touch;
        }

        #retirement-calc-root table {
            width: 100% !important;
            border-collapse: collapse !important;
            font-size: 0.8125rem !important;
            min-width: 650px !important;
        }

        #retirement-calc-root th {
            background-color: #f1f5f9 !important;
            color: #475569 !important;
            font-weight: 800 !important;
            padding: 1rem 0.5rem !important;
            text-align: center !important;
            border-bottom: 2px solid #e2e8f0 !important;
            white-space: nowrap !important;
        }

        #retirement-calc-root td {
            padding: 0.875rem 0.5rem !important;
            border-bottom: 1px solid #f1f5f9 !important;
            text-align: center !important;
            color: #1e293b !important;
            font-weight: 600 !important;
        }

        #retirement-calc-root tr.retire-row td {
            background-color: #eff6ff !important;
            color: #2563eb !important;
            font-weight: 800 !important;
        }

        #retirement-calc-root .grid-3 { display: block !important; }

        @media (min-width: 768px) {
            #retirement-calc-root { padding: 2rem 1.5rem !important; }
            #retirement-calc-root .grid-3 {
                display: grid !important;
                grid-template-columns: 1fr 1fr 1fr !important;
                gap: 1rem !important;
            }
            #retirement-calc-root .metric-grid {
                grid-template-columns: repeat(3, 1fr) !important;
            }
        }

        #retirement-calc-root p, #retirement-calc-root h1, #retirement-calc-root h3 {
            margin: 0 !important;
            padding: 0 !important;
            color: inherit !important;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id=&quot;retirement-calc-root&quot;&gt;
        &lt;div style=&quot;text-align: center !important; margin-bottom: 2rem !important;&quot;&gt;
            &lt;h1 style=&quot;font-size: 1.75rem !important; font-weight: 900 !important; color: #0f172a !important; margin-bottom: 0.5rem !important;&quot;&gt;  생애 주기 자산 변화 시뮬레이터&lt;/h1&gt;
            &lt;p style=&quot;font-size: 0.875rem !important; color: #64748b !important; font-weight: 600 !important;&quot;&gt;투자 수익과 연간 저축액을 반영한 정밀 시뮬레이션&lt;/p&gt;
        &lt;/div&gt;

        &lt;!-- Result Dashboard --&gt;
        &lt;div class=&quot;result-gradient&quot;&gt;
            &lt;div style=&quot;font-size: 0.875rem !important; opacity: 0.9 !important; margin-bottom: 0.5rem !important; font-weight: 700; color: #ffffff !important;&quot;&gt;목표 수명 종료 시 예상되는 결과&lt;/div&gt;
            &lt;div id=&quot;resTitle&quot; style=&quot;font-size: 1.75rem !important; font-weight: 900 !important; line-height: 1.2 !important; margin-bottom: 1.5rem !important; color: #ffffff !important;&quot;&gt;분석 중...&lt;/div&gt;
            
            &lt;div class=&quot;metric-grid&quot;&gt;
                &lt;div class=&quot;metric-item&quot;&gt;
                    &lt;div style=&quot;font-size: 0.75rem; opacity: 0.8; font-weight: 700; margin-bottom: 0.5rem; color: #ffffff !important;&quot;&gt;은퇴 시점 자산 (현재가치)&lt;/div&gt;
                    &lt;div id=&quot;resRetireFund&quot; style=&quot;font-size: 1.125rem; font-weight: 900; color: #ffffff !important;&quot;&gt;0원&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;metric-item&quot;&gt;
                    &lt;div style=&quot;font-size: 0.75rem; opacity: 0.8; font-weight: 700; margin-bottom: 0.5rem; color: #ffffff !important;&quot;&gt;최종 잔여 자산 (사망시점)&lt;/div&gt;
                    &lt;div id=&quot;resFinalFund&quot; style=&quot;font-size: 1.125rem; font-weight: 900; color: #ffffff !important;&quot;&gt;0원&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;metric-item&quot; style=&quot;border: 1px solid rgba(253, 224, 71, 0.4) !important; background: rgba(253, 224, 71, 0.1) !important;&quot;&gt;
                    &lt;div style=&quot;font-size: 0.75rem; font-weight: 800; margin-bottom: 0.5rem; color: #fde047 !important;&quot;&gt;추가 필요 수익률&lt;/div&gt;
                    &lt;div id=&quot;resNeededRate&quot; style=&quot;font-size: 1.125rem; font-weight: 900; color: #fde047 !important;&quot;&gt;+0.0%&lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- Inputs Grid --&gt;
        &lt;div class=&quot;grid-3&quot;&gt;
            &lt;div class=&quot;input-card&quot;&gt;&lt;label&gt;현재 나이 (세)&lt;/label&gt;&lt;input type=&quot;number&quot; id=&quot;currentAge&quot; value=&quot;31&quot; inputmode=&quot;numeric&quot; pattern=&quot;[0-9]*&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;input-card&quot;&gt;&lt;label&gt;은퇴 희망 나이 (세)&lt;/label&gt;&lt;input type=&quot;number&quot; id=&quot;retirementAge&quot; value=&quot;55&quot; inputmode=&quot;numeric&quot; pattern=&quot;[0-9]*&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;input-card&quot;&gt;&lt;label&gt;예상 사망 나이 (세)&lt;/label&gt;&lt;input type=&quot;number&quot; id=&quot;lifespan&quot; value=&quot;90&quot; inputmode=&quot;numeric&quot; pattern=&quot;[0-9]*&quot;&gt;&lt;/div&gt;
            
            &lt;div class=&quot;input-card&quot;&gt;&lt;label&gt;현재 보유 자산 (만원)&lt;/label&gt;&lt;input type=&quot;number&quot; id=&quot;currentAssets&quot; value=&quot;25000&quot; inputmode=&quot;numeric&quot; pattern=&quot;[0-9]*&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;input-card&quot;&gt;&lt;label&gt;매월 추가 저축액 (만원)&lt;/label&gt;&lt;input type=&quot;number&quot; id=&quot;monthlySavings&quot; value=&quot;100&quot; inputmode=&quot;numeric&quot; pattern=&quot;[0-9]*&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;input-card&quot; style=&quot;border-left: 5px solid #3b82f6 !important;&quot;&gt;&lt;label&gt;예상 연간 수익률 (%)&lt;/label&gt;&lt;input type=&quot;number&quot; id=&quot;returnRate&quot; value=&quot;10.0&quot; step=&quot;0.1&quot; inputmode=&quot;decimal&quot;&gt;&lt;/div&gt;
            
            &lt;div class=&quot;input-card&quot; style=&quot;border-left: 5px solid #ef4444 !important;&quot;&gt;&lt;label&gt;은퇴 후 월 소비 (현재가치, 만원)&lt;/label&gt;&lt;input type=&quot;number&quot; id=&quot;targetMonthlyExpense&quot; value=&quot;350&quot; inputmode=&quot;numeric&quot; pattern=&quot;[0-9]*&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;input-card&quot;&gt;&lt;label&gt;은퇴 후 예상 연금 (만원)&lt;/label&gt;&lt;input type=&quot;number&quot; id=&quot;pensionAmount&quot; value=&quot;150&quot; inputmode=&quot;numeric&quot; pattern=&quot;[0-9]*&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;input-card&quot;&gt;&lt;label&gt;예상 물가 상승률 (%)&lt;/label&gt;&lt;input type=&quot;number&quot; id=&quot;inflationRate&quot; value=&quot;4.0&quot; step=&quot;0.1&quot; inputmode=&quot;decimal&quot;&gt;&lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- Yearly Asset Table --&gt;
        &lt;div class=&quot;table-container&quot;&gt;
            &lt;table&gt;
                &lt;thead&gt;
                    &lt;tr&gt;
                        &lt;th&gt;나이&lt;/th&gt;
                        &lt;th&gt;상태&lt;/th&gt;
                        &lt;th&gt;연간 저축/소비 합계&lt;/th&gt;
                        &lt;th&gt;연간 투자 수익금&lt;/th&gt;
                        &lt;th&gt;연말 순자산 (현재가치)&lt;/th&gt;
                    &lt;/tr&gt;
                &lt;/thead&gt;
                &lt;tbody id=&quot;assetTableBody&quot;&gt;
                    &lt;!-- JS 생성 --&gt;
                &lt;/tbody&gt;
            &lt;/table&gt;
        &lt;/div&gt;

        &lt;div class=&quot;input-card&quot; style=&quot;background-color: #f1f5f9 !important; border: none !important; margin-top: 1.5rem !important;&quot;&gt;
            &lt;p style=&quot;font-size: 0.75rem !important; color: #64748b !important; font-weight: 600 !important;&quot;&gt;
                * &lt;strong&gt;연간 투자 수익금&lt;/strong&gt;: 해당 연도 자산에 실질 수익률이 복리로 적용되어 불어난 금액입니다.&lt;br&gt;
                * &lt;strong&gt;연간 저축/소비 합계&lt;/strong&gt;: 1년 동안 내 주머니에서 들어오거나(저축) 나간(생활비-연금) 총액입니다.
            &lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        const ids = ['currentAge', 'retirementAge', 'lifespan', 'currentAssets', 'monthlySavings', 'returnRate', 'targetMonthlyExpense', 'pensionAmount', 'inflationRate'];
        let calcTimeout = null;

        function formatKoreanCurrency(manWon) {
            if (manWon === 0) return &quot;0원&quot;;
            if (manWon &lt; 0) return &quot;-&quot; + formatKoreanCurrency(Math.abs(manWon));
            const jo = Math.floor(manWon / 100000000);
            const eok = Math.floor((manWon % 100000000) / 10000);
            const man = Math.round(manWon % 10000);
            let res = &quot;&quot;;
            if (jo &gt; 0) res += jo + &quot;조 &quot;;
            if (eok &gt; 0) res += eok.toLocaleString() + &quot;억 &quot;;
            if (man &gt; 0 || res === &quot;&quot;) res += man.toLocaleString() + &quot;만원&quot;;
            return res.trim();
        }

        function calculate() {
            // 유효성 검사
            const inputs = {};
            let hasEmpty = false;
            ids.forEach(id =&gt; {
                const val = document.getElementById(id).value;
                if (val === &quot;&quot;) hasEmpty = true;
                inputs[id] = parseFloat(val) || 0;
            });
            if (hasEmpty) return;

            const { currentAge: cAge, retirementAge: rAge, lifespan: dAge, currentAssets: cAsset, monthlySavings: mSave, returnRate: nRateY, targetMonthlyExpense: mSpend, pensionAmount: mPension, inflationRate: iRateY } = inputs;

            // 실질 수익률 (Fisher Equation)
            const realReturnY = ((1 + nRateY / 100) / (1 + iRateY / 100)) - 1;
            const realReturnM = realReturnY / 12;
            const netMonthlySpend = mSpend - mPension;

            let assets = cAsset;
            let assetsAtRetire = 0;
            const tbody = document.getElementById('assetTableBody');
            
            // DOM 조작 최적화: 가상 컨테이너 사용
            const fragment = document.createDocumentFragment();

            for (let age = cAge; age &lt;= dAge; age++) {
                const isRetired = age &gt;= rAge;
                const statusLabel = isRetired ? &quot;은퇴생활&quot; : &quot;자산축적&quot;;
                
                let yearlyCashFlow = 0;
                let yearlyProfit = 0;

                for (let m = 0; m &lt; 12; m++) {
                    const monthlyProfit = assets * realReturnM;
                    yearlyProfit += monthlyProfit;
                    
                    if (isRetired) {
                        assets = (assets + monthlyProfit) - netMonthlySpend;
                        yearlyCashFlow -= netMonthlySpend;
                    } else {
                        assets = (assets + monthlyProfit) + mSave;
                        yearlyCashFlow += mSave;
                    }
                }

                if (age === rAge) assetsAtRetire = assets;

                const row = document.createElement('tr');
                if (age === rAge) row.className = 'retire-row';
                
                const flowColor = yearlyCashFlow &gt;= 0 ? '#10b981' : '#ef4444';
                const profitColor = yearlyProfit &gt;= 0 ? '#3b82f6' : '#ef4444';

                row.innerHTML = `
                    &lt;td&gt;${age}세&lt;/td&gt;
                    &lt;td&gt;${statusLabel}&lt;/td&gt;
                    &lt;td style=&quot;color: ${flowColor}&quot;&gt;${yearlyCashFlow &gt; 0 ? '+' : ''}${Math.round(yearlyCashFlow).toLocaleString()}만원&lt;/td&gt;
                    &lt;td style=&quot;color: ${profitColor}&quot;&gt;${yearlyProfit &gt; 0 ? '+' : ''}${Math.round(yearlyProfit).toLocaleString()}만원&lt;/td&gt;
                    &lt;td style=&quot;color: ${assets &gt;= 0 ? '#1e293b' : '#ef4444'}&quot;&gt;${formatKoreanCurrency(assets)}&lt;/td&gt;
                `;
                fragment.appendChild(row);
            }

            tbody.innerHTML = &quot;&quot;;
            tbody.appendChild(fragment);

            document.getElementById('resRetireFund').innerText = formatKoreanCurrency(assetsAtRetire);
            document.getElementById('resFinalFund').innerText = formatKoreanCurrency(assets);
            document.getElementById('resFinalFund').style.color = assets &gt;= 0 ? &quot;#ffffff&quot; : &quot;#f87171&quot;;

            const resTitle = document.getElementById('resTitle');
            if (assets &gt;= 0) {
                resTitle.innerText = &quot;노후 자금이 충분합니다&quot;;
                resTitle.style.color = &quot;#34d399&quot;;
                document.getElementById('resNeededRate').innerText = &quot;목표 달성&quot;;
            } else {
                resTitle.innerText = &quot;자산 고갈이 예상됩니다&quot;;
                resTitle.style.color = &quot;#f87171&quot;;
                
                let low = nRateY;
                let high = 200;
                for(let i=0; i&lt;20; i++){
                    let mid = (low + high) / 2;
                    let testAssets = cAsset;
                    const rRY = ((1 + mid / 100) / (1 + iRateY / 100)) - 1;
                    const rRM = rRY / 12;
                    for(let a=cAge; a&lt;=dAge; a++){
                        for(let m=0; m&lt;12; m++) {
                            if(a &gt;= rAge) testAssets = (testAssets * (1 + rRM)) - netMonthlySpend;
                            else testAssets = (testAssets * (1 + rRM)) + mSave;
                        }
                    }
                    if(testAssets &gt; 0) high = mid; else low = mid;
                }
                document.getElementById('resNeededRate').innerText = `+${(high - nRateY).toFixed(1)}% 더 필요`;
            }
        }

        // 모바일 입력 지연 처리 (Debounce)
        function debouncedCalculate() {
            if (calcTimeout) clearTimeout(calcTimeout);
            calcTimeout = setTimeout(calculate, 300); // 0.3초 대기 후 실행
        }

        ids.forEach(id =&gt; {
            const el = document.getElementById(id);
            if(el) {
                el.addEventListener('input', debouncedCalculate);
                // 모바일에서 키보드 완료 버튼 대응
                el.addEventListener('change', calculate);
            }
        });
        
        window.addEventListener('DOMContentLoaded', calculate);
        setTimeout(calculate, 500);
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;h3 data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size23&quot;&gt;  이 계산기가 특별한 점&lt;/h3&gt;
&lt;ol style=&quot;list-style-type: decimal;&quot; data-ke-list-type=&quot;decimal&quot;&gt;
&lt;li&gt;&lt;b&gt;물가 상승률 반영&lt;/b&gt;: 30년 뒤의 300만 원은 지금의 300만 원과 가치가 다릅니다. 이 계산기는 물가 상승률을 고려하여 미래의 실질 생활비를 산출합니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;은퇴 후 복리 수익&lt;/b&gt;: 은퇴했다고 해서 모든 자산을 현금으로 두지 않죠? 인출하고 남은 잔액이 계속해서 투자 수익을 낸다는 현실적인 가정을 포함했습니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;연금 상쇄 로직&lt;/b&gt;: 국민연금이나 개인연금 수령액을 입력하면, 자산 소모 속도가 얼마나 늦춰지는지 한눈에 확인할 수 있습니다.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  결과 해석 가이드&lt;/h3&gt;
&lt;ul style=&quot;list-style-type: disc;&quot; data-ke-list-type=&quot;disc&quot;&gt;
&lt;li&gt;&lt;b&gt;자산 고갈 시점이 예상 수명보다 빠른 경우&lt;/b&gt;: 매월 저축액을 늘리거나, 목표 투자 수익률을 높이는 전략이 필요합니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;120세 이후에도 자산이 남는 경우&lt;/b&gt;: 매우 안정적인 상태입니다. 현재의 생활 수준을 유지하거나, 조금 더 풍요로운 노후를 계획해 보셔도 좋습니다.&lt;/li&gt;
&lt;/ul&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;노후 준비는 빠를수록 유리합니다. 이 시뮬레이터가 여러분의 든든한 미래 설계에 작은 이정표가 되길 바랍니다!&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;도움이 되셨다면 공감과 댓글 부탁드립니다! 공유는 언제나 환영입니다. :)&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;#태그: #은퇴준비 #노후자금계산기 #자산수명 #재테크 #복리계산기 #국민연금 #파이어족 #은퇴설계 #노후생활비 #재무설계&lt;/p&gt;</description>
      <category>돈이 되는 계산 방법</category>
      <category>국민연금</category>
      <category>노후생활비</category>
      <category>노후자금계산기</category>
      <category>복리계산기</category>
      <category>은퇴설계</category>
      <category>은퇴준비</category>
      <category>자산수명</category>
      <category>재무설계</category>
      <category>재테크</category>
      <category>파이어족</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/41</guid>
      <comments>https://ehdgus190.tistory.com/entry/%EB%85%B8%ED%9B%84-%EC%9E%90%EC%82%B0-%EC%88%98%EB%AA%85-%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%ED%84%B0%EB%A1%9C-%EC%9D%80%ED%87%B4-%EC%A4%80%EB%B9%84%ED%95%98%EA%B8%B0%EC%96%BC%EB%A7%88-%EC%9E%88%EC%96%B4%EC%95%BC-%ED%87%B4%EC%A7%81%ED%95%A0%EA%B9%8C#entry41comment</comments>
      <pubDate>Sun, 3 May 2026 17:36:25 +0900</pubDate>
    </item>
    <item>
      <title>월세 vs 전세 vs 매매, 뭐가 가장 이득일까? '자산 가치 비교 계산기' 공유</title>
      <link>https://ehdgus190.tistory.com/entry/%EC%9B%94%EC%84%B8-vs-%EC%A0%84%EC%84%B8-vs-%EB%A7%A4%EB%A7%A4-%EB%AD%90%EA%B0%80-%EA%B0%80%EC%9E%A5-%EC%9D%B4%EB%93%9D%EC%9D%BC%EA%B9%8C-%EC%9E%90%EC%82%B0-%EA%B0%80%EC%B9%98-%EB%B9%84%EA%B5%90-%EA%B3%84%EC%82%B0%EA%B8%B0-%EA%B3%B5%EC%9C%A0</link>
      <description>&lt;p data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size16&quot;&gt;안녕하세요! 이사를 앞두고 월세로 갈지, 전세 대출을 받을지, 아니면 아예 집을 살지 고민 중이신가요?&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;단순히 매달 나가는 월세와 대출 이자만 비교해서는 정답을 찾기 어렵습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;보증금에 묶인 내 돈의 '&lt;b&gt;기회비용'&lt;/b&gt;과 매매 시 기대되는 &lt;b&gt;'집값 상승분'&lt;/b&gt;까지 따져봐야!&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;진짜 내 자산이 어떻게 변하는지 알 수 있기 때문이죠.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;오늘은 이 모든 복잡한 계산을 한 번에 해결해 줄 &lt;b&gt;[실질 거주비 및 자산 가치 비교기]&lt;/b&gt;를 공유합니다.&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  [도구] 월세 vs 전세 vs 매매 자산 가치 비교기&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;아래 계산기에 현재 고려 중인 조건을 입력해 보세요. 2년 단기 거주부터 20년 장기 거주까지, 어떤 선택이 가장 많은 자산을 남겨주는지 시뮬레이션 결과를 바로 확인할 수 있습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;월세 vs 전세 vs 매매 자산 가치 비교기&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700;900&amp;display=swap');
        
        /* 티스토리 스킨 간섭 방지를 위한 고강도 스타일 */
        #housing-calc-root {
            font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif !important;
            line-height: 1.6 !important;
            color: #1e293b !important;
            background-color: #f8fafc !important;
            padding: 2rem 1rem !important;
            border-radius: 1.5rem !important;
            max-width: 1000px !important;
            margin: 20px auto !important;
            box-sizing: border-box !important;
            display: block !important;
            text-align: left !important;
            border: 1px solid #e2e8f0 !important;
        }

        #housing-calc-root * { box-sizing: border-box !important; text-shadow: none !important; }

        #housing-calc-root .input-card {
            background-color: #ffffff !important;
            border-radius: 1rem !important;
            padding: 1.25rem !important;
            margin-bottom: 1rem !important;
            border: 1px solid #e2e8f0 !important;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
            display: block !important;
        }

        #housing-calc-root label {
            display: block !important;
            font-size: 0.8125rem !important;
            font-weight: 800 !important;
            color: #64748b !important;
            margin-bottom: 0.5rem !important;
            text-align: left !important;
        }

        #housing-calc-root input {
            width: 100% !important;
            height: 2.75rem !important;
            padding: 0 1rem !important;
            border-radius: 0.75rem !important;
            border: 2px solid #cbd5e1 !important;
            background-color: #f1f5f9 !important;
            font-weight: 800 !important;
            color: #1e293b !important;
            font-size: 1rem !important;
            outline: none !important;
            margin-bottom: 0.25rem !important;
        }

        #housing-calc-root .result-gradient {
            background-color: #0f172a !important;
            background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%) !important;
            color: #ffffff !important;
            padding: 2.5rem 1.5rem !important;
            border-radius: 1.5rem !important;
            margin-bottom: 1.5rem !important;
            text-align: center !important;
            box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3) !important;
            display: block !important;
        }

        #housing-calc-root .timeline-grid {
            display: grid !important;
            grid-template-columns: repeat(5, 1fr) !important;
            gap: 0.5rem !important;
            margin-top: 1.5rem !important;
        }

        #housing-calc-root .timeline-item {
            background-color: rgba(255, 255, 255, 0.1) !important;
            padding: 1rem 0.5rem !important;
            border-radius: 0.75rem !important;
            text-align: center !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
        }

        #housing-calc-root .comp-row {
            display: flex !important;
            justify-content: space-between !important;
            padding: 0.75rem 0 !important;
            border-bottom: 1px solid rgba(255,255,255,0.1) !important;
            font-size: 0.875rem !important;
            font-weight: 700 !important;
            color: #ffffff !important;
        }

        @media (min-width: 768px) {
            #housing-calc-root .grid-3 {
                display: grid !important;
                grid-template-columns: 1fr 1fr 1fr !important;
                gap: 1rem !important;
            }
        }

        @media (max-width: 640px) {
            #housing-calc-root .timeline-grid { grid-template-columns: repeat(2, 1fr) !important; }
        }

        #housing-calc-root p, #housing-calc-root h1, #housing-calc-root h3 { margin: 0 !important; padding: 0 !important; }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id=&quot;housing-calc-root&quot;&gt;
        &lt;!-- Header --&gt;
        &lt;div style=&quot;text-align: center !important; margin-bottom: 2rem !important;&quot;&gt;
            &lt;h1 style=&quot;font-size: 1.75rem !important; font-weight: 900 !important; color: #0f172a !important; margin-bottom: 0.5rem !important;&quot;&gt;  주거 형태별 자산 가치 비교 시뮬레이터&lt;/h1&gt;
            &lt;p style=&quot;font-size: 0.875rem !important; color: #64748b !important; font-weight: 600 !important;&quot;&gt;대출 이자, 기회비용, 시세 차익을 통합 분석하여 '진짜 이득'을 찾아드립니다.&lt;/p&gt;
        &lt;/div&gt;

        &lt;!-- Result Dashboard --&gt;
        &lt;div class=&quot;result-gradient&quot;&gt;
            &lt;div style=&quot;display: inline-block !important; padding: 0.25rem 0.75rem !important; background: #3b82f6 !important; border-radius: 999px !important; font-size: 0.75rem !important; font-weight: 900 !important; margin-bottom: 1rem !important; color: white !important;&quot;&gt;ASSET PERFORMANCE INDEX&lt;/div&gt;
            &lt;p style=&quot;font-size: 0.875rem !important; opacity: 0.9 !important; color: white !important; margin-bottom: 0.5rem !important;&quot;&gt;현재 조건 기준, 매달 실질 자산 변화액 (비용-수익)&lt;/p&gt;
            
            &lt;div style=&quot;background: rgba(255,255,255,0.05) !important; padding: 1.25rem !important; border-radius: 1rem !important; margin-top: 1rem !important; display: block !important;&quot;&gt;
                &lt;div class=&quot;comp-row&quot;&gt;&lt;span&gt;월세 실질 자산 변화&lt;/span&gt;&lt;span id=&quot;resRent&quot;&gt;0원&lt;/span&gt;&lt;/div&gt;
                &lt;div class=&quot;comp-row&quot;&gt;&lt;span&gt;전세 실질 자산 변화&lt;/span&gt;&lt;span id=&quot;resJeonse&quot;&gt;0원&lt;/span&gt;&lt;/div&gt;
                &lt;div class=&quot;comp-row&quot; style=&quot;border: none !important;&quot;&gt;&lt;span&gt;매매 실질 자산 변화&lt;/span&gt;&lt;span id=&quot;resBuy&quot;&gt;0원&lt;/span&gt;&lt;/div&gt;
            &lt;/div&gt;

            &lt;div style=&quot;margin-top: 2rem !important; border-top: 1px solid rgba(255,255,255,0.2) !important; padding-top: 1.5rem !important;&quot;&gt;
                &lt;h3 style=&quot;font-size: 1.125rem !important; font-weight: 900 !important; margin-bottom: 1rem !important; color: #fde047 !important;&quot;&gt;  거주 기간별 '최종 누적 순자산' 1위 선택&lt;/h3&gt;
                &lt;div class=&quot;timeline-grid&quot; id=&quot;timelineContainer&quot;&gt;
                    &lt;!-- JS로 타임라인 생성 --&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- Global Input --&gt;
        &lt;div class=&quot;input-card&quot; style=&quot;border-top: 6px solid #1e293b !important;&quot;&gt;
            &lt;div class=&quot;grid-3&quot; style=&quot;gap: 1rem !important;&quot;&gt;
                &lt;div&gt;
                    &lt;label&gt;전체 보유 자본 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;totalCapital&quot; value=&quot;10000&quot;&gt;
                    &lt;p style=&quot;font-size: 0.7rem; color: #94a3b8; font-weight: 600;&quot;&gt;* 투자 가능한 나의 총 자산&lt;/p&gt;
                &lt;/div&gt;
                &lt;div&gt;
                    &lt;label&gt;나의 기대 투자 수익률 (연 %)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;oppRate&quot; value=&quot;10.0&quot; step=&quot;0.1&quot;&gt;
                    &lt;p style=&quot;font-size: 0.7rem; color: #94a3b8; font-weight: 600;&quot;&gt;* S&amp;P 500 연평균 수익률(약 10%) 참고&lt;/p&gt;
                &lt;/div&gt;
                &lt;div&gt;
                    &lt;label&gt;연간 집값 상승 기대치 (연 %)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;appreciationRate&quot; value=&quot;2.5&quot; step=&quot;0.1&quot;&gt;
                    &lt;p style=&quot;font-size: 0.7rem; color: #94a3b8; font-weight: 600;&quot;&gt;* 한국 연평균 집값 상승률(약 2.5%) 참고&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;div class=&quot;grid-3&quot;&gt;
            &lt;!-- Rent --&gt;
            &lt;div class=&quot;input-card&quot; style=&quot;border-top: 4px solid #ef4444 !important;&quot;&gt;
                &lt;h3 style=&quot;font-size: 1rem !important; font-weight: 900 !important; color: #ef4444 !important; margin-bottom: 1.25rem !important;&quot;&gt;  월세&lt;/h3&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;월세 보증금 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;rentDep&quot; value=&quot;2000&quot;&gt;
                &lt;/div&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;월세 요금 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;rentFee&quot; value=&quot;80&quot;&gt;
                &lt;/div&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;보증금 대출액 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;rentLoan&quot; value=&quot;0&quot;&gt;
                &lt;/div&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;대출 금리 (%)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;rentLoanRate&quot; value=&quot;4.5&quot; step=&quot;0.1&quot;&gt;
                &lt;/div&gt;
                &lt;div&gt;
                    &lt;label&gt;월 관리비 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;rentMaint&quot; value=&quot;10&quot;&gt;
                &lt;/div&gt;
            &lt;/div&gt;

            &lt;!-- Jeonse --&gt;
            &lt;div class=&quot;input-card&quot; style=&quot;border-top: 4px solid #10b981 !important;&quot;&gt;
                &lt;h3 style=&quot;font-size: 1rem !important; font-weight: 900 !important; color: #10b981 !important; margin-bottom: 1.25rem !important;&quot;&gt;  전세&lt;/h3&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;전세 보증금 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;jeonseDep&quot; value=&quot;25000&quot;&gt;
                &lt;/div&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;전세 대출금 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;jeonseLoan&quot; value=&quot;20000&quot;&gt;
                &lt;/div&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;대출 금리 (%)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;jeonseRate&quot; value=&quot;4.2&quot; step=&quot;0.1&quot;&gt;
                &lt;/div&gt;
                &lt;div&gt;
                    &lt;label&gt;월 관리비 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;jeonseMaint&quot; value=&quot;15&quot;&gt;
                &lt;/div&gt;
            &lt;/div&gt;

            &lt;!-- Buy --&gt;
            &lt;div class=&quot;input-card&quot; style=&quot;border-top: 4px solid #8b5cf6 !important;&quot;&gt;
                &lt;h3 style=&quot;font-size: 1rem !important; font-weight: 900 !important; color: #8b5cf6 !important; margin-bottom: 1.25rem !important;&quot;&gt;  매매&lt;/h3&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;주택 매매가 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;buyPrice&quot; value=&quot;50000&quot;&gt;
                &lt;/div&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;주담대 대출금 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;buyLoan&quot; value=&quot;30000&quot;&gt;
                &lt;/div&gt;
                &lt;div style=&quot;margin-bottom: 1rem !important;&quot;&gt;
                    &lt;label&gt;대출 금리 (%)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;buyRate&quot; value=&quot;4.5&quot; step=&quot;0.1&quot;&gt;
                &lt;/div&gt;
                &lt;div&gt;
                    &lt;label&gt;월 관리비 (만원)&lt;/label&gt;
                    &lt;input type=&quot;number&quot; id=&quot;buyMaint&quot; value=&quot;20&quot;&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- Logic Summary --&gt;
        &lt;div class=&quot;input-card&quot; style=&quot;background-color: #f1f5f9 !important; border: none !important;&quot;&gt;
            &lt;p style=&quot;font-size: 0.75rem !important; color: #64748b !important; font-weight: 600 !important;&quot;&gt;
                &lt;strong&gt;  전문가 분석 가이드:&lt;/strong&gt;&lt;br&gt;
                - 모든 계산은 나의 &lt;strong&gt;'전체 자본'&lt;/strong&gt;을 기준으로 시작합니다.&lt;br&gt;
                - 월세/전세: 보증금에 내 현금을 넣고 남은 돈이 내는 &lt;strong&gt;투자 수익&lt;/strong&gt;을 주거비 지출과 상쇄하여 계산합니다.&lt;br&gt;
                - 매매: 집값 상승분을 매달의 &lt;strong&gt;자산 이득&lt;/strong&gt;으로 합산하고, 묶인 돈의 기회비용을 비용으로 처리합니다.&lt;br&gt;
                - 최종 자산 = (보유 현금 + 투자 수익 + 시세 차익) - (대출 이자 + 관리비 + 월세).
            &lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        const inputIds = [
            'totalCapital', 'oppRate', 'appreciationRate',
            'rentDep', 'rentFee', 'rentLoan', 'rentLoanRate', 'rentMaint',
            'jeonseDep', 'jeonseLoan', 'jeonseRate', 'jeonseMaint',
            'buyPrice', 'buyLoan', 'buyRate', 'buyMaint'
        ];

        function calculate() {
            const cap = parseFloat(document.getElementById('totalCapital').value) || 0;
            const oppRateY = parseFloat(document.getElementById('oppRate').value) / 100 || 0;
            const appRateY = parseFloat(document.getElementById('appreciationRate').value) / 100 || 0;
            
            const oppRateM = oppRateY / 12;
            const appRateM = appRateY / 12;

            // --- 1. 월세 (Rent) ---
            const rDep = parseFloat(document.getElementById('rentDep').value) || 0;
            const rFee = parseFloat(document.getElementById('rentFee').value) || 0;
            const rLoan = parseFloat(document.getElementById('rentLoan').value) || 0;
            const rLoanRateM = (parseFloat(document.getElementById('rentLoanRate').value) / 100) / 12;
            const rMaint = parseFloat(document.getElementById('rentMaint').value) || 0;

            const rCashUsed = rDep - rLoan; // 보증금에 들어간 내 쌩돈
            const rInvestable = cap - rCashUsed; // 투자 가능한 나머지 돈
            
            const rMonthlyOut = rFee + rMaint + (rLoan * rLoanRateM);
            const rMonthlyIn = rInvestable * oppRateM;
            const rNetMonthly = rMonthlyIn - rMonthlyOut;

            // --- 2. 전세 (Jeonse) ---
            const jDep = parseFloat(document.getElementById('jeonseDep').value) || 0;
            const jLoan = parseFloat(document.getElementById('jeonseLoan').value) || 0;
            const jLoanRateM = (parseFloat(document.getElementById('jeonseRate').value) / 100) / 12;
            const jMaint = parseFloat(document.getElementById('jeonseMaint').value) || 0;

            const jCashUsed = jDep - jLoan;
            const jInvestable = cap - jCashUsed;
            
            const jMonthlyOut = jMaint + (jLoan * jLoanRateM);
            const jMonthlyIn = jInvestable * oppRateM;
            const jNetMonthly = jMonthlyIn - jMonthlyOut;

            // --- 3. 매매 (Buy) ---
            const bPrice = parseFloat(document.getElementById('buyPrice').value) || 0;
            const bLoan = parseFloat(document.getElementById('buyLoan').value) || 0;
            const bLoanRateM = (parseFloat(document.getElementById('buyRate').value) / 100) / 12;
            const bMaint = parseFloat(document.getElementById('buyMaint').value) || 0;

            const bCashUsed = bPrice - bLoan;
            const bInvestable = cap - bCashUsed; // 집사고 남은 돈 (보통 적거나 0)
            
            const bMonthlyOut = bMaint + (bLoan * bLoanRateM);
            const bMonthlyIn = (bInvestable * oppRateM) + (bPrice * appRateM);
            const bNetMonthly = bMonthlyIn - bMonthlyOut;

            // UI 업데이트 (단위: 원)
            const format = (v) =&gt; {
                const prefix = v &gt;= 0 ? &quot;+&quot; : &quot;&quot;;
                return prefix + Math.round(v * 10000).toLocaleString() + '원';
            };
            document.getElementById('resRent').innerText = format(rNetMonthly);
            document.getElementById('resJeonse').innerText = format(jNetMonthly);
            document.getElementById('resBuy').innerText = format(bNetMonthly);

            // 기간별 누적 시뮬레이션
            const years = [2, 4, 6, 10, 20];
            const container = document.getElementById('timelineContainer');
            container.innerHTML = '';

            years.forEach(yr =&gt; {
                const months = yr * 12;
                
                // 단순 자산 변화 합산 (복리는 복잡성을 줄이기 위해 매달 일정 수익/지출로 가정)
                const rentAsset = cap * 10000 + (rNetMonthly * 10000 * months);
                const jeonseAsset = cap * 10000 + (jNetMonthly * 10000 * months);
                const buyAsset = cap * 10000 + (bNetMonthly * 10000 * months);

                const outcomes = [
                    { type: '월세', asset: rentAsset, color: '#ef4444' },
                    { type: '전세', asset: jeonseAsset, color: '#10b981' },
                    { type: '매매', asset: buyAsset, color: '#a78bfa' }
                ];
                
                outcomes.sort((a, b) =&gt; b.asset - a.asset);
                const best = outcomes[0];

                const item = document.createElement('div');
                item.className = 'timeline-item';
                item.innerHTML = `
                    &lt;div style=&quot;font-size: 11px; font-weight: 900; opacity: 0.8; color: white; margin-bottom: 4px;&quot;&gt;${yr}년 후&lt;/div&gt;
                    &lt;div style=&quot;font-size: 15px; font-weight: 900; color: ${best.color};&quot;&gt;${best.type}&lt;/div&gt;
                    &lt;div style=&quot;background:#22c55e; color:white; padding:1px 5px; border-radius:4px; font-size:9px; font-weight:900; display:inline-block; margin-top:4px;&quot;&gt;BEST&lt;/div&gt;
                `;
                container.appendChild(item);
            });
        }

        inputIds.forEach(id =&gt; {
            const el = document.getElementById(id);
            if(el) el.addEventListener('input', calculate);
        });
        
        window.addEventListener('DOMContentLoaded', calculate);
        setTimeout(calculate, 500);
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;h3 data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size23&quot;&gt;  이 계산기가 특별한 이유&lt;/h3&gt;
&lt;ol style=&quot;list-style-type: decimal;&quot; data-ke-list-type=&quot;decimal&quot;&gt;
&lt;li&gt;&lt;b&gt;기대 투자 수익(기회비용) 반영&lt;/b&gt;: 보증금이나 집값에 묶인 내 생돈이 주식이나 예금에 있었다면 벌었을 '기대 수익'을 비용으로 포함하여 아주 정교하게 계산합니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;보유 기간별 시뮬레이션&lt;/b&gt;: 2, 4, 6, 10, 20년 단위로 결과를 보여주어, 거주 계획에 맞는 최적의 선택(BEST)을 짚어줍니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;매매 시세 차익 고려&lt;/b&gt;: 집값이 연평균 몇 % 오를지 설정하여, 시간이 흐를수록 자산 가치가 어떻게 역전되는지 시각화합니다.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  똑똑한 사용 팁&lt;/h3&gt;
&lt;ul style=&quot;list-style-type: disc;&quot; data-ke-list-type=&quot;disc&quot;&gt;
&lt;li&gt;&lt;b&gt;단기 거주(2~4년)&lt;/b&gt;라면 초기 비용이 적게 드는 월세나 전세가 유리하게 나올 확률이 높습니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;장기 거주(10~20년)&lt;/b&gt;로 갈수록 인플레이션과 집값 상승 덕분에 '매매'가 압도적인 우위를 점하는 지점을 확인해 보세요.&lt;/li&gt;
&lt;/ul&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;돈은 아는 만큼 아끼고 불릴 수 있습니다. 이 계산기가 여러분의 현명한 부동산 의사결정에 도움이 되길 바랍니다!&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;도움이 되셨다면 공감과 댓글 부탁드려요! :)&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>돈이 되는 계산 방법</category>
      <category>기회비용</category>
      <category>내집마련</category>
      <category>매매비교</category>
      <category>부동산계산기</category>
      <category>부동산재테크</category>
      <category>월세전세비교</category>
      <category>이사고민</category>
      <category>자산가치시뮬레이션</category>
      <category>자취생꿀팁</category>
      <category>주거비계산</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/40</guid>
      <comments>https://ehdgus190.tistory.com/entry/%EC%9B%94%EC%84%B8-vs-%EC%A0%84%EC%84%B8-vs-%EB%A7%A4%EB%A7%A4-%EB%AD%90%EA%B0%80-%EA%B0%80%EC%9E%A5-%EC%9D%B4%EB%93%9D%EC%9D%BC%EA%B9%8C-%EC%9E%90%EC%82%B0-%EA%B0%80%EC%B9%98-%EB%B9%84%EA%B5%90-%EA%B3%84%EC%82%B0%EA%B8%B0-%EA%B3%B5%EC%9C%A0#entry40comment</comments>
      <pubDate>Sun, 3 May 2026 16:52:04 +0900</pubDate>
    </item>
    <item>
      <title>차 얻어 탔을 때 기름값 얼마? 수고비 고민 해결해 드립니다 (계산기 포함)</title>
      <link>https://ehdgus190.tistory.com/entry/%EC%B0%A8-%EC%96%BB%EC%96%B4-%ED%83%94%EC%9D%84-%EB%95%8C-%EA%B8%B0%EB%A6%84%EA%B0%92-%EC%96%BC%EB%A7%88-%EC%88%98%EA%B3%A0%EB%B9%84-%EA%B3%A0%EB%AF%BC-%ED%95%B4%EA%B2%B0%ED%95%B4-%EB%93%9C%EB%A6%BD%EB%8B%88%EB%8B%A4-%EA%B3%84%EC%82%B0%EA%B8%B0-%ED%8F%AC%ED%95%A8</link>
      <description>&lt;p data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size16&quot;&gt;주말이나 휴가철, 친구 혹은 지인의 차로 함께 여행을 갈 때 가장 고민되는 순간이 언제인가요?&lt;/p&gt;
&lt;p data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size16&quot;&gt;바로 '&lt;b&gt;정산의 시간&lt;/b&gt;'입니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&quot;기름값만 주면 되나?&quot;, &quot;운전하느라 고생했는데 수고비를 더 줘야 하나?&quot;, &quot;연비도 모르는데 어떻게 계산하지?&quot; 등등...&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;돈 이야기는 친한 사이일수록 꺼내기가 참 애매하죠.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;오늘은 이런 고민을 한 방에 해결해 줄 &lt;b&gt;[여행 기름값 &amp;amp; 수고비 정산 가이드]&lt;/b&gt;를 소개합니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;연비나 거리 몰라도 '시간'만 알면 끝납니다!&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  왜 '거리'가 아니라 '시간'인가요?&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;보통 기름값을 계산할 때 연비와 킬로미터를 따지지만, 사실 운전자에게 가장 큰 비용은 '&lt;b&gt;시간과 노동력&lt;/b&gt;'입니다.&lt;/p&gt;
&lt;ul style=&quot;list-style-type: disc;&quot; data-ke-list-type=&quot;disc&quot;&gt;
&lt;li&gt;&lt;b&gt;운전은 노동입니다:&lt;/b&gt; 장거리 운전은 집중력을 엄청나게 소모하는 중노동입니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;차량 소모:&lt;/b&gt; 타이어, 엔진오일 등 눈에 보이지 않는 감가상각이 발생합니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;리스크:&lt;/b&gt; 사고 발생 시 보험 처리나 할증의 부담은 오롯이 차주가 집니다.&lt;/li&gt;
&lt;/ul&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;그래서 이번 가이드는 한국 도로 상황을 반영해 &lt;b&gt;시간당 약 18,000원(연료비+톨비+감가상각)&lt;/b&gt;을 기준으로 가장 합리적인 금액을 산출해 드립니다.&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  [도구] 여행 기름값 &amp;amp; 수고비 가이드&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;아래 가이드에 &lt;b&gt;총 이동 시간&lt;/b&gt;과 &lt;b&gt;인원수&lt;/b&gt;만 입력해 보세요. 동승자가 입금해야 할 깔끔한 정산액을 바로 알려드립니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;여행 기름값 &amp; 수고비 정산 가이드&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700;900&amp;display=swap');

        /* 티스토리 스킨의 강제 투명화 및 스타일 간섭을 차단하기 위한 극강의 스타일 */
        #travel-settle-root {
            font-family: 'Pretendard', sans-serif !important;
            line-height: 1.6 !important;
            color: #1e293b !important;
            background-color: #f8fafc !important; /* 기본 배경 회색빛 */
            padding: 1.5rem !important;
            border-radius: 1.5rem !important;
            max-width: 700px !important;
            margin: 20px auto !important;
            box-sizing: border-box !important;
            display: block !important;
            text-align: left !important;
            border: 1px solid #e2e8f0 !important;
        }

        #travel-settle-root * { 
            box-sizing: border-box !important; 
            text-shadow: none !important; /* 스킨 그림자 제거 */
        }

        /* 결과창 섹션 - 그라데이션 및 배경 강제 적용 */
        #travel-settle-root .result-gradient-box {
            background-color: #1e40af !important; /* 그라데이션 안 나올 때를 대비한 진한 파랑 */
            background: linear-gradient(135deg, #1e40af 0%, #4338ca 100%) !important;
            color: #ffffff !important;
            padding: 2rem 1.5rem !important;
            border-radius: 1.5rem !important;
            text-align: center !important;
            margin-bottom: 1.5rem !important;
            box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.3) !important;
            display: block !important;
        }

        #travel-settle-root .text-white-force {
            color: #ffffff !important;
        }

        #travel-settle-root .amount-val {
            font-size: 2.75rem !important;
            font-weight: 900 !important;
            color: #ffffff !important;
            line-height: 1.2 !important;
            display: inline-block !important;
        }

        #travel-settle-root .amount-sub-val {
            font-size: 1.5rem !important;
            font-weight: 800 !important;
            color: #bfdbfe !important;
            display: inline-block !important;
        }

        /* 입력 카드 스타일 */
        #travel-settle-root .settle-card {
            background-color: #ffffff !important;
            border-radius: 1.25rem !important;
            padding: 1.5rem !important;
            margin-bottom: 1.25rem !important;
            border: 1px solid #e2e8f0 !important;
            display: block !important;
        }

        #travel-settle-root label {
            display: block !important;
            font-size: 0.875rem !important;
            font-weight: 800 !important;
            color: #64748b !important;
            margin-bottom: 0.5rem !important;
            text-align: left !important;
        }

        #travel-settle-root input {
            width: 100% !important;
            padding: 0.875rem 1rem !important;
            border-radius: 0.75rem !important;
            border: 2px solid #cbd5e1 !important;
            background-color: #f1f5f9 !important;
            font-weight: 800 !important;
            color: #1e293b !important;
            font-size: 1.125rem !important;
            outline: none !important;
            margin-bottom: 0.5rem !important;
        }

        #travel-settle-root .logic-container {
            background-color: #f0f9ff !important;
            border: 1px solid #e0f2fe !important;
            padding: 1.25rem !important;
            border-radius: 1rem !important;
            display: block !important;
        }

        /* 티스토리 기본 태그 리셋 */
        #travel-settle-root p, #travel-settle-root span, #travel-settle-root h1, #travel-settle-root h3, #travel-settle-root h4 {
            margin: 0 !important;
            padding: 0 !important;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id=&quot;travel-settle-root&quot;&gt;
        &lt;!-- 헤더 --&gt;
        &lt;div style=&quot;text-align: center !important; margin-bottom: 2rem !important;&quot;&gt;
            &lt;h1 style=&quot;font-size: 1.75rem !important; font-weight: 900 !important; color: #0f172a !important; margin-bottom: 0.5rem !important;&quot;&gt;  여행 기름값 &amp; 수고비 가이드&lt;/h1&gt;
            &lt;p style=&quot;font-size: 0.875rem !important; color: #64748b !important; font-weight: 600 !important;&quot;&gt;정확한 데이터를 몰라도 시간만으로 정산하세요!&lt;/p&gt;
        &lt;/div&gt;

        &lt;!-- 결과 패널 (강력한 배경 적용) --&gt;
        &lt;div class=&quot;result-gradient-box&quot;&gt;
            &lt;div style=&quot;margin-bottom: 1.5rem !important;&quot;&gt;
                &lt;p style=&quot;font-size: 0.8125rem !important; font-weight: 800 !important; opacity: 0.9 !important; text-transform: uppercase !important; letter-spacing: 0.1em !important; margin-bottom: 0.5rem !important; color: #ffffff !important;&quot;&gt;동승자 1인당 입금액&lt;/p&gt;
                &lt;div style=&quot;display: flex !important; align-items: baseline !important; justify-content: center !important; gap: 0.25rem !important;&quot;&gt;
                    &lt;span id=&quot;perPersonDisplay&quot; class=&quot;amount-val text-white-force&quot;&gt;0&lt;/span&gt;
                    &lt;span style=&quot;font-size: 1.25rem !important; font-weight: 800 !important; color: #ffffff !important;&quot;&gt;원&lt;/span&gt;
                &lt;/div&gt;
            &lt;/div&gt;

            &lt;div style=&quot;padding-top: 1.25rem !important; border-top: 1px solid rgba(255,255,255,0.2) !important; margin-bottom: 1.5rem !important;&quot;&gt;
                &lt;p style=&quot;font-size: 0.8125rem !important; font-weight: 800 !important; opacity: 0.9 !important; margin-bottom: 0.5rem !important; color: #ffffff !important;&quot;&gt;계모임/전체 정산액 (운전자 제외 합계)&lt;/p&gt;
                &lt;div style=&quot;display: flex !important; align-items: baseline !important; justify-content: center !important; gap: 0.25rem !important;&quot;&gt;
                    &lt;span id=&quot;totalGroupDisplay&quot; class=&quot;amount-sub-val&quot;&gt;0&lt;/span&gt;
                    &lt;span style=&quot;font-size: 1rem !important; font-weight: 800 !important; color: #bfdbfe !important;&quot;&gt;원&lt;/span&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            
            &lt;div style=&quot;background: rgba(255,255,255,0.15) !important; padding: 1.25rem !important; border-radius: 1rem !important; border: 1px solid rgba(255,255,255,0.1) !important;&quot;&gt;
                &lt;h3 id=&quot;etiquetteTitle&quot; style=&quot;font-size: 0.9375rem !important; font-weight: 900 !important; margin-bottom: 0.5rem !important; color: #fde047 !important;&quot;&gt;  운전자를 위한 에티켓&lt;/h3&gt;
                &lt;p id=&quot;etiquetteText&quot; style=&quot;font-size: 0.875rem !important; line-height: 1.6 !important; color: #ffffff !important; font-weight: 600 !important;&quot;&gt;분석 중...&lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- 입력 영역 --&gt;
        &lt;div class=&quot;settle-card&quot;&gt;
            &lt;div style=&quot;margin-bottom: 1.5rem !important;&quot;&gt;
                &lt;label&gt;총 이동 시간 (왕복/정체 포함)&lt;/label&gt;
                &lt;div style=&quot;position: relative !important; display: block !important;&quot;&gt;
                    &lt;input type=&quot;number&quot; id=&quot;inputTime&quot; value=&quot;3&quot; step=&quot;0.5&quot; min=&quot;0.5&quot;&gt;
                    &lt;span style=&quot;position: absolute !important; right: 1rem !important; top: 0.875rem !important; color: #64748b !important; font-size: 0.875rem !important; font-weight: 800 !important; pointer-events: none !important;&quot;&gt;시간&lt;/span&gt;
                &lt;/div&gt;
                &lt;p style=&quot;font-size: 0.75rem !important; color: #94a3b8 !important; margin-top: 0.5rem !important; font-weight: 600 !important;&quot;&gt;* 차 안에서 보낸 총 시간을 입력하세요.&lt;/p&gt;
            &lt;/div&gt;

            &lt;div style=&quot;display: block !important;&quot;&gt;
                &lt;label&gt;총 인원 (운전자 포함)&lt;/label&gt;
                &lt;div style=&quot;position: relative !important; display: block !important;&quot;&gt;
                    &lt;input type=&quot;number&quot; id=&quot;inputPeople&quot; value=&quot;4&quot; min=&quot;1&quot; max=&quot;10&quot;&gt;
                    &lt;span style=&quot;position: absolute !important; right: 1rem !important; top: 0.875rem !important; color: #64748b !important; font-size: 0.875rem !important; font-weight: 800 !important; pointer-events: none !important;&quot;&gt;명&lt;/span&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- 산정 근거 --&gt;
        &lt;div class=&quot;logic-container&quot;&gt;
            &lt;h4 style=&quot;font-size: 0.875rem !important; font-weight: 900 !important; color: #0369a1 !important; margin-bottom: 0.75rem !important; border-bottom: 1px solid #bae6fd !important; padding-bottom: 0.5rem !important;&quot;&gt;  정산액 산정 근거 (1시간 기준)&lt;/h4&gt;
            &lt;div style=&quot;display: grid !important; gap: 0.625rem !important; font-size: 0.8125rem !important; color: #0c4a6e !important; font-weight: 700 !important;&quot;&gt;
                &lt;div style=&quot;display: flex !important; justify-content: space-between !important;&quot;&gt;
                    &lt;span&gt;⛽ 기름값(연료비)&lt;/span&gt;
                    &lt;span style=&quot;color: #0284c7 !important;&quot;&gt;11,000원&lt;/span&gt;
                &lt;/div&gt;
                &lt;div style=&quot;display: flex !important; justify-content: space-between !important;&quot;&gt;
                    &lt;span&gt; ️ 고속도로 톨비(평균)&lt;/span&gt;
                    &lt;span style=&quot;color: #0284c7 !important;&quot;&gt;3,000원&lt;/span&gt;
                &lt;/div&gt;
                &lt;div style=&quot;display: flex !important; justify-content: space-between !important;&quot;&gt;
                    &lt;span&gt; ️ 차량 유지보수/감가상각&lt;/span&gt;
                    &lt;span style=&quot;color: #0284c7 !important;&quot;&gt;2,000원&lt;/span&gt;
                &lt;/div&gt;
                &lt;div style=&quot;display: flex !important; justify-content: space-between !important;&quot;&gt;
                    &lt;span&gt; ‍✈️ 운전자 노동 수고비&lt;/span&gt;
                    &lt;span style=&quot;color: #0284c7 !important;&quot;&gt;2,000원&lt;/span&gt;
                &lt;/div&gt;
                &lt;p style=&quot;font-size: 0.75rem !important; color: #0ea5e9 !important; margin-top: 0.75rem !important; font-weight: 900 !important; text-align: right !important;&quot;&gt;= 총 시간당 18,000원 적용&lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;p style=&quot;text-align: center !important; font-size: 0.625rem !important; color: #94a3b8 !important; margin-top: 1.5rem !important; font-weight: 800 !important; letter-spacing: 0.05em !important;&quot;&gt;© TRAVEL ETIQUETTE SETTLEMENT GUIDE&lt;/p&gt;
    &lt;/div&gt;

    &lt;script&gt;
        const tInput = document.getElementById('inputTime');
        const pInput = document.getElementById('inputPeople');

        function update() {
            const time = parseFloat(tInput.value) || 0;
            const people = parseInt(pInput.value) || 1;

            const hourlyRate = 18000;
            const totalCost = time * hourlyRate;
            
            const perPerson = totalCost / people;
            const roundedPerPerson = Math.round(perPerson / 500) * 500;
            const totalGroup = roundedPerPerson * (people - 1);

            document.getElementById('perPersonDisplay').innerText = roundedPerPerson.toLocaleString();
            document.getElementById('totalGroupDisplay').innerText = (totalGroup &gt; 0 ? totalGroup : 0).toLocaleString();

            const eText = document.getElementById('etiquetteText');
            const eTitle = document.getElementById('etiquetteTitle');

            if (time &gt;= 5) {
                eTitle.innerText = &quot;  장거리 운전은 중노동입니다&quot;;
                eText.innerHTML = &quot;운전자의 피로가 매우 큽니다. 위 금액을 정산하고, &lt;strong&gt;식사 한 끼와 커피&lt;/strong&gt;는 동승자들이 전액 부담하는 것이 매너입니다.&quot;;
            } else if (time &gt;= 2) {
                eTitle.innerText = &quot;  수고하신 운전자에게 보답을&quot;;
                eText.innerHTML = &quot;장시간 고생하셨습니다. 정산액 송금과 함께 &lt;strong&gt;든든한 식사 한 끼&lt;/strong&gt; 정도는 동승자들이 대접해 보세요.&quot;;
            } else if (time &gt; 0) {
                eTitle.innerText = &quot;☕ 가벼운 마음을 전하세요&quot;;
                eText.innerHTML = &quot;운전하느라 수고하셨습니다! 정산 금액과 함께 &lt;strong&gt;시원한 커피 한 잔&lt;/strong&gt; 정도로 감사를 표현하는 건 어떨까요?&quot;;
            }
        }

        [tInput, pInput].forEach(el =&gt; el.addEventListener('input', update));
        window.addEventListener('DOMContentLoaded', update);
        // 티스토리 스킨 간섭 방지용 지연 실행
        setTimeout(update, 300);
        setTimeout(update, 1000);
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;h3 data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size23&quot;&gt;  돈보다 중요한 '운전자 에티켓' 황금률&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;현금 정산도 중요하지만, 운전자의 기분을 좋게 만드는 진짜 매너는 따로 있습니다.&lt;/p&gt;
&lt;ol style=&quot;list-style-type: decimal;&quot; data-ke-list-type=&quot;decimal&quot;&gt;
&lt;li&gt;&lt;b&gt;식사와 커피는 동승자의 몫:&lt;/b&gt; 운전자가 노동력을 제공했으니, 이동 중 먹는 커피나 식사비는 동승자들이 기분 좋게 쏘는 것이 '국룰'입니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;조수석의 역할:&lt;/b&gt; 조수석에 앉았다면 잠들지 마세요! 내비게이션을 봐주거나 말을 걸어주어 운전자가 졸리지 않게 돕는 것이 예의입니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;적극적인 입금:&lt;/b&gt; 정산 금액이 나오면 &quot;얼마야?&quot;라고 묻기 전에 먼저 계산해서 &quot;고생했다&quot;는 메시지와 함께 바로 송금하세요.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  마치며&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;애매한 돈 문제로 소중한 친구와의 여행 기분을 망치지 마세요. 이 가이드를 단톡방에 공유하고 &quot;우리 이 기준대로 정산하자!&quot;라고 먼저 제안해 보는 건 어떨까요?&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;여러분의 즐겁고 매너 있는 여행을 응원합니다!&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>돈이 되는 생활정보</category>
      <category>기름값정산</category>
      <category>더치페이</category>
      <category>수고비기준</category>
      <category>여행꿀팁</category>
      <category>여행정산</category>
      <category>운전자에티켓</category>
      <category>장거리운전수고비</category>
      <category>친구차기름값</category>
      <category>카풀비용</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/39</guid>
      <comments>https://ehdgus190.tistory.com/entry/%EC%B0%A8-%EC%96%BB%EC%96%B4-%ED%83%94%EC%9D%84-%EB%95%8C-%EA%B8%B0%EB%A6%84%EA%B0%92-%EC%96%BC%EB%A7%88-%EC%88%98%EA%B3%A0%EB%B9%84-%EA%B3%A0%EB%AF%BC-%ED%95%B4%EA%B2%B0%ED%95%B4-%EB%93%9C%EB%A6%BD%EB%8B%88%EB%8B%A4-%EA%B3%84%EC%82%B0%EA%B8%B0-%ED%8F%AC%ED%95%A8#entry39comment</comments>
      <pubDate>Sun, 3 May 2026 15:45:05 +0900</pubDate>
    </item>
    <item>
      <title>지금 바로 병원 가야 할까? 응급 상황 1분 자가진단 가이드 (골든타임 사수)</title>
      <link>https://ehdgus190.tistory.com/entry/%EC%A7%80%EA%B8%88-%EB%B0%94%EB%A1%9C-%EB%B3%91%EC%9B%90-%EA%B0%80%EC%95%BC-%ED%95%A0%EA%B9%8C-%EC%9D%91%EA%B8%89-%EC%83%81%ED%99%A9-1%EB%B6%84-%EC%9E%90%EA%B0%80%EC%A7%84%EB%8B%A8-%EA%B0%80%EC%9D%B4%EB%93%9C-%EA%B3%A8%EB%93%A0%ED%83%80%EC%9E%84-%EC%82%AC%EC%88%98</link>
      <description>&lt;p data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size16&quot;&gt;&quot;자다가 갑자기 가슴이 답답한데... 아침까지 기다려도 될까?&quot;&lt;/p&gt;
&lt;p data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size16&quot;&gt;&quot;부모님이 갑자기 말씀이 어눌해지시는데, 피곤해서 그러신 걸까?&quot;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;살다 보면 본인이나 가족에게 나타나는 갑작스러운 증상 때문에 응급실을 가야 할지 말지 망설여지는 순간이 있습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;하지만 뇌졸중이나 심근경색 같은 질환은 &lt;b&gt;'골든타임'&lt;/b&gt; 내에 처치하지 않으면 평생 후유증이 남거나 생명이 위험할 수 있습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;오늘은 이런 애매한 상황에서 빠르게 의사결정을 도와주는 &lt;b&gt;[응급 상황 자가진단]&lt;/b&gt;를 공유합니다.&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  응급 상황, 왜 자가진단이 필요할까요?&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;우리 몸이 보내는 위험 신호 중에는 겉보기에 가벼워 보이지만 속으로는 심각한 문제가 진행 중인 경우가 많습니다. 이 가이드는 의학적 트리아지(Triage, 중증도 분류) 개념을 바탕으로 제작되어, 다음과 같은 핵심 증상을 단계별로 체크합니다.&lt;/p&gt;
&lt;ol style=&quot;list-style-type: decimal;&quot; data-ke-list-type=&quot;decimal&quot;&gt;
&lt;li&gt;&lt;b&gt;뇌졸중(FAST):&lt;/b&gt; 안면 마비, 팔 힘 빠짐, 언어 장애 여부 확인&lt;/li&gt;
&lt;li&gt;&lt;b&gt;심근경색:&lt;/b&gt; 가슴을 쥐어짜는 통증과 방사통 확인&lt;/li&gt;
&lt;li&gt;&lt;b&gt;급성 복통:&lt;/b&gt; 맹장염(충수염)이나 장폐색 신호 감별&lt;/li&gt;
&lt;li&gt;&lt;b&gt;호흡 및 고열:&lt;/b&gt; 아나필락시스나 뇌수막염 위험 신호 포착&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  [도구] 응급 상황 단계별 자가진단 가이드&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;아래 가이드는 &lt;b&gt;[증상 선택 &amp;rarr; 세부 확인 &amp;rarr; 결과 판단]&lt;/b&gt;의 3단계로 구성되어 있습니다. 현재 느껴지는 증상을 차례대로 선택해 보세요.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;응급 상황 자가진단 가이드&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700;900&amp;display=swap');

        /* 티스토리 스킨의 간섭을 완전히 배제하기 위한 루트 스타일 */
        #emergency-guide-root {
            font-family: 'Pretendard', sans-serif !important;
            line-height: 1.6 !important;
            color: #1e293b !important;
            background-color: #f8fafc !important;
            padding: 1.5rem !important;
            border-radius: 1.5rem !important;
            text-align: left !important;
            max-width: 800px !important;
            margin: 0 auto !important;
        }

        #emergency-guide-root .emergency-card {
            background: white !important;
            border-radius: 1.25rem !important;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
            border: 1px solid #e2e8f0 !important;
            margin-bottom: 1.5rem !important;
            padding: 1.5rem !important;
            position: relative !important;
        }

        /* 질문 버튼 스타일 강제 적용 */
        #emergency-guide-root .diag-btn {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            width: 100% !important;
            padding: 1.125rem 1.25rem !important;
            margin-bottom: 0.875rem !important;
            background-color: #ffffff !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 1rem !important;
            font-weight: 700 !important;
            font-size: 1rem !important;
            color: #334155 !important;
            cursor: pointer !important;
            transition: all 0.2s !important;
            text-align: left !important;
        }

        #emergency-guide-root .diag-btn:hover {
            background-color: #eff6ff !important;
            border-color: #3b82f6 !important;
            color: #2563eb !important;
            transform: translateY(-1px) !important;
        }

        /* 스테퍼 스타일 */
        #emergency-guide-root .step-circle {
            width: 2.25rem !important;
            height: 2.25rem !important;
            border-radius: 9999px !important;
            border: 2px solid #e2e8f0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-weight: 700 !important;
            background: white !important;
            transition: all 0.3s !important;
        }

        #emergency-guide-root .step-active {
            color: #2563eb !important;
        }

        #emergency-guide-root .step-active .step-circle {
            border-color: #2563eb !important;
            background-color: #eff6ff !important;
        }

        #emergency-guide-root p { margin: 0 !important; padding: 0 !important; }

        /* 결과 모달 내부 전용 스타일 */
        .res-container {
            width: 100% !important;
            max-width: 440px !important;
            background: white !important;
            border-radius: 1.5rem !important;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
            padding: 2.5rem 1.5rem !important;
            text-align: center !important;
            overflow: hidden !important;
            border-top: 10px solid #e2e8f0 !important; /* JS에서 색상 변경 */
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id=&quot;emergency-guide-root&quot;&gt;
        &lt;!-- 긴급 알림 헤더 --&gt;
        &lt;div class=&quot;emergency-card&quot; style=&quot;border-top: 8px solid #2563eb !important; text-align: center !important;&quot;&gt;
            &lt;h1 style=&quot;font-size: 1.5rem !important; font-weight: 900 !important; color: #0f172a !important; margin-bottom: 0.5rem !important;&quot;&gt;  응급 상황 자가판단 가이드&lt;/h1&gt;
            &lt;p style=&quot;font-size: 0.875rem !important; color: #64748b !important; margin-bottom: 1.25rem !important;&quot;&gt;증상이 느껴진다면 혼자 판단하지 말고 주변에 즉시 알리십시오.&lt;/p&gt;
            
            &lt;div style=&quot;background-color: #2563eb !important; color: white !important; padding: 1.5rem !important; border-radius: 1rem !important;&quot;&gt;
                &lt;p style=&quot;font-weight: 900 !important; font-size: 1.125rem !important; margin-bottom: 0.5rem !important; color: white !important;&quot;&gt;  주변에 도움을 요청하세요!&lt;/p&gt;
                &lt;p style=&quot;font-size: 0.8125rem !important; line-height: 1.6 !important; opacity: 0.9 !important; color: white !important;&quot;&gt;가족이나 행인에게 &lt;strong&gt;&quot;지금 가슴이 아픕니다. 병원에 가야 하니 도와주세요.&quot;&lt;/strong&gt;라고 명확히 말하십시오.&lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- 스테퍼 (진행 상태) --&gt;
        &lt;div style=&quot;display: flex !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 2.5rem !important; padding: 0 1rem !important;&quot;&gt;
            &lt;div id=&quot;st-1&quot; class=&quot;step-active&quot; style=&quot;display: flex !important; flex-direction: column !important; align-items: center !important; gap: 0.5rem !important;&quot;&gt;
                &lt;div class=&quot;step-circle&quot;&gt;1&lt;/div&gt;
                &lt;span style=&quot;font-size: 0.75rem !important; font-weight: 800 !important;&quot;&gt;증상 선택&lt;/span&gt;
            &lt;/div&gt;
            &lt;div id=&quot;l-1&quot; style=&quot;height: 2px !important; flex: 1 !important; background-color: #e2e8f0 !important; margin-bottom: 1.5rem !important;&quot;&gt;&lt;/div&gt;
            &lt;div id=&quot;st-2&quot; style=&quot;display: flex !important; flex-direction: column !important; align-items: center !important; gap: 0.5rem !important;&quot;&gt;
                &lt;div class=&quot;step-circle&quot;&gt;2&lt;/div&gt;
                &lt;span style=&quot;font-size: 0.75rem !important; font-weight: 800 !important; color: #94a3b8 !important;&quot;&gt;세부 확인&lt;/span&gt;
            &lt;/div&gt;
            &lt;div id=&quot;l-2&quot; style=&quot;height: 2px !important; flex: 1 !important; background-color: #e2e8f0 !important; margin-bottom: 1.5rem !important;&quot;&gt;&lt;/div&gt;
            &lt;div id=&quot;st-3&quot; style=&quot;display: flex !important; flex-direction: column !important; align-items: center !important; gap: 0.5rem !important;&quot;&gt;
                &lt;div class=&quot;step-circle&quot;&gt;3&lt;/div&gt;
                &lt;span style=&quot;font-size: 0.75rem !important; font-weight: 800 !important; color: #94a3b8 !important;&quot;&gt;판단 결과&lt;/span&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- 질문 영역 --&gt;
        &lt;div class=&quot;emergency-card&quot; style=&quot;min-height: 340px !important;&quot;&gt;
            &lt;h3 id=&quot;q-text&quot; style=&quot;font-size: 1.25rem !important; font-weight: 900 !important; color: #1e293b !important; margin-bottom: 1.5rem !important;&quot;&gt;증상 분석을 시작합니다.&lt;/h3&gt;
            &lt;div id=&quot;opt-container&quot;&gt;
                &lt;!-- 버튼이 여기에 생성됩니다 --&gt;
            &lt;/div&gt;
            
            &lt;div id=&quot;back-box&quot; style=&quot;margin-top: 2rem !important; padding-top: 1rem !important; border-top: 1px solid #f1f5f9 !important; display: none !important;&quot;&gt;
                &lt;button onclick=&quot;goBack()&quot; style=&quot;background: none !important; border: none !important; color: #64748b !important; font-weight: 800 !important; cursor: pointer !important; font-size: 0.875rem !important;&quot;&gt;← 이전 단계로&lt;/button&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- 하단 주의사항 --&gt;
        &lt;div class=&quot;emergency-card&quot; style=&quot;border-left: 5px solid #3b82f6 !important;&quot;&gt;
            &lt;h3 style=&quot;font-weight: 900 !important; color: #1e293b !important; margin-bottom: 0.75rem !important;&quot;&gt;  병원 방문 시 필독 가이드&lt;/h3&gt;
            &lt;ul style=&quot;font-size: 0.8125rem !important; color: #475569 !important; list-style: none !important; padding: 0 !important; line-height: 1.7 !important;&quot;&gt;
                &lt;li style=&quot;margin-bottom: 0.5rem !important;&quot;&gt;✔️ &lt;strong&gt;직접 운전하지 마십시오.&lt;/strong&gt; 이동 중 의식을 잃을 위험이 매우 큽니다.&lt;/li&gt;
                &lt;li style=&quot;margin-bottom: 0.5rem !important;&quot;&gt;✔️ &lt;strong&gt;주변에 현재 상태를 공유하십시오.&lt;/strong&gt; 도움을 줄 보호자가 필요합니다.&lt;/li&gt;
                &lt;li&gt;✔️ &lt;strong&gt;골든타임이 생명입니다.&lt;/strong&gt; '조금 이따가 가야지' 하는 생각이 가장 위험합니다.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 결과 모달 --&gt;
    &lt;div id=&quot;res-modal&quot; style=&quot;position: fixed !important; inset: 0 !important; background: rgba(15, 23, 42, 0.85) !important; display: none !important; align-items: center !important; justify-content: center !important; z-index: 9999 !important; padding: 1rem !important; backdrop-filter: blur(8px) !important;&quot;&gt;
        &lt;div class=&quot;res-container&quot; id=&quot;res-card&quot;&gt;
            &lt;div id=&quot;res-icon&quot; style=&quot;font-size: 4rem !important; margin-bottom: 1.5rem !important; display: block !important;&quot;&gt; &lt;/div&gt;
            &lt;div id=&quot;res-tag&quot; style=&quot;display: inline-block !important; padding: 0.25rem 0.75rem !important; border-radius: 0.5rem !important; font-size: 0.75rem !important; font-weight: 900 !important; margin-bottom: 1rem !important; background: #fee2e2 !important; color: #ef4444 !important;&quot;&gt;EMERGENCY&lt;/div&gt;
            &lt;h2 id=&quot;res-title&quot; style=&quot;font-size: 1.75rem !important; font-weight: 900 !important; margin-bottom: 1rem !important; color: #1e293b !important; line-height: 1.3 !important;&quot;&gt;진단 결과&lt;/h2&gt;
            &lt;div style=&quot;background: #f8fafc !important; border-radius: 1rem !important; padding: 1.25rem !important; margin-bottom: 2rem !important;&quot;&gt;
                &lt;p id=&quot;res-desc&quot; style=&quot;font-size: 1rem !important; color: #334155 !important; line-height: 1.6 !important; font-weight: 600 !important;&quot;&gt;&lt;/p&gt;
            &lt;/div&gt;
            &lt;button onclick=&quot;closeRes()&quot; style=&quot;width: 100% !important; padding: 1.125rem !important; background: #1e293b !important; color: white !important; border: none !important; border-radius: 1rem !important; font-weight: 800 !important; font-size: 1.125rem !important; cursor: pointer !important; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;&quot;&gt;진단 다시하기&lt;/button&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        const questions = {
            start: { step: 1, text: &quot;어떤 증상이 가장 불편하신가요?&quot;, options: [
                { text: &quot;가슴 통증 및 압박감&quot;, next: &quot;chest&quot; },
                { text: &quot;갑작스러운 마비/언어장애&quot;, next: &quot;stroke&quot; },
                { text: &quot;심한 복통 및 구토&quot;, next: &quot;abdomen&quot; },
                { text: &quot;고열과 심한 두통&quot;, next: &quot;fever&quot; },
                { text: &quot;갑작스러운 호흡 곤란&quot;, next: &quot;breath&quot; }
            ]},
            chest: { step: 2, text: &quot;가슴 통증의 구체적인 양상을 선택하세요.&quot;, options: [
                { text: &quot;가슴을 쥐어짜는 듯한 강한 압박감&quot;, action: &quot;RED&quot;, msg: &quot;심근경색의 전형적 증상입니다. 즉시 주변에 '가슴이 아프다'고 알리고 응급실로 가십시오.&quot; },
                { text: &quot;통증이 왼쪽 팔, 목, 혹은 턱으로 번짐&quot;, action: &quot;RED&quot;, msg: &quot;심장에서 오는 방사통은 매우 위험한 신호입니다. 직접 운전하지 말고 타인의 도움을 받아 응급실로 가십시오.&quot; },
                { text: &quot;명치 부근이 타는 듯하고 신물이 올라옴&quot;, action: &quot;ORG&quot;, msg: &quot;식도염일 수 있으나 고령자나 기저질환자는 심장 문제와 혼동될 수 있습니다. 정밀 진단을 권장합니다.&quot; }
            ]},
            stroke: { step: 2, text: &quot;나타나고 있는 마비 증상을 선택하세요.&quot;, options: [
                { text: &quot;한쪽 팔다리에 힘이 없고 물건을 놓침&quot;, action: &quot;RED&quot;, msg: &quot;뇌졸중(편마비)의 강력한 신호입니다. 1분 1초가 소중합니다. 즉시 큰 병원 응급실로 가십시오.&quot; },
                { text: &quot;웃을 때 입 모양이 비대칭이고 처짐&quot;, action: &quot;RED&quot;, msg: &quot;안면 마비는 뇌신경 이상을 뜻합니다. 후유증 방지를 위해 즉시 응급 치료가 필요합니다.&quot; },
                { text: &quot;말이 어눌해지거나 상대방 말이 이해 안 됨&quot;, action: &quot;RED&quot;, msg: &quot;언어 중추의 혈관이 막혔을 가능성이 큽니다. 지체하지 말고 도움을 받아 응급실로 가십시오.&quot; }
            ]},
            abdomen: { step: 2, text: &quot;복통의 위치와 강도를 선택하세요.&quot;, options: [
                { text: &quot;오른쪽 아랫배를 눌렀다 뗄 때 극심한 통증&quot;, action: &quot;ORG&quot;, msg: &quot;맹장염(충수염)의 반발통입니다. 천공(터짐) 위험이 있으니 빠른 시간 내에 병원 진료가 필요합니다.&quot; },
                { text: &quot;윗배가 찢어지는 듯 아프고 등 뒤까지 통증&quot;, action: &quot;RED&quot;, msg: &quot;급성 췌장염이나 혈관 파열 등 중증 질환일 수 있습니다. 즉시 응급실을 방문하십시오.&quot; }
            ]},
            fever: { step: 2, text: &quot;열과 동반된 특징적인 증상은 무엇인가요?&quot;, options: [
                { text: &quot;고열과 함께 고개를 숙이기 힘들 만큼 목이 뻣뻣함&quot;, action: &quot;RED&quot;, msg: &quot;뇌수막염 증상입니다. 뇌 손상 위험이 있으므로 지체 없이 응급실로 이동하십시오.&quot; },
                { text: &quot;피부 반점과 함께 의식이 몽롱해짐&quot;, action: &quot;RED&quot;, msg: &quot;전신 감염(패혈증)의 위험이 있습니다. 즉시 전문 의료기관의 도움을 받으십시오.&quot; }
            ]},
            breath: { step: 2, text: &quot;호흡의 상태를 선택하세요.&quot;, options: [
                { text: &quot;숨을 쉬기 힘들고 말하기가 곤란함&quot;, action: &quot;RED&quot;, msg: &quot;폐나 기도에 심각한 문제가 생겼을 수 있습니다. 산소 공급이 시급하니 즉시 응급실로 가십시오.&quot; },
                { text: &quot;쌕쌕거리는 소리가 들리고 가슴이 답답함&quot;, action: &quot;RED&quot;, msg: &quot;급성 천식이나 심한 알레르기 반응일 수 있습니다. 호흡 곤란이 오기 전 치료가 필요합니다.&quot; }
            ]}
        };

        let history = [];

        function setStep(n) {
            for(let i=1; i&lt;=3; i++) {
                const st = document.getElementById('st-'+i);
                const l = document.getElementById('l-'+i);
                if(i &lt;= n) {
                    st.classList.add('step-active');
                    if(l) l.style.backgroundColor = &quot;#2563eb&quot;;
                } else {
                    st.classList.remove('step-active');
                    if(l) l.style.backgroundColor = &quot;#e2e8f0&quot;;
                }
            }
        }

        function load(key) {
            const q = questions[key];
            if(!q) return;
            setStep(q.step);
            document.getElementById('q-text').innerText = q.text;
            const container = document.getElementById('opt-container');
            container.innerHTML = '';
            document.getElementById('back-box').style.display = key === 'start' ? 'none' : 'block';

            q.options.forEach(o =&gt; {
                const btn = document.createElement('button');
                btn.className = 'diag-btn';
                btn.innerHTML = `&lt;span&gt;${o.text}&lt;/span&gt;&lt;span style=&quot;color: #cbd5e1 !important;&quot;&gt;→&lt;/span&gt;`;
                btn.onclick = () =&gt; {
                    if(o.action) {
                        showRes(o.action, o.msg);
                    } else {
                        history.push(key);
                        load(o.next);
                    }
                };
                container.appendChild(btn);
            });
        }

        function goBack() {
            if(history.length &gt; 0) load(history.pop());
        }

        function showRes(type, msg) {
            setStep(3);
            const modal = document.getElementById('res-modal');
            const card = document.getElementById('res-card');
            const title = document.getElementById('res-title');
            const desc = document.getElementById('res-desc');
            const icon = document.getElementById('res-icon');
            const tag = document.getElementById('res-tag');
            
            modal.style.display = 'flex';
            desc.innerText = msg;

            if(type === 'RED') {
                card.style.borderTopColor = &quot;#dc2626&quot;;
                title.innerText = &quot;즉시 응급실 방문&quot;;
                title.style.color = &quot;#dc2626&quot;;
                tag.innerText = &quot;EMERGENCY&quot;;
                tag.style.background = &quot;#fee2e2&quot;;
                tag.style.color = &quot;#dc2626&quot;;
                icon.innerText = &quot; &quot;;
            } else {
                card.style.borderTopColor = &quot;#ea580c&quot;;
                title.innerText = &quot;빠른 긴급 진료 권장&quot;;
                title.style.color = &quot;#ea580c&quot;;
                tag.innerText = &quot;WARNING&quot;;
                tag.style.background = &quot;#ffedd5&quot;;
                tag.style.color = &quot;#ea580c&quot;;
                icon.innerText = &quot; &quot;;
            }
        }

        function closeRes() {
            document.getElementById('res-modal').style.display = 'none';
            history = [];
            load('start');
        }

        // 초기 실행 안전장치
        if (document.readyState === &quot;complete&quot; || document.readyState === &quot;interactive&quot;) {
            setTimeout(() =&gt; load('start'), 100);
        } else {
            document.addEventListener(&quot;DOMContentLoaded&quot;, () =&gt; load('start'));
        }
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
    &lt;/script&gt;
&lt;h3 data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size23&quot;&gt;  위급 상황 시 반드시 기억해야 할 3가지&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;진단 결과가 '응급'으로 나왔다면, 혹은 스스로 판단하기에 심각하다면 다음 수칙을 꼭 지켜주세요.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;1. 절대로 혼자 판단하지 마세요&lt;/b&gt; 몸에 이상이 생기면 판단력이 흐려질 수 있습니다. 즉시 주변 가족, 동료, 혹은 지나가는 행인에게 &lt;b&gt;&quot;지금 몸이 안 좋습니다. 병원에 가야 하니 도와주세요!&quot;&lt;/b&gt;라고 크게 말씀하십시오.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;2. 직접 운전은 금물입니다&lt;/b&gt; 운전 중에 증상이 악화되면 본인뿐만 아니라 타인의 생명까지 위험해집니다. 반드시 주변의 도움을 받거나 구급차를 이용해 이동하세요.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;3. 증상을 구체적으로 기록하세요&lt;/b&gt; 언제부터 아팠는지, 통증의 느낌은 어떠했는지를 의료진에게 전달하면 진단 속도가 빨라집니다. (예: 10분 전부터 가슴을 돌로 누르는 듯한 통증 시작)&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  마치며&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;이 가이드는 전문적인 의사의 진료를 대신할 수는 없지만, 골든타임을 놓치지 않도록 도와주는 &lt;b&gt;안전장치&lt;/b&gt;입니다. 본인뿐만 아니라 부모님이나 지인들에게도 이 가이드를 공유해 두시면 비상시에 큰 도움이 될 수 있습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;여러분의 건강과 안전이 최우선입니다. 조금이라도 의심된다면 주저 말고 병원을 찾으세요!&lt;/b&gt;&lt;/p&gt;</description>
      <category>돈이 되는 생활정보</category>
      <category>119요령</category>
      <category>건강정보</category>
      <category>골든타임</category>
      <category>뇌졸중전조증상</category>
      <category>심근경색증상</category>
      <category>안전가이드</category>
      <category>응급상황</category>
      <category>응급실가야할때</category>
      <category>자가진단</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/38</guid>
      <comments>https://ehdgus190.tistory.com/entry/%EC%A7%80%EA%B8%88-%EB%B0%94%EB%A1%9C-%EB%B3%91%EC%9B%90-%EA%B0%80%EC%95%BC-%ED%95%A0%EA%B9%8C-%EC%9D%91%EA%B8%89-%EC%83%81%ED%99%A9-1%EB%B6%84-%EC%9E%90%EA%B0%80%EC%A7%84%EB%8B%A8-%EA%B0%80%EC%9D%B4%EB%93%9C-%EA%B3%A8%EB%93%A0%ED%83%80%EC%9E%84-%EC%82%AC%EC%88%98#entry38comment</comments>
      <pubDate>Sun, 3 May 2026 15:07:09 +0900</pubDate>
    </item>
    <item>
      <title>2026년 경조사비 가이드: 축의금, 부의금 얼마가 적당할까?</title>
      <link>https://ehdgus190.tistory.com/entry/2026%EB%85%84-%EA%B2%BD%EC%A1%B0%EC%82%AC%EB%B9%84-%EA%B0%80%EC%9D%B4%EB%93%9C-%EC%B6%95%EC%9D%98%EA%B8%88-%EB%B6%80%EC%9D%98%EA%B8%88-%EC%96%BC%EB%A7%88%EA%B0%80-%EC%A0%81%EB%8B%B9%ED%95%A0%EA%B9%8C</link>
      <description>&lt;p data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size16&quot;&gt;안녕하세요! 살다 보면 기쁜 일도, 슬픈 일도 참 많죠. 하지만 그때마다 우리를 고민하게 만드는 현실적인 문제가 있습니다. 바로 '경조사비'입니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&quot;친하긴 한데 자주 보지는 못하고...&quot;, &quot;식대가 올랐다는데 5만 원은 너무 적나?&quot; 하는 고민, 누구나 한 번쯤 해보셨을 거예요. 오늘은 한국인의 정서와 최신 물가를 반영한 [경조사비 적정가]와 함께 명쾌한 기준을 정리해 드립니다.&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  왜 경조사비 결정이 어려울까요?&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;최근 '웨딩플레이션(Wedding+Inflation)'이라는 말이 나올 정도로 예식장 식대가 급등했습니다. 서울 기준 평균 식대가 7~8만 원을 넘어가면서, 예전처럼 '참석하고 5만 원'을 내는 것이 신랑신부에게는 오히려 부담이 되는 상황이 오기도 했죠.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;장례식 부의금이나 명절 용돈 역시 관계의 깊이에 따라 기준이 모호해 마음이 무거워질 때가 많습니다.&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  [도구] 한국 경조사비 적정가 계산기&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;아래 계산기를 통해 여러분의 상황을 입력해 보세요. 관계, 만남 빈도, 참석 여부를 종합하여 가장 적절한 금액을 추천해 드립니다.&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;&amp;nbsp;&lt;/h3&gt;
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;한국 경조사비 가이드&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700;900&amp;display=swap');

        /* 티스토리 환경 스타일 충돌 방지 */
        #etiquette-calc-wrapper {
            font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif !important;
            line-height: 1.5 !important;
            color: #334155 !important;
            background-color: #f8fafc !important;
            padding: 1.5rem !important;
            border-radius: 1.5rem !important;
            box-sizing: border-box !important;
            max-width: 800px !important;
            margin: 0 auto !important;
            display: block !important;
        }

        #etiquette-calc-wrapper * {
            box-sizing: border-box !important;
        }

        #etiquette-calc-wrapper .section-card {
            background: white !important;
            border-radius: 1rem !important;
            padding: 1.5rem !important;
            margin-bottom: 1rem !important;
            border: 1px solid #e2e8f0 !important;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
        }

        #etiquette-calc-wrapper label {
            display: block !important;
            font-size: 0.875rem !important;
            font-weight: 700 !important;
            color: #64748b !important;
            margin-bottom: 0.5rem !important;
            text-align: left !important;
        }

        #etiquette-calc-wrapper select {
            width: 100% !important;
            padding: 0.75rem !important;
            border-radius: 0.5rem !important;
            border: 1px solid #cbd5e1 !important;
            background-color: #f1f5f9 !important;
            font-weight: 600 !important;
            color: #1e293b !important;
            outline: none !important;
            cursor: pointer !important;
            margin-bottom: 0.5rem !important;
        }

        #etiquette-calc-wrapper .btn-container {
            display: flex !important;
            gap: 0.5rem !important;
            margin-top: 0.5rem !important;
        }

        #etiquette-calc-wrapper .btn-choice {
            flex: 1 !important;
            padding: 0.75rem !important;
            border-radius: 0.5rem !important;
            border: 1px solid #e2e8f0 !important;
            background: #fff !important;
            font-weight: 700 !important;
            font-size: 0.875rem !important;
            color: #64748b !important;
            cursor: pointer !important;
            transition: all 0.2s !important;
            outline: none !important;
        }

        #etiquette-calc-wrapper .btn-choice.active {
            background-color: #6366f1 !important;
            color: white !important;
            border-color: #6366f1 !important;
        }

        #etiquette-calc-wrapper .result-box {
            background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
            padding: 2rem !important;
            border-radius: 1.25rem !important;
            color: white !important;
            margin-top: 1rem !important;
            text-align: left !important;
            position: relative !important;
            overflow: hidden !important;
        }

        #etiquette-calc-wrapper .result-title {
            font-size: 0.8125rem !important;
            font-weight: 700 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.05em !important;
            margin-bottom: 0.5rem !important;
            opacity: 0.9 !important;
            color: white !important;
        }

        #etiquette-calc-wrapper .amount-display {
            display: flex !important;
            align-items: baseline !important;
            gap: 0.25rem !important;
            margin-bottom: 1.5rem !important;
            color: white !important;
        }

        #etiquette-calc-wrapper .amount-number {
            font-size: 2.5rem !important;
            font-weight: 900 !important;
            color: white !important;
            line-height: 1 !important;
        }

        #etiquette-calc-wrapper .amount-unit {
            font-size: 1.25rem !important;
            font-weight: 700 !important;
            color: white !important;
        }

        #etiquette-calc-wrapper .report-card {
            background: rgba(255, 255, 255, 0.15) !important;
            padding: 1.25rem !important;
            border-radius: 1rem !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            backdrop-filter: blur(4px) !important;
        }

        #etiquette-calc-wrapper .report-title {
            font-size: 0.8125rem !important;
            font-weight: 700 !important;
            margin-bottom: 0.5rem !important;
            display: flex !important;
            align-items: center !important;
            gap: 0.5rem !important;
            color: white !important;
        }

        #etiquette-calc-wrapper .report-content {
            font-size: 0.875rem !important;
            line-height: 1.6 !important;
            color: white !important;
            font-weight: 500 !important;
        }

        #etiquette-calc-wrapper .guide-box {
            border-left: 4px solid #6366f1 !important;
            background-color: white !important;
            padding: 1.25rem !important;
            margin-top: 1rem !important;
            border-radius: 0 0.75rem 0.75rem 0 !important;
        }

        #etiquette-calc-wrapper .guide-title {
            font-size: 0.9375rem !important;
            font-weight: 800 !important;
            color: #1e293b !important;
            margin-bottom: 0.75rem !important;
        }

        #etiquette-calc-wrapper .guide-item {
            font-size: 0.8125rem !important;
            color: #64748b !important;
            margin-bottom: 0.5rem !important;
            display: flex !important;
            gap: 0.5rem !important;
        }

        #etiquette-calc-wrapper .warning-box {
            background-color: #fffbeb !important;
            border: 1px solid #fde68a !important;
            padding: 1rem !important;
            border-radius: 0.75rem !important;
            margin-top: 1rem !important;
            display: none !important;
        }

        #etiquette-calc-wrapper .warning-box.show {
            display: flex !important;
            gap: 0.75rem !important;
        }

        @media (min-width: 640px) {
            #etiquette-calc-wrapper .main-layout {
                display: flex !important;
                gap: 1.5rem !important;
            }
            #etiquette-calc-wrapper .input-side {
                flex: 1 !important;
            }
            #etiquette-calc-wrapper .output-side {
                flex: 1 !important;
            }
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id=&quot;etiquette-calc-wrapper&quot;&gt;
        &lt;div style=&quot;text-align: center !important; margin-bottom: 2rem !important;&quot;&gt;
            &lt;h1 style=&quot;font-size: 1.875rem !important; font-weight: 900 !important; color: #1e293b !important; margin-bottom: 0.5rem !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.5rem !important;&quot;&gt;  한국 경조사비 가이드&lt;/h1&gt;
            &lt;p style=&quot;font-size: 0.875rem !important; color: #64748b !important;&quot;&gt;상황과 관계에 맞는 예의의 기준을 제안합니다.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&quot;main-layout&quot;&gt;
            &lt;div class=&quot;input-side&quot;&gt;
                &lt;div class=&quot;section-card&quot;&gt;
                    &lt;label&gt;어떤 행사인가요?&lt;/label&gt;
                    &lt;select id=&quot;eventSelect&quot;&gt;
                        &lt;option value=&quot;wedding&quot;&gt;결혼식 (축의금)&lt;/option&gt;
                        &lt;option value=&quot;funeral&quot;&gt;장례식 (부의금)&lt;/option&gt;
                        &lt;option value=&quot;anniversary&quot;&gt;환갑/칠순/팔순 (기념일)&lt;/option&gt;
                        &lt;option value=&quot;birthday&quot;&gt;부모님 생신/명절 (용돈)&lt;/option&gt;
                        &lt;option value=&quot;firstBirthday&quot;&gt;돌잔치/출산 (축하금)&lt;/option&gt;
                    &lt;/select&gt;

                    &lt;label style=&quot;margin-top: 1rem !important;&quot;&gt;대상과의 관계는?&lt;/label&gt;
                    &lt;select id=&quot;relationSelect&quot;&gt;
                        &lt;!-- JS로 동적 생성됨 --&gt;
                    &lt;/select&gt;

                    &lt;label style=&quot;margin-top: 1rem !important;&quot;&gt;만남/교류 빈도&lt;/label&gt;
                    &lt;select id=&quot;meetingFreq&quot;&gt;
                        &lt;option value=&quot;low&quot;&gt;가끔 방문 (연 1~2회)&lt;/option&gt;
                        &lt;option value=&quot;mid&quot; selected&gt;정기적 방문 (명절/기념일)&lt;/option&gt;
                        &lt;option value=&quot;high&quot;&gt;자주 방문 (월 1회 이상)&lt;/option&gt;
                    &lt;/select&gt;

                    &lt;div id=&quot;attendanceRow&quot;&gt;
                        &lt;label style=&quot;margin-top: 1rem !important;&quot;&gt;행사 참석 여부&lt;/label&gt;
                        &lt;div class=&quot;btn-container&quot;&gt;
                            &lt;button id=&quot;isAttendingYes&quot; class=&quot;btn-choice active&quot;&gt;현장 참석&lt;/button&gt;
                            &lt;button id=&quot;isAttendingNo&quot; class=&quot;btn-choice&quot;&gt;불참(송금)&lt;/button&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;

            &lt;div class=&quot;output-side&quot;&gt;
                &lt;div class=&quot;result-box&quot;&gt;
                    &lt;div class=&quot;result-title&quot;&gt;권장 경조사비 금액&lt;/div&gt;
                    &lt;div class=&quot;amount-display&quot;&gt;
                        &lt;span id=&quot;displayAmount&quot; class=&quot;amount-number&quot;&gt;100,000&lt;/span&gt;
                        &lt;span class=&quot;amount-unit&quot;&gt;원&lt;/span&gt;
                    &lt;/div&gt;
                    
                    &lt;div class=&quot;report-card&quot;&gt;
                        &lt;div class=&quot;report-title&quot;&gt;  산정 근거 리포트&lt;/div&gt;
                        &lt;div id=&quot;logicDescription&quot; class=&quot;report-content&quot;&gt;상황에 맞는 적정 금액을 분석 중입니다.&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;div class=&quot;guide-box&quot;&gt;
                    &lt;div class=&quot;guide-title&quot;&gt;  상황별 예절 가이드&lt;/div&gt;
                    &lt;div id=&quot;etiquetteTips&quot;&gt;&lt;/div&gt;
                &lt;/div&gt;

                &lt;div id=&quot;mealPriceNotice&quot; class=&quot;warning-box&quot;&gt;
                    &lt;span style=&quot;font-size: 1.25rem !important;&quot;&gt;⚠️&lt;/span&gt;
                    &lt;p style=&quot;font-size: 0.8125rem !important; color: #92400e !important; font-weight: 600 !important; margin: 0 !important;&quot;&gt;
                        서울/수도권 식대를 고려할 때, 참석 시에는 최소 10만 원 이상이 권장됩니다.
                    &lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        // 글로벌 상태
        let userAttending = true;

        const relationOptions = {
            parent: { value: 'parent', text: '부모님 (직계존속)' },
            sibling: { value: 'sibling', text: '형제/자매/남매' },
            relative: { value: 'relative', text: '친척 (사촌 이내)' },
            bestFriend: { value: 'bestFriend', text: '절친/막역한 사이' },
            friend: { value: 'friend', text: '일반 친구/지인' },
            colleagueClose: { value: 'colleagueClose', text: '직장 동료 (긴밀함)' },
            colleagueRegular: { value: 'colleagueRegular', text: '직장 동료 (일반/업무)' },
            acquaintance: { value: 'acquaintance', text: '가끔 연락하는 지인' }
        };

        const eventToRelations = {
            wedding: ['sibling', 'relative', 'bestFriend', 'friend', 'colleagueClose', 'colleagueRegular', 'acquaintance'],
            funeral: ['sibling', 'relative', 'bestFriend', 'friend', 'colleagueClose', 'colleagueRegular', 'acquaintance'],
            anniversary: ['parent', 'sibling', 'relative'],
            birthday: ['parent'],
            firstBirthday: ['sibling', 'relative', 'bestFriend', 'friend']
        };

        function onEventChange() {
            const event = document.getElementById('eventSelect').value;
            const relationSelect = document.getElementById('relationSelect');
            const attendRow = document.getElementById('attendanceRow');

            relationSelect.innerHTML = '';
            const allowed = eventToRelations[event];
            
            allowed.forEach(relKey =&gt; {
                const opt = document.createElement('option');
                opt.value = relationOptions[relKey].value;
                opt.text = relationOptions[relKey].text;
                relationSelect.appendChild(opt);
            });

            if (event === 'birthday') {
                attendRow.style.display = 'none';
            } else {
                attendRow.style.display = 'block';
            }

            performCalculation();
        }

        function toggleAttendance(isGoing) {
            userAttending = isGoing;
            const yesBtn = document.getElementById('isAttendingYes');
            const noBtn = document.getElementById('isAttendingNo');
            
            if (isGoing) {
                yesBtn.classList.add('active');
                noBtn.classList.remove('active');
            } else {
                yesBtn.classList.remove('active');
                noBtn.classList.add('active');
            }
            performCalculation();
        }

        function performCalculation() {
            const event = document.getElementById('eventSelect').value;
            const relation = document.getElementById('relationSelect').value;
            const freq = document.getElementById('meetingFreq').value;
            
            let finalUnits = 5; 
            let reason = &quot;&quot;;

            const baseRates = {
                wedding: { sibling: 50, relative: 15, bestFriend: 20, friend: 10, colleagueClose: 10, colleagueRegular: 5, acquaintance: 5 },
                funeral: { sibling: 50, relative: 15, bestFriend: 20, friend: 10, colleagueClose: 10, colleagueRegular: 5, acquaintance: 5 },
                anniversary: { parent: 50, sibling: 20, relative: 10 },
                birthday: { parent: 20 },
                firstBirthday: { sibling: 20, relative: 10, bestFriend: 10, friend: 5 }
            };

            finalUnits = (baseRates[event] &amp;&amp; baseRates[event][relation]) ? baseRates[event][relation] : 5;

            // --- 보정 로직 ---
            if (event === 'wedding' || event === 'funeral') {
                if (['bestFriend', 'friend', 'colleagueClose'].includes(relation) &amp;&amp; freq === 'high') finalUnits += 5;
                if (event === 'wedding' &amp;&amp; userAttending &amp;&amp; finalUnits &lt; 10) finalUnits = 10;
                // 불참 시에는 금액 보정
                if (!userAttending &amp;&amp; finalUnits &gt; 5) finalUnits -= 5;
                
                reason = &quot;교류 빈도와 한국적 관례를 종합하여 산출했습니다. &quot;;
            } 
            else if (event === 'anniversary') {
                if (relation === 'parent') {
                    finalUnits = (freq === 'high') ? 100 : 50;
                }
                reason = &quot;일생의 큰 기념일인 만큼 정중한 성의를 반영했습니다. &quot;;
            }
            else if (event === 'birthday') {
                if (relation === 'parent') {
                    if (freq === 'low') {
                        finalUnits = 50; 
                        reason = &quot;자주 뵙지 못하는 죄송함과 고마움을 담아 명절/생신 때 크게 챙겨드리는 경향을 반영했습니다. &quot;;
                    } else if (freq === 'mid') {
                        finalUnits = 30;
                        reason = &quot;정기적인 방문 시 드리는 가장 보편적인 용돈 수준입니다. &quot;;
                    } else if (freq === 'high') {
                        finalUnits = 20;
                        reason = &quot;자주 찾아뵙는 만큼 일상적인 효도의 의미를 담아 적정 금액을 유지합니다. &quot;;
                    }
                }
            }

            if (finalUnits &gt; 20 &amp;&amp; finalUnits &lt; 100) {
                finalUnits = Math.round(finalUnits / 10) * 10;
            }
            if (finalUnits &lt; 5) finalUnits = 5;

            document.getElementById('displayAmount').innerText = (finalUnits * 10000).toLocaleString();

            const relLabel = document.getElementById('relationSelect').options[document.getElementById('relationSelect').selectedIndex]?.text || &quot;분석중&quot;;
            const evtLabel = document.getElementById('eventSelect').options[document.getElementById('eventSelect').selectedIndex].text;

            document.getElementById('logicDescription').innerText = `[${relLabel}] 대상께 [${evtLabel}] 상황에서 전하는 추천 금액입니다. ` + reason;

            const tipContainer = document.getElementById('etiquetteTips');
            tipContainer.innerHTML = &quot;&quot;;
            const etiquetteItems = [
                &quot;홀수(3, 5, 7) 단위를 선호하나, 10만 원은 완결된 숫자로 보아 선호됩니다.&quot;,
                &quot;용돈의 경우 금액 자체보다 봉투에 담긴 짧은 손편지가 부모님께 큰 힘이 됩니다.&quot;,
                &quot;축의/부의금은 현장 정산의 편의를 위해 5만 원 단위로 맞추는 것이 매너입니다.&quot;
            ];
            etiquetteItems.forEach(text =&gt; {
                const itemDiv = document.createElement('div');
                itemDiv.className = &quot;guide-item&quot;;
                itemDiv.innerHTML = `&lt;span style=&quot;color: #6366f1 !important;&quot;&gt;•&lt;/span&gt;&lt;span&gt;${text}&lt;/span&gt;`;
                tipContainer.appendChild(itemDiv);
            });

            const noticeBox = document.getElementById('mealPriceNotice');
            if (userAttending &amp;&amp; finalUnits &lt; 10 &amp;&amp; event === 'wedding') {
                noticeBox.classList.add('show');
            } else {
                noticeBox.classList.remove('show');
            }
        }

        // 티스토리 안정성 향상을 위한 이벤트 리스너 등록
        window.addEventListener('DOMContentLoaded', () =&gt; {
            document.getElementById('eventSelect').addEventListener('change', onEventChange);
            document.getElementById('relationSelect').addEventListener('change', performCalculation);
            document.getElementById('meetingFreq').addEventListener('change', performCalculation);
            
            document.getElementById('isAttendingYes').addEventListener('click', () =&gt; toggleAttendance(true));
            document.getElementById('isAttendingNo').addEventListener('click', () =&gt; toggleAttendance(false));

            onEventChange();
        });

        // 만약 DOMContentLoaded가 이미 발생했을 경우를 대비
        if (document.readyState === 'complete' || document.readyState === 'interactive') {
            onEventChange();
        }
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;

&lt;h3 data-ke-size=&quot;size23&quot;&gt;&amp;nbsp;&lt;/h3&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  한국 경조사비의 3대 원칙 (전문가 가이드)&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;계산기 결과와 더불어, 한국 문화에서 꼭 지켜야 할 몇 가지 예절을 정리해 드립니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;1. 5만 원 단위와 홀수의 법칙&lt;/b&gt; 전통적으로 한국은 홀수(3, 5, 7)를 길한 숫자로 여겨 왔습니다. 그래서 3만 원, 5만 원 단위로 봉투를 준비하죠. 다만, 10만 원은 3과 7이 합쳐진 완결된 숫자로 보아 예외적으로 짝수임에도 가장 선호되는 금액입니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;2. 식대 물가를 고려한 '참석' 매너&lt;/b&gt; 결혼식이나 돌잔치에 직접 참석하여 식사를 하신다면, 이제는 &lt;b&gt;최소 10만 원&lt;/b&gt;이 기본 매너로 자리 잡았습니다. 만약 5만 원만 전하고 싶다면, 참석하지 않고 마음(송금)만 전하는 것이 서로에게 부담이 적은 방법일 수 있습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;3. 관계의 깊이는 '빈도'가 말해줍니다&lt;/b&gt; 아무리 가까운 친척이라도 수년째 연락이 없었다면 5~10만 원이 적당할 수 있고, 먼 지인이라도 매달 보는 사이라면 10만 원 이상이 성의의 표현이 됩니다.&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;✅ 상황별 짧은 요약&lt;/h3&gt;
&lt;ul style=&quot;list-style-type: disc;&quot; data-ke-list-type=&quot;disc&quot;&gt;
&lt;li&gt;&lt;b&gt;결혼식&lt;/b&gt;: 참석 시 10만 원, 불참 시 5만 원 (친하면 15~20만 원)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;장례식&lt;/b&gt;: 일반적인 경우 5만 원, 가까운 사이 10만 원 이상&lt;/li&gt;
&lt;li&gt;&lt;b&gt;환갑/칠순&lt;/b&gt;: 친척은 10~20만 원, 직계가족은 30~50만 원 이상&lt;/li&gt;
&lt;li&gt;&lt;b&gt;출산/돌잔치&lt;/b&gt;: 보통 5~10만 원 (현금 대신 내복 등 선물도 선호)&lt;/li&gt;
&lt;/ul&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;돈의 액수보다 중요한 것은 진심 어린 축하와 위로의 마음이겠지만, 예의에 어긋나지 않는 적절한 금액 선정으로 서로의 관계를 더욱 돈독하게 유지하시길 바랍니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;도움이 되셨다면 공감과 댓글 부탁드려요! 공유는 언제나 환영입니다. :)&lt;/b&gt;&lt;/p&gt;</description>
      <category>돈이 되는 생활정보</category>
      <category>2026경조사비</category>
      <category>결혼식축의금</category>
      <category>경조사비기준</category>
      <category>명절용돈</category>
      <category>부의금계산</category>
      <category>장례식조의금</category>
      <category>축의금얼마</category>
      <category>한국예절</category>
      <category>회갑연용돈</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/37</guid>
      <comments>https://ehdgus190.tistory.com/entry/2026%EB%85%84-%EA%B2%BD%EC%A1%B0%EC%82%AC%EB%B9%84-%EA%B0%80%EC%9D%B4%EB%93%9C-%EC%B6%95%EC%9D%98%EA%B8%88-%EB%B6%80%EC%9D%98%EA%B8%88-%EC%96%BC%EB%A7%88%EA%B0%80-%EC%A0%81%EB%8B%B9%ED%95%A0%EA%B9%8C#entry37comment</comments>
      <pubDate>Sat, 2 May 2026 23:53:53 +0900</pubDate>
    </item>
    <item>
      <title>식대 8만원 시대, 축의금 5만원은 정말 민폐일까? '웨딩플레이션 탈출 계산기'</title>
      <link>https://ehdgus190.tistory.com/entry/%EC%8B%9D%EB%8C%80-8%EB%A7%8C%EC%9B%90-%EC%8B%9C%EB%8C%80-%EC%B6%95%EC%9D%98%EA%B8%88-5%EB%A7%8C%EC%9B%90%EC%9D%80-%EC%A0%95%EB%A7%90-%EB%AF%BC%ED%8F%90%EC%9D%BC%EA%B9%8C-%EC%9B%A8%EB%94%A9%ED%94%8C%EB%A0%88%EC%9D%B4%EC%85%98-%ED%83%88%EC%B6%9C-%EA%B3%84%EC%82%B0%EA%B8%B0</link>
      <description>&lt;p data-pm-slice=&quot;1 1 []&quot; data-ke-size=&quot;size16&quot;&gt;안녕하세요! 요즘 결혼 준비하시는 예비부부님들 사이에서 가장 무서운 단어가 바로 **'웨딩플레이션(Wedding-flation)'**이죠?&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;식장은 1년 전부터 예약해도 황금 타임 잡기가 하늘의 별 따기인데, 식대마저 인당 7~8만 원을 훌쩍 넘어가니 &quot;과연 하객을 모시는 게 이득일까, 손해일까?&quot;라는 현실적인 고민을 안 할 수가 없습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;그래서 오늘은 **현직 웨딩플래너의 조언을 담아 제작한 [웨딩플레이션 탈출 계산기]**를 공유해 드리려고 합니다.&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  우리 결혼식, 하객 몇 명부터 '본전'일까?&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;이 계산기는 단순히 지출만 합산하는 게 아니라, &lt;b&gt;대관료와 스드메 같은 고정 지출&lt;/b&gt;과 &lt;b&gt;식대 같은 가변 지출&lt;/b&gt;을 모두 따져서 **'손익분기점(BEP)'**을 계산해 줍니다.&lt;/p&gt;
&lt;ul style=&quot;list-style-type: disc;&quot; data-ke-list-type=&quot;disc&quot;&gt;
&lt;li&gt;&lt;b&gt;고정 지출:&lt;/b&gt; 베뉴 대관료, 꽃장식 추가비, 스드메 패키지 등&lt;/li&gt;
&lt;li&gt;&lt;b&gt;가변 지출:&lt;/b&gt; 인당 식대 (주류 포함 평균가)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;수익:&lt;/b&gt; 하객들이 내는 축의금 평균치&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  [도구] 웨딩플레이션 탈출 계산기&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;(이곳에 제가 드린 HTML 코드를 'HTML 모드'에서 붙여넣으시면 아래와 같은 계산기가 나타납니다.)&lt;/p&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt; &amp;zwj;  웨딩플래너가 알려주는 2024년 축의금 트렌드&lt;/h3&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;계산기를 돌려보시면 아시겠지만, 식대가 7만 원을 넘어가면 축의금 5만 원은 신랑신부에게 경제적으로는 '마이너스'가 되는 구조입니다.&lt;/p&gt;
&lt;ol style=&quot;list-style-type: decimal;&quot; data-ke-list-type=&quot;decimal&quot;&gt;
&lt;li&gt;&lt;b&gt;지인/직장 동료:&lt;/b&gt; 10만 원이 이제는 기본 매너로 자리 잡았습니다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;친한 친구/친척:&lt;/b&gt; 15~20만 원 이상, 혹은 별도의 가전 선물.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;참석이 어려울 때:&lt;/b&gt; 식대를 아껴드리는 의미로 마음만(5만 원) 전하는 것도 좋은 방법입니다.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 data-ke-size=&quot;size23&quot;&gt;  이 계산기를 활용하는 꿀팁!&lt;/h3&gt;
&lt;ul style=&quot;list-style-type: disc;&quot; data-ke-list-type=&quot;disc&quot;&gt;
&lt;li&gt;&lt;b&gt;보증 인원 설정:&lt;/b&gt; 예식장과 계약할 때 '최소 보증 인원'을 얼마로 잡을지 결정하기 전, 이 계산기로 시뮬레이션을 돌려보세요.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;축의금 가이드:&lt;/b&gt; 블로그 방문자분들도 이 계산기를 통해 &quot;아, 요즘 결혼식 비용이 이 정도구나&quot;를 체감하고 적정 축의금을 고민해 보실 수 있습니다.&lt;/li&gt;
&lt;/ul&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;결혼 준비는 선택의 연속이고 그 선택은 곧 돈입니다. 무리한 지출보다는 이 계산기를 통해 우리 부부만의 &lt;b&gt;현명한 예산 계획&lt;/b&gt;을 세워보시길 바랍니다!&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;도움이 되셨다면 공감과 댓글 부탁드려요! :)&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;웨딩플레이션 탈출 계산기&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700&amp;display=swap');

        /* 티스토리 기본 스타일 강제 초기화 및 우선순위 확보 */
        #wedding-calc-root {
            font-family: 'Pretendard', sans-serif !important;
            line-height: 1.5 !important;
            color: #4a4a4a !important;
            text-align: left !important;
        }

        #wedding-calc-root .card {
            background: white !important;
            border-radius: 1.5rem !important;
            box-shadow: 0 10px 25px -5px rgba(255, 182, 193, 0.2) !important;
            border: 1px solid #ffe4e6 !important;
            margin-bottom: 1.5rem !important;
        }

        #wedding-calc-root label {
            display: block !important;
            margin-bottom: 0.25rem !important;
            font-weight: 700 !important;
            font-size: 0.75rem !important;
            color: #9ca3af !important; /* text-gray-400 */
        }

        #wedding-calc-root input.input-wedding {
            background-color: #fff5f7 !important;
            border: 1px solid #ffd1dc !important;
            border-radius: 0.75rem !important;
            padding: 0.75rem 1rem !important;
            width: 100% !important;
            font-weight: 600 !important;
            color: #1f2937 !important; /* text-gray-800 */
            outline: none !important;
            height: auto !important;
            margin: 0 !important;
        }

        #wedding-calc-root input.input-wedding:focus {
            border-color: #fb7185 !important;
            box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1) !important;
        }

        #wedding-calc-root .result-card {
            background: linear-gradient(135deg, #fb7185 0%, #fda4af 100%) !important;
            color: white !important;
            padding: 2rem !important;
        }

        /* 티스토리 스킨에서 글자색이 변하는 것을 방지 */
        #wedding-calc-root .force-white { color: white !important; }
        #wedding-calc-root .force-gray { color: #9ca3af !important; }
        #wedding-calc-root .force-black { color: #1f2937 !important; }
        #wedding-calc-root .force-pink { color: #fb7185 !important; }
        
        #wedding-calc-root p { margin: 0 !important; padding: 0 !important; }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body class=&quot;p-4&quot;&gt;
    &lt;div id=&quot;wedding-calc-root&quot; class=&quot;max-w-4xl mx-auto&quot;&gt;
        &lt;!-- Header --&gt;
        &lt;div class=&quot;text-center mb-8&quot;&gt;
            &lt;span class=&quot;text-pink-400 font-bold text-xs tracking-widest uppercase&quot;&gt;Expert Wedding Planner Mode&lt;/span&gt;
            &lt;h1 class=&quot;text-3xl font-black text-gray-800 mt-2 mb-2&quot; style=&quot;color: #1f2937 !important;&quot;&gt;  웨딩플레이션 탈출 계산기&lt;/h1&gt;
            &lt;p class=&quot;text-gray-500 text-sm italic&quot; style=&quot;color: #6b7280 !important;&quot;&gt;&quot;현직 플래너가 알려주는 우리 결혼식의 진짜 손익분기점&quot;&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&quot;grid lg:grid-cols-2 gap-8&quot;&gt;
            &lt;!-- Left Side: Inputs --&gt;
            &lt;div class=&quot;space-y-4&quot;&gt;
                &lt;div class=&quot;card p-6&quot;&gt;
                    &lt;h2 class=&quot;text-lg font-bold mb-4 flex items-center gap-2 force-black&quot;&gt; ️ 1. 고정 지출 (베뉴 &amp; 스드메)&lt;/h2&gt;
                    &lt;div class=&quot;space-y-4&quot;&gt;
                        &lt;div&gt;
                            &lt;label&gt;예식장 대관료 &amp; 꽃장식&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;hallFee&quot; value=&quot;10000000&quot; class=&quot;input-wedding&quot;&gt;
                                &lt;span class=&quot;absolute right-4 top-3 force-gray text-sm font-bold&quot;&gt;원&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;div&gt;
                            &lt;label&gt;스드메 패키지 총액&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;sdmFee&quot; value=&quot;4500000&quot; class=&quot;input-wedding&quot;&gt;
                                &lt;span class=&quot;absolute right-4 top-3 force-gray text-sm font-bold&quot;&gt;원&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;div class=&quot;card p-6&quot;&gt;
                    &lt;h2 class=&quot;text-lg font-bold mb-4 flex items-center gap-2 force-black&quot;&gt; ️ 2. 가변 지출 (식대 &amp; 하객)&lt;/h2&gt;
                    &lt;div class=&quot;space-y-4&quot;&gt;
                        &lt;div&gt;
                            &lt;label&gt;1인당 식대 (주류 포함)&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;mealFee&quot; value=&quot;75000&quot; class=&quot;input-wedding&quot;&gt;
                                &lt;span class=&quot;absolute right-4 top-3 force-gray text-sm font-bold&quot;&gt;원&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;div&gt;
                            &lt;label&gt;예상 하객 수&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;guestCount&quot; value=&quot;250&quot; class=&quot;input-wedding&quot;&gt;
                                &lt;span class=&quot;absolute right-4 top-3 force-gray text-sm font-bold&quot;&gt;명&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;div class=&quot;card p-6&quot; style=&quot;border-color: #fecaca !important;&quot;&gt;
                    &lt;h2 class=&quot;text-lg font-bold mb-4 flex items-center gap-2 force-pink&quot;&gt;✉️ 3. 예상 축의금 정보&lt;/h2&gt;
                    &lt;div&gt;
                        &lt;label style=&quot;color: #fb7185 !important;&quot;&gt;1인당 평균 예상 축의금&lt;/label&gt;
                        &lt;div class=&quot;relative&quot;&gt;
                            &lt;input type=&quot;number&quot; id=&quot;avgGift&quot; value=&quot;100000&quot; class=&quot;input-wedding&quot;&gt;
                            &lt;span class=&quot;absolute right-4 top-3 force-gray text-sm font-bold&quot;&gt;원&lt;/span&gt;
                        &lt;/div&gt;
                        &lt;p class=&quot;text-[10px] force-gray mt-2&quot;&gt;* 지인 10만 원, 친한 사이 15~20만 원이 평균입니다.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;

            &lt;!-- Right Side: Analysis --&gt;
            &lt;div class=&quot;space-y-6&quot;&gt;
                &lt;div class=&quot;card result-card relative overflow-hidden&quot;&gt;
                    &lt;div class=&quot;relative z-10&quot;&gt;
                        &lt;h2 class=&quot;text-xs font-bold force-white opacity-80 uppercase tracking-widest mb-2&quot;&gt;결혼식 시뮬레이션 결과&lt;/h2&gt;
                        &lt;div id=&quot;verdictTitle&quot; class=&quot;text-3xl font-black mb-6 force-white&quot;&gt;손익 계산 중...&lt;/div&gt;
                        
                        &lt;div class=&quot;grid grid-cols-2 gap-4 mb-6&quot;&gt;
                            &lt;div class=&quot;bg-white/20 p-4 rounded-2xl&quot;&gt;
                                &lt;p class=&quot;text-[10px] font-bold force-white opacity-80 mb-1&quot;&gt;총 소요 예산&lt;/p&gt;
                                &lt;p id=&quot;totalExpense&quot; class=&quot;text-lg font-black force-white&quot;&gt;0원&lt;/p&gt;
                            &lt;/div&gt;
                            &lt;div class=&quot;bg-white/20 p-4 rounded-2xl&quot;&gt;
                                &lt;p class=&quot;text-[10px] font-bold force-white opacity-80 mb-1&quot;&gt;예상 축의 수익&lt;/p&gt;
                                &lt;p id=&quot;totalIncome&quot; class=&quot;text-lg font-black force-white&quot;&gt;0원&lt;/p&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;

                        &lt;div class=&quot;bg-white p-6 rounded-2xl shadow-inner&quot;&gt;
                            &lt;div class=&quot;flex justify-between items-center mb-2&quot;&gt;
                                &lt;span class=&quot;text-xs font-bold force-gray&quot;&gt;최종 정산액&lt;/span&gt;
                                &lt;span id=&quot;netProfitText&quot; class=&quot;text-2xl font-black force-black&quot;&gt;0원&lt;/span&gt;
                            &lt;/div&gt;
                            &lt;div class=&quot;w-full bg-gray-100 h-3 rounded-full mt-2 overflow-hidden&quot;&gt;
                                &lt;div id=&quot;bepProgressBar&quot; class=&quot;bg-pink-500 h-full transition-all duration-1000&quot; style=&quot;width: 0%&quot;&gt;&lt;/div&gt;
                            &lt;/div&gt;
                            &lt;p id=&quot;bepStatusText&quot; class=&quot;text-[11px] font-bold force-gray mt-3 text-center&quot;&gt;분석 중...&lt;/p&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;!-- Expert Guide --&gt;
                &lt;div class=&quot;card p-6&quot;&gt;
                    &lt;h3 class=&quot;text-sm font-bold force-black mb-4 flex items-center gap-2&quot;&gt;
                        &lt;span&gt; ‍ &lt;/span&gt; 플래너의 현실 조언
                    &lt;/h3&gt;
                    &lt;div id=&quot;guideContent&quot; class=&quot;space-y-3 text-sm text-gray-600&quot;&gt;
                        &lt;!-- Dynamic Content --&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;!-- Tip Box --&gt;
                &lt;div class=&quot;p-5 bg-pink-50 rounded-2xl border border-pink-100&quot;&gt;
                    &lt;h4 class=&quot;text-xs font-bold text-pink-400 mb-2&quot;&gt;  하객 축의금 가이드 (식대 대비)&lt;/h4&gt;
                    &lt;div id=&quot;giftGuide&quot; class=&quot;text-[11px] text-pink-700 leading-relaxed font-medium&quot;&gt;
                        &lt;!-- Dynamic Content --&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        const inputs = ['hallFee', 'sdmFee', 'mealFee', 'guestCount', 'avgGift'];
        
        function calculate() {
            const hall = parseInt(document.getElementById('hallFee').value) || 0;
            const sdm = parseInt(document.getElementById('sdmFee').value) || 0;
            const meal = parseInt(document.getElementById('mealFee').value) || 0;
            const guest = parseInt(document.getElementById('guestCount').value) || 0;
            const gift = parseInt(document.getElementById('avgGift').value) || 0;

            const fixedCost = hall + sdm;
            const variableCost = meal * guest;
            const totalExpense = fixedCost + variableCost;
            const totalIncome = gift * guest;
            const netProfit = totalIncome - totalExpense;

            const marginPerGuest = gift - meal;
            let bepGuests = 0;
            if (marginPerGuest &gt; 0) {
                bepGuests = Math.ceil(fixedCost / marginPerGuest);
            }

            // UI 업데이트
            document.getElementById('totalExpense').innerText = totalExpense.toLocaleString() + '원';
            document.getElementById('totalIncome').innerText = totalIncome.toLocaleString() + '원';
            
            const netText = document.getElementById('netProfitText');
            const vTitle = document.getElementById('verdictTitle');
            if (netProfit &gt;= 0) {
                netText.style.color = &quot;#2563eb&quot;; // Blue
                netText.innerText = `+ ${netProfit.toLocaleString()}원`;
                vTitle.innerText = &quot;흑자 달성!  &quot;;
            } else {
                netText.style.color = &quot;#ef4444&quot;; // Red
                netText.innerText = `${netProfit.toLocaleString()}원`;
                vTitle.innerText = &quot;지출이 더 큽니다  &quot;;
            }

            const bepBar = document.getElementById('bepProgressBar');
            const progress = bepGuests &gt; 0 ? (guest / bepGuests) * 100 : 0;
            bepBar.style.width = Math.min(progress, 100) + '%';
            
            const bepStatus = document.getElementById('bepStatusText');
            if (marginPerGuest &lt;= 0) {
                bepStatus.innerText = &quot;식대가 축의금보다 비싸 본전이 불가능합니다.&quot;;
            } else {
                bepStatus.innerText = `하객 ${bepGuests.toLocaleString()}명 달성 시 '손익분기점'입니다.`;
            }

            const guide = document.getElementById('guideContent');
            const giftGuide = document.getElementById('giftGuide');
            
            guide.innerHTML = `
                &lt;p&gt;• 현재 인당 식대는 &lt;strong&gt;${meal.toLocaleString()}원&lt;/strong&gt;입니다. 축의금이 이보다 적으면 비용을 직접 부담하게 됩니다.&lt;/p&gt;
                &lt;p&gt;• 고정비가 높은 편입니다. 하객이 &lt;strong&gt;${Math.ceil(bepGuests * 0.8)}명&lt;/strong&gt;은 넘어야 안정적인 정산이 가능합니다.&lt;/p&gt;
            `;

            giftGuide.innerHTML = `
                오늘 예식장 식대(${meal.toLocaleString()}원) 기준:&lt;br&gt;
                - &lt;strong&gt;5만원 권&lt;/strong&gt;: 식대 충당이 어렵습니다. (가급적 마음만 전하기 추천)&lt;br&gt;
                - &lt;strong&gt;10만원 권&lt;/strong&gt;: 가장 적절한 표준 축의금입니다.&lt;br&gt;
                - &lt;strong&gt;15만원 이상&lt;/strong&gt;: 부부에게 실질적인 보탬이 되는 감사한 금액입니다.
            `;
        }

        inputs.forEach(id =&gt; {
            const el = document.getElementById(id);
            el.addEventListener('input', calculate);
        });

        calculate();
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</description>
      <category>돈이 되는 계산 방법</category>
      <category>결혼식본전</category>
      <category>결혼식비용</category>
      <category>결혼예산</category>
      <category>결혼준비</category>
      <category>스드메비용</category>
      <category>식대계산</category>
      <category>예신예랑</category>
      <category>웨딩플래너</category>
      <category>웨딩플레이션</category>
      <category>축의금기준</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/36</guid>
      <comments>https://ehdgus190.tistory.com/entry/%EC%8B%9D%EB%8C%80-8%EB%A7%8C%EC%9B%90-%EC%8B%9C%EB%8C%80-%EC%B6%95%EC%9D%98%EA%B8%88-5%EB%A7%8C%EC%9B%90%EC%9D%80-%EC%A0%95%EB%A7%90-%EB%AF%BC%ED%8F%90%EC%9D%BC%EA%B9%8C-%EC%9B%A8%EB%94%A9%ED%94%8C%EB%A0%88%EC%9D%B4%EC%85%98-%ED%83%88%EC%B6%9C-%EA%B3%84%EC%82%B0%EA%B8%B0#entry36comment</comments>
      <pubDate>Sat, 2 May 2026 23:33:52 +0900</pubDate>
    </item>
    <item>
      <title>차 살까?  대중교통 그냥 탈까?  신차? 아니면 중고?</title>
      <link>https://ehdgus190.tistory.com/entry/%EC%B0%A8-vs-%EB%8C%80%EC%A4%91%EA%B5%90%ED%86%B5-%EB%9D%BC%EC%9D%B4%ED%94%84%EC%8A%A4%ED%83%80%EC%9D%BC-%EA%B3%84%EC%82%B0%EA%B8%B0</link>
      <description>&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;이동수단 및 구매 방식 결정 계산기&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700&amp;display=swap');
        body { font-family: 'Pretendard', sans-serif; background-color: #f3f4f6; color: #1f2937; }
        .card { background: white; border-radius: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
        .slider { -webkit-appearance: none; width: 100%; height: 8px; background: #e5e7eb; border-radius: 5px; outline: none; }
        .slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; background: #3b82f6; cursor: pointer; border-radius: 50%; border: 3px solid white; box-shadow: 0 0 5px rgba(0,0,0,0.2); }
        .slider.red::-webkit-slider-thumb { background: #ef4444; }
        .slider.purple::-webkit-slider-thumb { background: #8b5cf6; }
        .input-box { background-color: #f9fafb; border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 0.75rem; width: 100%; font-weight: 600; outline: none; transition: border-color 0.2s; }
        .input-box:focus { border-color: #3b82f6; }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body class=&quot;p-4 md:p-8&quot;&gt;
    &lt;div class=&quot;max-w-5xl mx-auto&quot;&gt;
        &lt;!-- Header --&gt;
        &lt;div class=&quot;text-center mb-10&quot;&gt;
            &lt;h1 class=&quot;text-3xl font-extrabold text-gray-900 mb-2&quot;&gt;  차 살까?   그냥 탈까?   아니면 중고?&lt;/h1&gt;
            &lt;p class=&quot;text-gray-500&quot;&gt;지갑 사정부터 정비 지식, 마음의 평화까지 고려한 최적의 이동 솔루션&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&quot;grid lg:grid-cols-2 gap-8&quot;&gt;
            &lt;!-- Left Side: Inputs --&gt;
            &lt;div class=&quot;space-y-6&quot;&gt;
                &lt;!-- Financial Section --&gt;
                &lt;div class=&quot;card p-6&quot;&gt;
                    &lt;h2 class=&quot;text-lg font-bold mb-4 flex items-center gap-2&quot;&gt;  1. 경제적 여력 분석&lt;/h2&gt;
                    &lt;div class=&quot;space-y-4&quot;&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;block text-sm font-semibold text-gray-600 mb-1&quot;&gt;사용 가능한 자본 (예산)&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;capital&quot; value=&quot;25000000&quot; class=&quot;input-box&quot;&gt;
                                &lt;span class=&quot;absolute right-3 top-2.5 text-gray-400 text-sm&quot;&gt;원&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;block text-sm font-semibold text-gray-600 mb-1&quot;&gt;월 평균 세후 소득&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;monthlyIncome&quot; value=&quot;3500000&quot; class=&quot;input-box&quot;&gt;
                                &lt;span class=&quot;absolute right-3 top-2.5 text-gray-400 text-sm&quot;&gt;원&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;!-- Lifestyle Scoring --&gt;
                &lt;div class=&quot;card p-6&quot;&gt;
                    &lt;h2 class=&quot;text-lg font-bold mb-4 flex items-center gap-2&quot;&gt;  2. 자차 vs 대중교통 가치관&lt;/h2&gt;
                    &lt;div class=&quot;space-y-6&quot;&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;flex justify-between text-sm font-bold mb-2&quot;&gt;
                                &lt;span&gt;개인 공간 및 프라이버시 중요도&lt;/span&gt;
                                &lt;span class=&quot;text-blue-600&quot; id=&quot;val1_text&quot;&gt;보통&lt;/span&gt;
                            &lt;/label&gt;
                            &lt;input type=&quot;range&quot; id=&quot;val1&quot; min=&quot;1&quot; max=&quot;5&quot; value=&quot;3&quot; class=&quot;slider&quot; oninput=&quot;updateValText('val1')&quot;&gt;
                        &lt;/div&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;flex justify-between text-sm font-bold mb-2&quot;&gt;
                                &lt;span&gt;무거운 짐 이동/자유로운 이동 반경&lt;/span&gt;
                                &lt;span class=&quot;text-blue-600&quot; id=&quot;val2_text&quot;&gt;보통&lt;/span&gt;
                            &lt;/label&gt;
                            &lt;input type=&quot;range&quot; id=&quot;val2&quot; min=&quot;1&quot; max=&quot;5&quot; value=&quot;3&quot; class=&quot;slider&quot; oninput=&quot;updateValText('val2')&quot;&gt;
                        &lt;/div&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;flex justify-between text-sm font-bold mb-2&quot;&gt;
                                &lt;span&gt;교통 체증에 대한 거부감 (단점)&lt;/span&gt;
                                &lt;span class=&quot;text-red-500&quot; id=&quot;val4_text&quot;&gt;보통&lt;/span&gt;
                            &lt;/label&gt;
                            &lt;input type=&quot;range&quot; id=&quot;val4&quot; min=&quot;1&quot; max=&quot;5&quot; value=&quot;3&quot; class=&quot;slider red&quot; oninput=&quot;updateValText('val4')&quot;&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;!-- New vs Used Section --&gt;
                &lt;div class=&quot;card p-6 border-t-4 border-purple-500&quot;&gt;
                    &lt;h2 class=&quot;text-lg font-bold mb-4 flex items-center gap-2 text-purple-700&quot;&gt; ️ 3. 신차 vs 중고차 성향 분석&lt;/h2&gt;
                    &lt;p class=&quot;text-xs text-gray-400 mb-4&quot;&gt;* 당신이 더 걱정하거나 선호하는 쪽에 가깝게 조절하세요.&lt;/p&gt;
                    
                    &lt;div class=&quot;space-y-6&quot;&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;flex justify-between text-sm font-bold mb-2&quot;&gt;
                                &lt;span&gt;자동차 정비 지식/관심도&lt;/span&gt;
                                &lt;span class=&quot;text-purple-600&quot; id=&quot;val6_text&quot;&gt;보통&lt;/span&gt;
                            &lt;/label&gt;
                            &lt;input type=&quot;range&quot; id=&quot;val6&quot; min=&quot;1&quot; max=&quot;5&quot; value=&quot;3&quot; class=&quot;slider purple&quot; oninput=&quot;updateValText('val6')&quot;&gt;
                            &lt;div class=&quot;flex justify-between text-[10px] text-gray-400 mt-1&quot;&gt;
                                &lt;span&gt;전혀 모름(정비소 무서움)&lt;/span&gt;
                                &lt;span&gt;차알못 아님(직접 점검 가능)&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;flex justify-between text-sm font-bold mb-2&quot;&gt;
                                &lt;span&gt;남의 흔적(냄새, 청결) 민감도&lt;/span&gt;
                                &lt;span class=&quot;text-purple-600&quot; id=&quot;val7_text&quot;&gt;보통&lt;/span&gt;
                            &lt;/label&gt;
                            &lt;input type=&quot;range&quot; id=&quot;val7&quot; min=&quot;1&quot; max=&quot;5&quot; value=&quot;3&quot; class=&quot;slider purple&quot; oninput=&quot;updateValText('val7')&quot;&gt;
                            &lt;div class=&quot;flex justify-between text-[10px] text-gray-400 mt-1&quot;&gt;
                                &lt;span&gt;신경 안 씀&lt;/span&gt;
                                &lt;span&gt;무조건 새 것(비닐 뜯기)&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;flex justify-between text-sm font-bold mb-2&quot;&gt;
                                &lt;span&gt;감가상각(손해)에 대한 민감도&lt;/span&gt;
                                &lt;span class=&quot;text-purple-600&quot; id=&quot;val8_text&quot;&gt;보통&lt;/span&gt;
                            &lt;/label&gt;
                            &lt;input type=&quot;range&quot; id=&quot;val8&quot; min=&quot;1&quot; max=&quot;5&quot; value=&quot;3&quot; class=&quot;slider purple&quot; oninput=&quot;updateValText('val8')&quot;&gt;
                            &lt;div class=&quot;flex justify-between text-[10px] text-gray-400 mt-1&quot;&gt;
                                &lt;span&gt;편의가 우선&lt;/span&gt;
                                &lt;span&gt;내 돈 아까움(최소 손해)&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;

            &lt;!-- Right Side: Analysis &amp; Verdict --&gt;
            &lt;div class=&quot;space-y-6&quot;&gt;
                &lt;!-- Summary Verdict Card --&gt;
                &lt;div class=&quot;card p-8 text-center relative overflow-hidden bg-gradient-to-br from-white to-gray-50&quot;&gt;
                    &lt;div id=&quot;verdictEmoji&quot; class=&quot;text-6xl mb-4&quot;&gt; &lt;/div&gt;
                    &lt;div id=&quot;verdictTitle&quot; class=&quot;text-2xl font-black mb-2&quot;&gt;최적의 선택은...&lt;/div&gt;
                    &lt;div id=&quot;verdictMain&quot; class=&quot;text-3xl font-black text-blue-600 mb-4 tracking-tight&quot;&gt;분석 중입니다&lt;/div&gt;
                    &lt;p id=&quot;verdictDescription&quot; class=&quot;text-gray-500 text-sm mb-6 leading-relaxed&quot;&gt;
                        생활 패턴과 가치관을 결합하여 결과를 도출합니다.
                    &lt;/p&gt;

                    &lt;!-- Indicators --&gt;
                    &lt;div class=&quot;space-y-6 pt-4 border-t border-gray-100&quot;&gt;
                        &lt;!-- Car vs Transit --&gt;
                        &lt;div&gt;
                            &lt;div class=&quot;flex justify-between text-xs font-bold mb-1&quot;&gt;
                                &lt;span class=&quot;text-blue-600&quot;&gt;자차 필요성&lt;/span&gt;
                                &lt;span class=&quot;text-emerald-600&quot;&gt;대중교통 선호&lt;/span&gt;
                            &lt;/div&gt;
                            &lt;div class=&quot;w-full bg-gray-100 h-3 rounded-full overflow-hidden flex&quot;&gt;
                                &lt;div id=&quot;carIndexBar&quot; class=&quot;bg-blue-500 h-full transition-all duration-700&quot; style=&quot;width: 50%&quot;&gt;&lt;/div&gt;
                                &lt;div id=&quot;transitIndexBar&quot; class=&quot;bg-emerald-500 h-full transition-all duration-700&quot; style=&quot;width: 50%&quot;&gt;&lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;!-- New vs Used --&gt;
                        &lt;div&gt;
                            &lt;div class=&quot;flex justify-between text-xs font-bold mb-1&quot;&gt;
                                &lt;span class=&quot;text-purple-600&quot;&gt;신차(신뢰/만족)&lt;/span&gt;
                                &lt;span class=&quot;text-amber-600&quot;&gt;중고차(실속/가성비)&lt;/span&gt;
                            &lt;/div&gt;
                            &lt;div class=&quot;w-full bg-gray-100 h-3 rounded-full overflow-hidden flex&quot;&gt;
                                &lt;div id=&quot;newIndexBar&quot; class=&quot;bg-purple-500 h-full transition-all duration-700&quot; style=&quot;width: 50%&quot;&gt;&lt;/div&gt;
                                &lt;div id=&quot;usedIndexBar&quot; class=&quot;bg-amber-500 h-full transition-all duration-700&quot; style=&quot;width: 50%&quot;&gt;&lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;!-- Detailed Recommendation --&gt;
                &lt;div class=&quot;card p-6 bg-gray-900 text-white&quot;&gt;
                    &lt;h2 class=&quot;text-lg font-bold mb-4 flex items-center gap-2&quot;&gt;
                          전문가의 맞춤 조언
                    &lt;/h2&gt;
                    &lt;div id=&quot;detailedAdvice&quot; class=&quot;text-sm text-gray-300 space-y-4&quot;&gt;
                        &lt;!-- Dynamic Content --&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;mt-6 pt-6 border-t border-gray-700&quot;&gt;
                        &lt;div class=&quot;flex justify-between items-center mb-3&quot;&gt;
                            &lt;span class=&quot;text-xs text-gray-400 font-bold uppercase tracking-widest&quot;&gt;추천 카테고리&lt;/span&gt;
                            &lt;span id=&quot;recCategory&quot; class=&quot;text-sm font-black text-blue-400&quot;&gt;분석 중&lt;/span&gt;
                        &lt;/div&gt;
                        &lt;div id=&quot;recCarList&quot; class=&quot;grid grid-cols-1 gap-2 text-xs&quot;&gt;
                            &lt;!-- Dynamic Content --&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;!-- Warning/Pros Card --&gt;
                &lt;div class=&quot;card p-5 bg-amber-50 border border-amber-100&quot;&gt;
                    &lt;h3 class=&quot;text-sm font-bold text-amber-800 mb-2&quot;&gt;⚠️ 선택 시 주의사항&lt;/h3&gt;
                    &lt;ul id=&quot;warningList&quot; class=&quot;text-xs text-amber-700 space-y-1 list-disc pl-4&quot;&gt;
                        &lt;!-- Dynamic Content --&gt;
                    &lt;/ul&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;p class=&quot;text-center text-[10px] text-gray-400 mt-10&quot;&gt;이 데이터는 주관적인 성향 점수를 기반으로 한 가이드이며, 실제 차량 구매 시에는 반드시 실물을 확인하시기 바랍니다.&lt;/p&gt;
    &lt;/div&gt;

    &lt;script&gt;
        const inputIds = ['capital', 'monthlyIncome', 'val1', 'val2', 'val4', 'val6', 'val7', 'val8'];
        const labels = { 1: '매우 낮음', 2: '낮음', 3: '보통', 4: '높음', 5: '매우 높음' };

        function updateValText(id) {
            const val = document.getElementById(id).value;
            document.getElementById(id + '_text').innerText = labels[val];
            calculate();
        }

        function calculate() {
            const cap = parseInt(document.getElementById('capital').value) || 0;
            const inc = parseInt(document.getElementById('monthlyIncome').value) || 0;
            
            const privacy = parseInt(document.getElementById('val1').value);
            const utility = parseInt(document.getElementById('val2').value);
            const trafficHate = parseInt(document.getElementById('val4').value);
            
            const mechanicKnowledge = parseInt(document.getElementById('val6').value);
            const traceSensitive = parseInt(document.getElementById('val7').value);
            const depreciationSensitive = parseInt(document.getElementById('val8').value);

            // 1. 자차 vs 대중교통 지수
            let carScore = (privacy * 20) + (utility * 20);
            let transitScore = (trafficHate * 25) + 80;
            
            // 경제적 여유가 없으면 대중교통 점수 보정
            if (inc &lt; 2500000) transitScore += 40;

            const totalMove = carScore + transitScore;
            const carPercent = (carScore / totalMove) * 100;
            
            // 2. 신차 vs 중고차 지수
            // 신차 선호 요인: 지식 낮음(정비 불안), 흔적 민감함, 예산 충분함
            // 중고차 선호 요인: 지식 높음(직접 고름), 감가상각 민감함, 예산 부족함
            let newScore = (6 - mechanicKnowledge) * 15 + (traceSensitive * 20);
            let usedScore = (mechanicKnowledge * 10) + (depreciationSensitive * 25);
            
            if (cap &lt; 15000000) usedScore += 50;
            if (cap &gt; 50000000) newScore += 30;

            const totalType = newScore + usedScore;
            const newPercent = (newScore / totalType) * 100;

            // UI 업데이트
            document.getElementById('carIndexBar').style.width = carPercent + '%';
            document.getElementById('transitIndexBar').style.width = (100 - carPercent) + '%';
            document.getElementById('newIndexBar').style.width = newPercent + '%';
            document.getElementById('usedIndexBar').style.width = (100 - newPercent) + '%';

            const vMain = document.getElementById('verdictMain');
            const vDesc = document.getElementById('verdictDescription');
            const vEmoji = document.getElementById('verdictEmoji');
            const dAdvice = document.getElementById('detailedAdvice');
            const rCategory = document.getElementById('recCategory');
            const rCarList = document.getElementById('recCarList');
            const wList = document.getElementById('warningList');

            dAdvice.innerHTML = '';
            rCarList.innerHTML = '';
            wList.innerHTML = '';

            // 최종 결론 로직
            if (carPercent &lt; 45) {
                vEmoji.innerText = &quot; &quot;;
                vMain.innerText = &quot;대중교통이 답입니다&quot;;
                vMain.className = &quot;text-3xl font-black text-emerald-600 mb-4 tracking-tight&quot;;
                vDesc.innerText = &quot;아직은 차를 소유함으로써 얻는 이득보다 비용과 관리의 스트레스가 훨씬 큽니다. 여유 자금을 저축하세요.&quot;;
                rCategory.innerText = &quot;대중교통 &amp; 가끔 택시&quot;;
                addAdvice(dAdvice, &quot;매일 운전하는 스트레스보다 가끔 택시를 타는 것이 훨씬 경제적입니다.&quot;);
                addWarning(wList, &quot;무리하게 차를 사면 '카푸어'가 될 확률이 매우 높습니다.&quot;);
            } else {
                if (newPercent &gt; 55) {
                    vEmoji.innerText = &quot;✨&quot;;
                    vMain.innerText = &quot;걱정 없는 '신차' 추천&quot;;
                    vMain.className = &quot;text-3xl font-black text-purple-600 mb-4 tracking-tight&quot;;
                    vDesc.innerText = &quot;정비에 신경 쓰기 싫고 남의 흔적이 싫다면 신차가 최고의 선택입니다. 제조사 보증 기간이 마음의 평화를 줍니다.&quot;;
                    rCategory.innerText = &quot;신차 / 장기렌트&quot;;
                    addAdvice(dAdvice, &quot;초기 감가는 크지만, 5년 이상 길게 타신다면 신차가 정신 건강에 가장 이롭습니다.&quot;);
                    addWarning(wList, &quot;출고 대기 기간이 길 수 있으니 중고차급 신차(신차급 중고)도 함께 살펴보세요.&quot;);
                    updateCarList(rCarList, cap, 'new');
                } else if (newPercent &lt; 45) {
                    vEmoji.innerText = &quot; ️&quot;;
                    vMain.innerText = &quot;가성비 끝판왕 '중고차'&quot;;
                    vMain.className = &quot;text-3xl font-black text-amber-600 mb-4 tracking-tight&quot;;
                    vDesc.innerText = &quot;감가상각을 방어하고 실속을 챙기고 싶으시군요. 차에 대해 잘 알거나 공부할 준비가 된 분에게 최고의 선택입니다.&quot;;
                    rCategory.innerText = &quot;인증 중고차 / 직거래&quot;;
                    addAdvice(dAdvice, &quot;이미 감가가 된 차를 사서 2~3년 타고 되팔아도 손해가 적습니다. 실용주의자 유형입니다.&quot;);
                    addWarning(wList, &quot;성능점검표만 믿지 말고, 반드시 보험 이력과 하체 부식 여부를 확인하세요.&quot;);
                    updateCarList(rCarList, cap, 'used');
                } else {
                    vEmoji.innerText = &quot; &quot;;
                    vMain.innerText = &quot;신차급 중고차가 베스트&quot;;
                    vMain.className = &quot;text-3xl font-black text-blue-500 mb-4 tracking-tight&quot;;
                    vDesc.innerText = &quot;신차의 깔끔함과 중고차의 가성비 사이에서 균형을 잡으세요. 주행거리 1만km 미만의 준신차급이 어울립니다.&quot;;
                    rCategory.innerText = &quot;신차급 중고차 (1년 미만)&quot;;
                    addAdvice(dAdvice, &quot;누가 비닐만 뜯고 판 차를 고르면 취등록세와 감가액을 동시에 아낄 수 있습니다.&quot;);
                    updateCarList(rCarList, cap, 'semi');
                }
            }
        }

        function addAdvice(parent, text) {
            const p = document.createElement('p');
            p.innerText = &quot;• &quot; + text;
            parent.appendChild(p);
        }

        function addWarning(parent, text) {
            const li = document.createElement('li');
            li.innerText = text;
            parent.appendChild(li);
        }

        function updateCarList(parent, cap, type) {
            let cars = [];
            if (cap &lt; 15000000) {
                cars = type === 'new' ? [&quot;경차 기본형 (할부 필요)&quot;] : [&quot;중고 아반떼 AD&quot;, &quot;중고 모닝/레이&quot;];
            } else if (cap &lt; 30000000) {
                cars = type === 'new' ? [&quot;신형 아반떼&quot;, &quot;캐스퍼/셀토스&quot;] : [&quot;중고 그랜저 IG&quot;, &quot;중고 싼타페 TM&quot;];
            } else {
                cars = type === 'new' ? [&quot;그랜저 GN7&quot;, &quot;쏘렌토 하이브리드&quot;] : [&quot;중고 제네시스 G80&quot;, &quot;BMW 5시리즈 (중고)&quot;];
            }
            cars.forEach(c =&gt; {
                const div = document.createElement('div');
                div.className = &quot;bg-gray-800 p-2 rounded border border-gray-700 text-center&quot;;
                div.innerText = c;
                parent.appendChild(div);
            });
        }

        inputIds.forEach(id =&gt; {
            document.getElementById(id).addEventListener('input', calculate);
        });

        calculate();
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</description>
      <category>돈이 되는 계산 방법</category>
      <category>뚜벅이탈출</category>
      <category>신차구매</category>
      <category>중고차구매</category>
      <category>차구매고민</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/35</guid>
      <comments>https://ehdgus190.tistory.com/entry/%EC%B0%A8-vs-%EB%8C%80%EC%A4%91%EA%B5%90%ED%86%B5-%EB%9D%BC%EC%9D%B4%ED%94%84%EC%8A%A4%ED%83%80%EC%9D%BC-%EA%B3%84%EC%82%B0%EA%B8%B0#entry35comment</comments>
      <pubDate>Sat, 2 May 2026 01:05:13 +0900</pubDate>
    </item>
    <item>
      <title>카페 vs 홈카페 본전 계산기</title>
      <link>https://ehdgus190.tistory.com/entry/%EC%B9%B4%ED%8E%98-vs-%ED%99%88%EC%B9%B4%ED%8E%98-%EB%B3%B8%EC%A0%84-%EA%B3%84%EC%82%B0%EA%B8%B0</link>
      <description>&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;카페 vs 홈카페 본전 계산기&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700&amp;display=swap');
        body { font-family: 'Pretendard', sans-serif; background-color: #f8fafc; color: #1e293b; }
        .card { background: white; border-radius: 1.25rem; box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05); }
        .input-focus:focus { border-color: #8b5cf6; ring-color: #8b5cf6; }
        
        /* 티스토리 스타일 충돌 방지 */
        .text-home { color: #8b5cf6 !important; }
        .text-cafe { color: #f59e0b !important; }
        .text-benefit { color: #10b981 !important; }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body class=&quot;p-4 md:p-8&quot;&gt;
    &lt;div class=&quot;max-w-2xl mx-auto&quot;&gt;
        &lt;!-- Header --&gt;
        &lt;div class=&quot;text-center mb-8&quot;&gt;
            &lt;div class=&quot;inline-block bg-purple-100 text-purple-600 text-xs font-bold px-3 py-1 rounded-full mb-2 uppercase tracking-wider&quot;&gt;Smart Home Cafe Guide&lt;/div&gt;
            &lt;h1 class=&quot;text-3xl font-extrabold tracking-tight text-gray-900 mb-2&quot;&gt;☕ 홈카페 본전 뽑기&lt;/h1&gt;
            &lt;p class=&quot;text-gray-500 font-medium&quot;&gt;일주일에 몇 번 드시나요? 현실적인 본전 기간을 알려드려요.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&quot;grid md:grid-cols-5 gap-6&quot;&gt;
            &lt;!-- Left Side: Inputs --&gt;
            &lt;div class=&quot;md:col-span-2 space-y-4&quot;&gt;
                &lt;div class=&quot;card p-5 border border-gray-100&quot;&gt;
                    &lt;h3 class=&quot;text-sm font-bold text-gray-400 uppercase mb-4 tracking-wider&quot;&gt;나의 커피 패턴&lt;/h3&gt;
                    
                    &lt;div class=&quot;space-y-4&quot;&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;block text-sm font-bold mb-1 text-gray-700&quot;&gt;기기 가격 (초기 투자금)&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;machinePrice&quot; value=&quot;150000&quot; step=&quot;10000&quot; class=&quot;w-full p-2.5 bg-gray-50 border border-gray-200 rounded-lg outline-none input-focus font-bold&quot;&gt;
                                &lt;span class=&quot;absolute right-3 top-2.5 text-gray-400&quot;&gt;원&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;

                        &lt;div&gt;
                            &lt;label class=&quot;block text-sm font-bold mb-1 text-gray-700&quot;&gt;캡슐/원두 1잔당 단가&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;homePrice&quot; value=&quot;600&quot; step=&quot;100&quot; class=&quot;w-full p-2.5 bg-gray-50 border border-gray-200 rounded-lg outline-none input-focus font-bold&quot;&gt;
                                &lt;span class=&quot;absolute right-3 top-2.5 text-gray-400&quot;&gt;원&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;

                        &lt;div&gt;
                            &lt;label class=&quot;block text-sm font-bold mb-1 text-gray-700&quot;&gt;사 먹는 커피 평균가&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;cafePrice&quot; value=&quot;4500&quot; step=&quot;500&quot; class=&quot;w-full p-2.5 bg-gray-50 border border-gray-200 rounded-lg outline-none input-focus font-bold&quot;&gt;
                                &lt;span class=&quot;absolute right-3 top-2.5 text-gray-400&quot;&gt;원&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;

                        &lt;div&gt;
                            &lt;label class=&quot;block text-sm font-bold mb-1 text-gray-700&quot;&gt;일주일 평균 음용 횟수&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;cupsPerWeek&quot; value=&quot;10&quot; min=&quot;1&quot; max=&quot;70&quot; class=&quot;w-full p-2.5 bg-gray-50 border border-gray-200 rounded-lg outline-none input-focus font-bold&quot;&gt;
                                &lt;span class=&quot;absolute right-3 top-2.5 text-gray-400&quot;&gt;회&lt;/span&gt;
                            &lt;/div&gt;
                            &lt;p class=&quot;text-[10px] text-gray-400 mt-1&quot;&gt;* 예: 하루 한 잔이면 7회, 두 잔이면 14회&lt;/p&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;

            &lt;!-- Right Side: Analysis --&gt;
            &lt;div class=&quot;md:col-span-3 space-y-4&quot;&gt;
                &lt;!-- Main Verdict Card --&gt;
                &lt;div id=&quot;verdictCard&quot; class=&quot;card p-6 border-l-8 border-purple-600&quot;&gt;
                    &lt;h2 class=&quot;text-xs font-bold text-gray-400 uppercase mb-2&quot;&gt;예상 본전 포인트&lt;/h2&gt;
                    &lt;div id=&quot;verdictText&quot; class=&quot;text-2xl font-black mb-1 text-purple-600&quot;&gt;기계값 회수까지 약 25일!&lt;/div&gt;
                    &lt;div id=&quot;savingAmount&quot; class=&quot;text-sm font-bold text-benefit mb-4&quot;&gt;매달 약 234,000원을 아낄 수 있어요.&lt;/div&gt;
                    
                    &lt;div class=&quot;grid grid-cols-2 gap-4&quot;&gt;
                        &lt;div class=&quot;bg-amber-50 p-3 rounded-xl border border-amber-100&quot;&gt;
                            &lt;div class=&quot;text-[11px] font-bold text-amber-500 mb-1 text-cafe&quot;&gt;한달 카페 비용&lt;/div&gt;
                            &lt;div id=&quot;monthlyCafe&quot; class=&quot;text-lg font-black&quot;&gt;270,000원&lt;/div&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;bg-purple-50 p-3 rounded-xl border border-purple-100&quot;&gt;
                            &lt;div class=&quot;text-[11px] font-bold text-purple-400 mb-1 text-home&quot;&gt;한달 홈카페 비용&lt;/div&gt;
                            &lt;div id=&quot;monthlyHome&quot; class=&quot;text-lg font-black&quot;&gt;36,000원&lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;!-- Comparison Detail --&gt;
                &lt;div class=&quot;card p-5&quot;&gt;
                    &lt;h3 class=&quot;text-sm font-bold text-gray-700 mb-3&quot;&gt;상세 분석&lt;/h3&gt;
                    &lt;div class=&quot;space-y-2&quot;&gt;
                        &lt;div class=&quot;flex justify-between text-xs py-2 border-b border-gray-100&quot;&gt;
                            &lt;span class=&quot;text-gray-400 font-medium&quot;&gt;잔당 절약액&lt;/span&gt;
                            &lt;span id=&quot;savePerCup&quot; class=&quot;font-bold text-benefit&quot;&gt;3,900원&lt;/span&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;flex justify-between text-xs py-2 border-b border-gray-100&quot;&gt;
                            &lt;span class=&quot;text-gray-400 font-medium&quot;&gt;1년 사용 시 예상 절약액&lt;/span&gt;
                            &lt;span id=&quot;yearlySaving&quot; class=&quot;font-bold text-gray-700&quot;&gt;2,847,000원&lt;/span&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;flex justify-between text-xs py-2 border-b border-gray-100&quot;&gt;
                            &lt;span class=&quot;text-gray-400 font-medium&quot;&gt;본전까지 필요한 잔수&lt;/span&gt;
                            &lt;span id=&quot;breakEvenCups&quot; class=&quot;font-bold text-gray-700&quot;&gt;약 39잔&lt;/span&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;flex justify-between text-xs py-2&quot;&gt;
                            &lt;span class=&quot;text-gray-400 font-medium&quot;&gt;하루 평균 환산&lt;/span&gt;
                            &lt;span id=&quot;dailyAvgText&quot; class=&quot;font-bold text-gray-700&quot;&gt;약 1.4잔&lt;/span&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- Smart Tip --&gt;
        &lt;div id=&quot;smartTip&quot; class=&quot;mt-6 p-4 bg-white border border-gray-200 rounded-xl flex gap-3 items-center&quot;&gt;
            &lt;span id=&quot;tipIcon&quot; class=&quot;text-2xl&quot;&gt; &lt;/span&gt;
            &lt;div class=&quot;text-xs text-gray-600 leading-relaxed font-medium&quot; id=&quot;tipContent&quot;&gt;
                이 기기를 사면 한 달 만에 기계값을 뽑고도 남습니다. 지르셔도 되겠네요!
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;footer class=&quot;text-center mt-10 space-y-1&quot;&gt;
            &lt;p class=&quot;text-[10px] text-gray-400 font-medium&quot;&gt;물값, 전기세, 우유 부재료 등은 계산에서 제외되었습니다.&lt;/p&gt;
            &lt;p class=&quot;text-[10px] text-gray-400&quot;&gt;© 2024 Coffee Break-even Tool&lt;/p&gt;
        &lt;/footer&gt;
    &lt;/div&gt;

    &lt;script&gt;
        const machineInput = document.getElementById('machinePrice');
        const homeInput = document.getElementById('homePrice');
        const cafeInput = document.getElementById('cafePrice');
        const cupsInput = document.getElementById('cupsPerWeek');

        function updateResult() {
            const machinePrice = parseInt(machineInput.value) || 0;
            const homePrice = parseInt(homeInput.value) || 0;
            const cafePrice = parseInt(cafeInput.value) || 0;
            const cupsPerWeek = parseFloat(cupsInput.value) || 0;

            // 하루 평균 잔수 환산
            const dailyAvg = cupsPerWeek / 7;
            const savePerCup = cafePrice - homePrice;
            const dailySaving = savePerCup * dailyAvg;
            const monthlySaving = dailySaving * 30.42; // 평균 한 달 일수 반영
            const yearlySaving = dailySaving * 365;

            // 본전 계산
            let breakEvenDays = 0;
            let breakEvenCups = 0;
            if (savePerCup &gt; 0 &amp;&amp; dailyAvg &gt; 0) {
                breakEvenDays = Math.ceil(machinePrice / dailySaving);
                breakEvenCups = Math.ceil(machinePrice / savePerCup);
            }

            // UI 업데이트
            document.getElementById('savePerCup').innerText = savePerCup.toLocaleString() + '원';
            document.getElementById('monthlyCafe').innerText = Math.round(cafePrice * dailyAvg * 30.42).toLocaleString() + '원';
            document.getElementById('monthlyHome').innerText = Math.round(homePrice * dailyAvg * 30.42).toLocaleString() + '원';
            document.getElementById('yearlySaving').innerText = Math.round(yearlySaving).toLocaleString() + '원';
            document.getElementById('breakEvenCups').innerText = `약 ${breakEvenCups.toLocaleString()}잔`;
            document.getElementById('dailyAvgText').innerText = `약 ${dailyAvg.toFixed(1)}잔`;
            document.getElementById('savingAmount').innerText = `매달 약 ${Math.round(monthlySaving).toLocaleString()}원을 더 아낄 수 있어요.`;

            const verdictText = document.getElementById('verdictText');
            const tipContent = document.getElementById('tipContent');

            if (savePerCup &lt;= 0) {
                verdictText.innerText = &quot;홈카페가 더 비싸요!&quot;;
                verdictText.className = &quot;text-2xl font-black mb-1 text-red-500&quot;;
                tipContent.innerHTML = &quot;원두나 캡슐 가격이 너무 비쌉니다. 가성비 홈카페를 위해 재료비를 낮춰보세요!&quot;;
            } else if (dailyAvg === 0) {
                verdictText.innerText = &quot;음용 횟수를 입력해주세요&quot;;
                verdictText.className = &quot;text-2xl font-black mb-1 text-gray-400&quot;;
                tipContent.innerHTML = &quot;일주일에 커피를 몇 번 마시는지 입력하시면 분석을 시작합니다.&quot;;
            } else {
                const months = Math.floor(breakEvenDays / 30.42);
                const days = Math.round(breakEvenDays % 30.42);
                let timeString = months &gt; 0 ? `${months}개월 ${days}일` : `${days}일`;
                
                verdictText.innerText = `기계값 회수까지 약 ${timeString}!`;
                verdictText.className = &quot;text-2xl font-black mb-1 text-purple-600&quot;;

                if (breakEvenDays &lt;= 31) {
                    tipContent.innerHTML = &quot;이 기기를 사면 &lt;strong&gt;한 달 이내&lt;/strong&gt;에 기계값을 뽑고도 남습니다. 고민은 배송만 늦출 뿐!&quot;;
                } else if (breakEvenDays &lt;= 180) {
                    tipContent.innerHTML = &quot;약 반 년 정도면 본전을 뽑습니다. 장기적으로 봤을 때 충분히 경제적인 투자입니다.&quot;;
                } else if (breakEvenDays &lt;= 365) {
                    tipContent.innerHTML = &quot;1년 안에 본전을 뽑을 수 있습니다. 꾸준히 사용하신다면 홈카페가 훨씬 유리합니다.&quot;;
                } else {
                    tipContent.innerHTML = &quot;본전까지 시간이 꽤 걸리네요. 하지만 커피 맛의 취향이나 삶의 질을 생각한다면 나쁘지 않은 선택입니다.&quot;;
                }
            }
        }

        [machineInput, homeInput, cafeInput, cupsInput].forEach(el =&gt; {
            el.addEventListener('input', updateResult);
        });

        updateResult();
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</description>
      <category>돈이 되는 계산 방법</category>
      <category>SEO</category>
      <category>본전찾기</category>
      <category>홈카페</category>
      <category>홈카페만들기</category>
      <category>홈카페원금회수</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/34</guid>
      <comments>https://ehdgus190.tistory.com/entry/%EC%B9%B4%ED%8E%98-vs-%ED%99%88%EC%B9%B4%ED%8E%98-%EB%B3%B8%EC%A0%84-%EA%B3%84%EC%82%B0%EA%B8%B0#entry34comment</comments>
      <pubDate>Sat, 2 May 2026 00:51:17 +0900</pubDate>
    </item>
    <item>
      <title>기후동행카드 vs K-패스 비교 계산기</title>
      <link>https://ehdgus190.tistory.com/entry/%EA%B8%B0%ED%9B%84%EB%8F%99%ED%96%89%EC%B9%B4%EB%93%9C-vs-K-%ED%8C%A8%EC%8A%A4-%EB%B9%84%EA%B5%90-%EA%B3%84%EC%82%B0%EA%B8%B0</link>
      <description>&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;기후동행카드 vs K-패스 비교&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700&amp;display=swap');
        body { font-family: 'Pretendard', sans-serif; background-color: #f1f5f9; color: #1e293b; }
        .card { background: white; border-radius: 1.25rem; box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05); }
        .input-focus:focus { border-color: #3b82f6; ring-color: #3b82f6; }
        
        /* 결과값 텍스트 색상 강제 지정 (티스토리 스킨 충돌 방지) */
        .text-climate { color: #2563eb !important; }
        .text-kpass { color: #059669 !important; }
        .text-benefit { color: #e11d48 !important; }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body class=&quot;p-4 md:p-8&quot;&gt;
    &lt;div class=&quot;max-w-2xl mx-auto&quot;&gt;
        &lt;!-- Header --&gt;
        &lt;div class=&quot;text-center mb-8&quot;&gt;
            &lt;h1 class=&quot;text-3xl font-extrabold tracking-tight text-gray-900 mb-2&quot;&gt;  대중교통 무한 비교&lt;/h1&gt;
            &lt;p class=&quot;text-gray-500&quot;&gt;기후동행카드 vs K-패스, 당신의 선택은?&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&quot;grid md:grid-cols-5 gap-6&quot;&gt;
            &lt;!-- Left Side: Inputs --&gt;
            &lt;div class=&quot;md:col-span-2 space-y-4&quot;&gt;
                &lt;div class=&quot;card p-5&quot;&gt;
                    &lt;h3 class=&quot;text-sm font-bold text-gray-400 uppercase mb-4 tracking-wider&quot;&gt;이용 패턴 입력&lt;/h3&gt;
                    
                    &lt;div class=&quot;space-y-4&quot;&gt;
                        &lt;div&gt;
                            &lt;label class=&quot;block text-sm font-bold mb-1&quot;&gt;1회당 평균 요금&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;fare&quot; value=&quot;1400&quot; step=&quot;100&quot; class=&quot;w-full p-2.5 bg-gray-50 border border-gray-200 rounded-lg outline-none input-focus font-bold&quot;&gt;
                                &lt;span class=&quot;absolute right-3 top-2.5 text-gray-400&quot;&gt;원&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;

                        &lt;div&gt;
                            &lt;label class=&quot;block text-sm font-bold mb-1&quot;&gt;한 달 이용 횟수&lt;/label&gt;
                            &lt;div class=&quot;relative&quot;&gt;
                                &lt;input type=&quot;number&quot; id=&quot;monthlyRides&quot; value=&quot;44&quot; min=&quot;0&quot; class=&quot;w-full p-2.5 bg-gray-50 border border-gray-200 rounded-lg outline-none input-focus font-bold&quot;&gt;
                                &lt;span class=&quot;absolute right-3 top-2.5 text-gray-400&quot;&gt;회&lt;/span&gt;
                            &lt;/div&gt;
                            &lt;p class=&quot;text-[10px] text-gray-400 mt-1&quot;&gt;* 주 5일 왕복 시 약 44회&lt;/p&gt;
                        &lt;/div&gt;

                        &lt;div&gt;
                            &lt;label class=&quot;block text-sm font-bold mb-1&quot;&gt;사용자 구분&lt;/label&gt;
                            &lt;select id=&quot;userCategory&quot; class=&quot;w-full p-2.5 bg-gray-50 border border-gray-200 rounded-lg outline-none input-focus font-bold&quot;&gt;
                                &lt;option value=&quot;general&quot;&gt;일반 (만 35세 이상)&lt;/option&gt;
                                &lt;option value=&quot;youth&quot; selected&gt;청년 (만 19~34세/39세)&lt;/option&gt;
                                &lt;option value=&quot;lowIncome&quot;&gt;저소득층&lt;/option&gt;
                            &lt;/select&gt;
                        &lt;/div&gt;

                        &lt;div class=&quot;flex items-center gap-2 pt-2&quot;&gt;
                            &lt;input type=&quot;checkbox&quot; id=&quot;includeBike&quot; class=&quot;w-4 h-4 text-blue-600 rounded&quot;&gt;
                            &lt;label for=&quot;includeBike&quot; class=&quot;text-xs font-semibold text-gray-600 cursor-pointer&quot;&gt;따릉이 포함 (기후동행 전용)&lt;/label&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;

            &lt;!-- Right Side: Analysis --&gt;
            &lt;div class=&quot;md:col-span-3 space-y-4&quot;&gt;
                &lt;!-- Main Verdict Card --&gt;
                &lt;div id=&quot;verdictCard&quot; class=&quot;card p-6 border-l-8 border-blue-600&quot;&gt;
                    &lt;h2 class=&quot;text-xs font-bold text-gray-400 uppercase mb-2&quot;&gt;최종 분석 결과&lt;/h2&gt;
                    &lt;div id=&quot;verdictText&quot; class=&quot;text-2xl font-black mb-1&quot;&gt;기후동행카드가 더 유리합니다!&lt;/div&gt;
                    &lt;div id=&quot;savingAmount&quot; class=&quot;text-sm font-bold text-benefit mb-4&quot;&gt;매달 약 5,000원을 더 아낄 수 있어요.&lt;/div&gt;
                    
                    &lt;div class=&quot;grid grid-cols-2 gap-4&quot;&gt;
                        &lt;div class=&quot;bg-blue-50 p-3 rounded-xl border border-blue-100&quot;&gt;
                            &lt;div class=&quot;text-[11px] font-bold text-blue-400 mb-1&quot;&gt;기후동행카드 지출&lt;/div&gt;
                            &lt;div id=&quot;climateCost&quot; class=&quot;text-lg font-black text-climate&quot;&gt;55,000원&lt;/div&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;bg-emerald-50 p-3 rounded-xl border border-emerald-100&quot;&gt;
                            &lt;div class=&quot;text-[11px] font-bold text-emerald-400 mb-1&quot;&gt;K-패스 실지출&lt;/div&gt;
                            &lt;div id=&quot;kpassCost&quot; class=&quot;text-lg font-black text-kpass&quot;&gt;60,000원&lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;!-- Comparison Table --&gt;
                &lt;div class=&quot;card p-5&quot;&gt;
                    &lt;h3 class=&quot;text-sm font-bold text-gray-700 mb-3&quot;&gt;상세 혜택 비교&lt;/h3&gt;
                    &lt;div class=&quot;space-y-2&quot;&gt;
                        &lt;div class=&quot;flex justify-between text-xs py-2 border-b border-gray-100&quot;&gt;
                            &lt;span class=&quot;text-gray-400 font-medium&quot;&gt;K-패스 환급액&lt;/span&gt;
                            &lt;span id=&quot;kpassRefund&quot; class=&quot;font-bold text-kpass&quot;&gt;0원&lt;/span&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;flex justify-between text-xs py-2 border-b border-gray-100&quot;&gt;
                            &lt;span class=&quot;text-gray-400 font-medium&quot;&gt;기후동행 적용 범위&lt;/span&gt;
                            &lt;span class=&quot;font-bold text-gray-700&quot;&gt;서울 지역 내 (한정적)&lt;/span&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;flex justify-between text-xs py-2&quot;&gt;
                            &lt;span class=&quot;text-gray-400 font-medium&quot;&gt;K-패스 적용 범위&lt;/span&gt;
                            &lt;span class=&quot;font-bold text-gray-700&quot;&gt;전국 (범용적)&lt;/span&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- Smart Tip --&gt;
        &lt;div id=&quot;smartTip&quot; class=&quot;mt-6 p-4 bg-white border border-gray-200 rounded-xl flex gap-3 items-center&quot;&gt;
            &lt;span id=&quot;tipIcon&quot; class=&quot;text-2xl&quot;&gt; &lt;/span&gt;
            &lt;div class=&quot;text-xs text-gray-600 leading-relaxed font-medium&quot; id=&quot;tipContent&quot;&gt;
                서울 안에서만 이동하신다면 횟수가 많을수록 &lt;strong&gt;기후동행카드&lt;/strong&gt;가 유리합니다!
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;footer class=&quot;text-center mt-10 space-y-1&quot;&gt;
            &lt;p class=&quot;text-[10px] text-gray-400&quot;&gt;K-패스는 월 15회~60회 이용 시 환급되며, 기후동행카드는 만 19~39세까지 청년 할인이 적용됩니다.&lt;/p&gt;
            &lt;p class=&quot;text-[10px] text-gray-400&quot;&gt;© 2024 Transit Comparison Tool&lt;/p&gt;
        &lt;/footer&gt;
    &lt;/div&gt;

    &lt;script&gt;
        const fareInput = document.getElementById('fare');
        const ridesInput = document.getElementById('monthlyRides');
        const categoryInput = document.getElementById('userCategory');
        const bikeInput = document.getElementById('includeBike');

        function updateResult() {
            const fare = parseInt(fareInput.value) || 0;
            const rides = parseInt(ridesInput.value) || 0;
            const category = categoryInput.value;
            const useBike = bikeInput.checked;

            // 1. 기후동행카드 계산
            let climatePrice = 62000;
            const isYouthClimate = category === 'youth' || category === 'lowIncome'; // 기후동행은 39세까지라 넓게 적용
            
            if (isYouthClimate) {
                climatePrice = useBike ? 58000 : 55000;
            } else {
                climatePrice = useBike ? 65000 : 62000;
            }

            // 2. K-패스 계산
            const totalSpent = fare * rides;
            let refundRate = 0.2; // 일반
            if (category === 'youth') refundRate = 0.3; // 청년(19~34세)
            if (category === 'lowIncome') refundRate = 0.533; // 저소득층

            let refund = 0;
            if (rides &gt;= 15) {
                const applicableRides = Math.min(rides, 60); // 최대 60회까지만 환급
                refund = Math.floor((applicableRides * fare) * refundRate);
            }
            const kpassFinal = totalSpent - refund;

            // UI 업데이트
            document.getElementById('climateCost').innerText = climatePrice.toLocaleString() + '원';
            document.getElementById('kpassCost').innerText = kpassFinal.toLocaleString() + '원';
            document.getElementById('kpassRefund').innerText = refund.toLocaleString() + '원 환급';

            const verdictText = document.getElementById('verdictText');
            const savingAmount = document.getElementById('savingAmount');
            const verdictCard = document.getElementById('verdictCard');
            const tipContent = document.getElementById('tipContent');

            if (climatePrice &lt; kpassFinal) {
                verdictText.innerText = &quot;기후동행카드가 더 유리!&quot;;
                verdictText.className = &quot;text-2xl font-black mb-1 text-climate&quot;;
                savingAmount.innerText = `K-패스보다 매달 약 ${(kpassFinal - climatePrice).toLocaleString()}원을 더 아껴요.`;
                verdictCard.style.borderLeftColor = &quot;#2563eb&quot;;
                tipContent.innerHTML = &quot;서울 지하철/버스만 주로 이용하시나요? 그럼 &lt;strong&gt;기후동행카드&lt;/strong&gt;가 정답입니다. 환급 절차도 필요 없어서 편리해요!&quot;;
            } else if (climatePrice &gt; kpassFinal) {
                verdictText.innerText = &quot;K-패스가 더 유리!&quot;;
                verdictText.className = &quot;text-2xl font-black mb-1 text-kpass&quot;;
                savingAmount.innerText = `기후동행보다 매달 약 ${(climatePrice - kpassFinal).toLocaleString()}원을 더 아껴요.`;
                verdictCard.style.borderLeftColor = &quot;#059669&quot;;
                tipContent.innerHTML = &quot;이용 횟수가 적거나, 경기/인천 등 &lt;strong&gt;서울을 벗어나는 이동&lt;/strong&gt;이 많다면 전국 어디서나 환급되는 &lt;strong&gt;K-패스&lt;/strong&gt;가 훨씬 경제적입니다.&quot;;
            } else {
                verdictText.innerText = &quot;어떤 걸 써도 비슷해요!&quot;;
                verdictText.className = &quot;text-2xl font-black mb-1 text-gray-800&quot;;
                savingAmount.innerText = &quot;금액 차이가 거의 없습니다. 이용 편의에 따라 선택하세요.&quot;;
                verdictCard.style.borderLeftColor = &quot;#94a3b8&quot;;
            }
        }

        [fareInput, ridesInput, categoryInput, bikeInput].forEach(el =&gt; {
            el.addEventListener('change', updateResult);
            el.addEventListener('input', updateResult);
        });

        updateResult();
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</description>
      <category>돈이 되는 계산 방법</category>
      <category>KPass</category>
      <category>가성비계산기</category>
      <category>기후동행</category>
      <category>기후동행카드</category>
      <category>대중교통</category>
      <category>케이패스</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/33</guid>
      <comments>https://ehdgus190.tistory.com/entry/%EA%B8%B0%ED%9B%84%EB%8F%99%ED%96%89%EC%B9%B4%EB%93%9C-vs-K-%ED%8C%A8%EC%8A%A4-%EB%B9%84%EA%B5%90-%EA%B3%84%EC%82%B0%EA%B8%B0#entry33comment</comments>
      <pubDate>Sat, 2 May 2026 00:44:37 +0900</pubDate>
    </item>
    <item>
      <title>주차장  요금 계산기(본전 계산기)</title>
      <link>https://ehdgus190.tistory.com/entry/%EC%A3%BC%EC%B0%A8%EC%9E%A5-%EC%9A%94%EA%B8%88-%EA%B3%84%EC%82%B0%EA%B8%B0%EB%B3%B8%EC%A0%84-%EA%B3%84%EC%82%B0%EA%B8%B0</link>
      <description>&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;ko&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;주차장 본전 계산기&lt;/title&gt;
    &lt;script src=&quot;https://cdn.tailwindcss.com&quot;&gt;&lt;/script&gt;
    &lt;style&gt;
        @import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700&amp;display=swap');
        body { font-family: 'Pretendard', sans-serif; background-color: #f8fafc; }
        .card { background: white; border-radius: 1rem; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
        input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
        /* 티스토리 important 스타일 충돌 방지를 위한 추가 처리 */
        .result-text { color: #2563eb !important; }
        .summary-text { color: #475569 !important; }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body class=&quot;p-4 md:p-8&quot;&gt;
    &lt;div class=&quot;max-w-md mx-auto&quot;&gt;
        &lt;!-- Header --&gt;
        &lt;div class=&quot;text-center mb-8&quot;&gt;
            &lt;h1 class=&quot;text-2xl font-bold text-gray-800 mb-2&quot;&gt;  주차장 본전 계산기&lt;/h1&gt;
            &lt;p class=&quot;text-sm text-gray-500&quot;&gt;일일권 끊을까 말까? 고민될 때 계산해보세요.&lt;/p&gt;
        &lt;/div&gt;

        &lt;!-- Calculator Card --&gt;
        &lt;div class=&quot;card p-6 mb-6 border border-gray-100&quot;&gt;
            &lt;div class=&quot;space-y-4&quot;&gt;
                &lt;!-- Inputs --&gt;
                &lt;div&gt;
                    &lt;label class=&quot;block text-sm font-semibold text-gray-700 mb-1&quot;&gt;기본/단위 시간 (분)&lt;/label&gt;
                    &lt;div class=&quot;relative&quot;&gt;
                        &lt;input type=&quot;number&quot; id=&quot;unitTime&quot; value=&quot;10&quot; class=&quot;w-full p-3 bg-gray-50 border border-gray-200 rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-all text-gray-800&quot; placeholder=&quot;예: 10&quot;&gt;
                        &lt;span class=&quot;absolute right-3 top-3 text-gray-400&quot;&gt;분&lt;/span&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;div&gt;
                    &lt;label class=&quot;block text-sm font-semibold text-gray-700 mb-1&quot;&gt;단위 요금 (원)&lt;/label&gt;
                    &lt;div class=&quot;relative&quot;&gt;
                        &lt;input type=&quot;number&quot; id=&quot;unitPrice&quot; value=&quot;1000&quot; class=&quot;w-full p-3 bg-gray-50 border border-gray-200 rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-all text-gray-800&quot; placeholder=&quot;예: 1000&quot;&gt;
                        &lt;span class=&quot;absolute right-3 top-3 text-gray-400&quot;&gt;원&lt;/span&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;div&gt;
                    &lt;label class=&quot;block text-sm font-semibold text-gray-700 mb-1&quot;&gt;일 최대 요금 (원)&lt;/label&gt;
                    &lt;div class=&quot;relative&quot;&gt;
                        &lt;input type=&quot;number&quot; id=&quot;maxPrice&quot; value=&quot;20000&quot; class=&quot;w-full p-3 bg-gray-50 border border-gray-200 rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-all text-gray-800&quot; placeholder=&quot;예: 20000&quot;&gt;
                        &lt;span class=&quot;absolute right-3 top-3 text-gray-400&quot;&gt;원&lt;/span&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

                &lt;div class=&quot;pt-4 border-t border-gray-100&quot;&gt;
                    &lt;label class=&quot;block text-sm font-semibold text-gray-700 mb-1&quot;&gt;현재 주차 시간 (선택사항)&lt;/label&gt;
                    &lt;div class=&quot;flex items-center gap-2&quot;&gt;
                        &lt;div class=&quot;relative flex-1&quot;&gt;
                            &lt;input type=&quot;number&quot; id=&quot;currentHours&quot; value=&quot;0&quot; min=&quot;0&quot; class=&quot;w-full p-3 bg-gray-50 border border-gray-200 rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-all text-gray-800&quot;&gt;
                            &lt;span class=&quot;absolute right-3 top-3 text-gray-400&quot;&gt;시간&lt;/span&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;relative flex-1&quot;&gt;
                            &lt;input type=&quot;number&quot; id=&quot;currentMins&quot; value=&quot;0&quot; min=&quot;0&quot; max=&quot;59&quot; class=&quot;w-full p-3 bg-gray-50 border border-gray-200 rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-all text-gray-800&quot;&gt;
                            &lt;span class=&quot;absolute right-3 top-3 text-gray-400&quot;&gt;분&lt;/span&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- Result Card (Updated Colors for Visibility) --&gt;
        &lt;div id=&quot;resultContainer&quot; class=&quot;card p-6 bg-white border-2 border-blue-500 overflow-hidden relative&quot;&gt;
            &lt;div class=&quot;relative z-10&quot;&gt;
                &lt;h2 class=&quot;text-sm font-bold mb-1 text-blue-600 uppercase tracking-wider&quot;&gt;본전 포인트 결과&lt;/h2&gt;
                &lt;div class=&quot;mb-4&quot;&gt;
                    &lt;span class=&quot;text-4xl font-bold result-text&quot; id=&quot;breakEvenTimeText&quot;&gt;0시간 0분&lt;/span&gt;
                    &lt;p class=&quot;mt-2 text-sm summary-text font-medium&quot; id=&quot;summaryText&quot;&gt;이 시간 이후부터는 일일 요금이 더 유리합니다.&lt;/p&gt;
                &lt;/div&gt;
                
                &lt;!-- Progress Bar --&gt;
                &lt;div class=&quot;bg-gray-100 rounded-full h-4 w-full mb-2 overflow-hidden border border-gray-200&quot;&gt;
                    &lt;div id=&quot;feeProgressBar&quot; class=&quot;bg-blue-500 h-full transition-all duration-500&quot; style=&quot;width: 0%&quot;&gt;&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;flex justify-between text-xs font-bold text-gray-500&quot;&gt;
                    &lt;span id=&quot;currentFeeText&quot;&gt;현재 0원&lt;/span&gt;
                    &lt;span id=&quot;maxFeeLabel&quot;&gt;최대 20,000원&lt;/span&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;!-- Decorative light shape --&gt;
            &lt;div class=&quot;absolute -right-8 -bottom-8 w-32 h-32 bg-blue-50 rounded-full&quot;&gt;&lt;/div&gt;
        &lt;/div&gt;

        &lt;!-- Tip Box --&gt;
        &lt;div id=&quot;tipBox&quot; class=&quot;mt-6 p-4 rounded-xl border border-blue-100 bg-blue-50 flex gap-3 items-start&quot;&gt;
            &lt;span class=&quot;text-xl&quot;&gt; &lt;/span&gt;
            &lt;p id=&quot;tipText&quot; class=&quot;text-sm text-blue-800 leading-relaxed pt-1 font-medium&quot;&gt;
                주차 시간을 입력하시면 더 정확한 가이드를 드릴 수 있습니다.
            &lt;/p&gt;
        &lt;/div&gt;

        &lt;p class=&quot;text-center text-[10px] text-gray-400 mt-8&quot;&gt;© Parking Break-even Calculator&lt;/p&gt;
    &lt;/div&gt;

    &lt;script&gt;
        const unitTimeInput = document.getElementById('unitTime');
        const unitPriceInput = document.getElementById('unitPrice');
        const maxPriceInput = document.getElementById('maxPrice');
        const currentHoursInput = document.getElementById('currentHours');
        const currentMinsInput = document.getElementById('currentMins');

        const breakEvenTimeText = document.getElementById('breakEvenTimeText');
        const feeProgressBar = document.getElementById('feeProgressBar');
        const currentFeeText = document.getElementById('currentFeeText');
        const maxFeeLabel = document.getElementById('maxFeeLabel');
        const tipText = document.getElementById('tipText');
        const summaryText = document.getElementById('summaryText');

        function calculate() {
            const unitTime = parseFloat(unitTimeInput.value) || 0;
            const unitPrice = parseFloat(unitPriceInput.value) || 0;
            const maxPrice = parseFloat(maxPriceInput.value) || 0;
            const currentH = parseInt(currentHoursInput.value) || 0;
            const currentM = parseInt(currentMinsInput.value) || 0;

            if (unitTime &lt;= 0 || unitPrice &lt;= 0 || maxPrice &lt;= 0) {
                breakEvenTimeText.innerText = &quot;값을 입력해주세요&quot;;
                return;
            }

            // 본전 포인트 계산 (단위 시간으로 나누어 떨어지지 않을 수 있으므로 올림 계산)
            const unitsNeededForMax = Math.ceil(maxPrice / unitPrice);
            const totalMinutesForMax = unitsNeededForMax * unitTime;

            const breakHours = Math.floor(totalMinutesForMax / 60);
            const breakMins = totalMinutesForMax % 60;

            breakEvenTimeText.innerText = `${breakHours &gt; 0 ? breakHours + '시간 ' : ''}${breakMins}분`;
            maxFeeLabel.innerText = `최대 ${maxPrice.toLocaleString()}원`;

            // 현재 상태 계산
            const currentTotalMins = (currentH * 60) + currentM;
            const currentUnits = Math.ceil(currentTotalMins / unitTime);
            let currentFee = currentUnits * unitPrice;
            
            if (currentFee &gt; maxPrice) currentFee = maxPrice;

            const feePercent = (currentFee / maxPrice) * 100;
            feeProgressBar.style.width = `${feePercent}%`;
            currentFeeText.innerText = `현재 요금 ${currentFee.toLocaleString()}원`;

            // 가이드 문구 설정
            if (currentTotalMins === 0) {
                tipText.innerText = `위 주차장의 경우, ${breakHours &gt; 0 ? breakHours + '시간 ' : ''}${breakMins}분 이상 세울 계획이라면 무조건 '일일권'이 이득입니다.`;
                summaryText.innerText = &quot;이 시간 이후부터는 일일 요금이 더 유리합니다.&quot;;
            } else if (currentTotalMins &lt; totalMinutesForMax) {
                const diff = totalMinutesForMax - currentTotalMins;
                tipText.innerText = `앞으로 ${diff}분 더 주차하시면 일일 최대 요금에 도달합니다. 급하지 않다면 조금 더 여유 있게 일을 보셔도 요금은 그대로입니다!`;
                summaryText.innerText = &quot;아직 일일 요금까지 여유가 있습니다.&quot;;
            } else {
                tipText.innerText = `이미 일일 최대 요금에 도달했습니다! 이제 오늘 밤까지는 언제 나가도 요금이 추가되지 않으니 본전을 충분히 뽑으세요.`;
                summaryText.innerText = &quot;축하합니다! 이미 본전을 뽑으셨습니다.&quot;;
            }
        }

        [unitTimeInput, unitPriceInput, maxPriceInput, currentHoursInput, currentMinsInput].forEach(input =&gt; {
            input.addEventListener('input', calculate);
        });

        // 초기 실행
        calculate();
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</description>
      <category>돈이 되는 계산 방법</category>
      <category>일일권</category>
      <category>주차요금</category>
      <category>주차요금계산기</category>
      <category>주차요금예측</category>
      <category>주차요금정산</category>
      <category>주차일일권</category>
      <author>HoneyEater</author>
      <guid isPermaLink="true">https://ehdgus190.tistory.com/32</guid>
      <comments>https://ehdgus190.tistory.com/entry/%EC%A3%BC%EC%B0%A8%EC%9E%A5-%EC%9A%94%EA%B8%88-%EA%B3%84%EC%82%B0%EA%B8%B0%EB%B3%B8%EC%A0%84-%EA%B3%84%EC%82%B0%EA%B8%B0#entry32comment</comments>
      <pubDate>Sat, 2 May 2026 00:34:14 +0900</pubDate>
    </item>
  </channel>
</rss>