/*
Theme Name: 장사백서
Theme URI: https://thesignalview.com
Description: 창업 정보 미디어 플랫폼 - 장사백서 전용 테마
Author: 장사백서
Version: 1.0
*/

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ── */
:root {
  --bg:        #F8FAFC;
  --bg2:       #F1F5F9;
  --bg3:       #E2E8F0;
  --border:    #E2E8F0;
  --border2:   #CBD5E1;
  --ink:       #0F172A;
  --ink2:      #1E293B;
  --ink3:      #334155;
  --ink4:      #64748B;
  --green:     #10B981;
  --green-bg:  #D1FAE5;
  --red:       #F43F5E;
  --red-bg:    #FFF1F2;
  --orange:    #F59E0B;
  --orange-bg: #FFFBEB;
}

/* ── BASE ── */
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-weight: 400;
  background: #F8FAFC;
  color: var(--ink);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── PAGE WRAP ── */
.tsv-wrap {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: none;
}

/* ── NAV ── */
.tsv-nav {
  padding: 0 28px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  background: var(--bg);
  position: relative;
}
.tsv-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
}
.tsv-nav-links {
  display: flex;
  list-style: none;
  height: 100%;
}
.tsv-nav-links li {
  height: 100%;
  display: flex;
  align-items: center;
}
.tsv-nav-links a {
  color: var(--ink3);
  font-size: 13px;
  font-weight: 600;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border);
  transition: background 0.15s;
}
.tsv-nav-links a:hover { background: var(--bg2); }
.tsv-nav-links a.current { background: var(--ink); color: var(--bg); }

/* 햄버거 메뉴 (모바일) */
.tsv-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.tsv-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.tsv-mobile-menu {
  display: none;
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.tsv-mobile-menu.open { display: block; }
.tsv-mobile-menu a {
  display: block;
  padding: 14px 28px;
  color: var(--ink3);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.tsv-mobile-menu a:hover { background: var(--bg2); }

/* ── 경제지표 띠 ── */
.tsv-econ-bar {
  display: flex;
  align-items: center;
  padding: 0 28px;
  height: 34px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tsv-econ-bar::-webkit-scrollbar { display: none; }
.tsv-econ-tag {
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink4);
  padding-right: 16px;
  border-right: 1px solid var(--border);
  margin-right: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tsv-econ-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.tsv-econ-item:last-child { border-right: none; }
.tsv-econ-name { font-size: 11px; font-weight: 500; color: var(--ink3); white-space: nowrap; }
.tsv-econ-val { font-size: 11px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tsv-econ-val.up { color: var(--red); }
.tsv-econ-val.dn { color: var(--green); }

/* ── MAIN LAYOUT ── */
.tsv-main-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
}
.tsv-main-content { border-right: 1px solid var(--border); min-width: 0; }

/* ── SECTION HEADER ── */
.tsv-sec-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px 11px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.tsv-sec-hd.alt { background: var(--bg2); }
.tsv-sec-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 800;
}
.tsv-sec-more {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}

/* ── 헤드라인 뉴스 ── */
.tsv-big-news {
  display: grid;
  grid-template-columns: 3fr 2fr;
  border-bottom: 1px solid var(--border);
}
.tsv-big-main {
  border-right: 1px solid var(--border);
  cursor: pointer;
}
.tsv-big-main:hover .tsv-big-title { color: var(--green); }
.tsv-big-img {
  height: 300px;
  background: #C8BFB0;
  overflow: hidden;
  position: relative;
}
.tsv-big-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tsv-big-img .tsv-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #aaa;
}
.tsv-big-body { padding: 20px 24px 22px; }
.tsv-big-cat {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
  font-weight: 700;
}
.tsv-big-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.15s;
}
.tsv-big-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  line-height: 1.75;
  margin-bottom: 12px;
}
.tsv-big-date { font-size: 11px; color: var(--ink4); font-weight: 400; }

/* 서브 뉴스 4개 */
.tsv-sub-stack { display: flex; flex-direction: column; height: 100%; }
.tsv-sub-item {
  flex: 1;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.12s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tsv-sub-item:last-child { border-bottom: none; }
.tsv-sub-item:hover { background: var(--bg2); }
.tsv-sub-cat {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 7px;
  font-weight: 700;
}
.tsv-sub-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 7px;
}
.tsv-sub-meta { display: flex; align-items: center; gap: 6px; }
.tsv-sub-read { font-size: 10px; color: var(--ink4); font-weight: 500; }
.tsv-sub-dot { width: 2px; height: 2px; border-radius: 50%; background: var(--ink4); }
.tsv-sub-date { font-size: 10px; color: var(--ink4); }

/* ── 소형 뉴스 / 카드 그리드 공통 ── */
.tsv-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.tsv-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.12s;
}
.tsv-card:hover { background: var(--bg2); }
.tsv-card-thumb {
  height: 160px;
  background: #C8BFB0;
  overflow: hidden;
  position: relative;
}
.tsv-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tsv-card-thumb .tsv-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #999;
}
.tsv-card-body { padding: 14px 16px 16px; }
.tsv-card-cat {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 7px;
  font-weight: 700;
}
.tsv-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 7px;
}
.tsv-card-date { font-size: 11px; color: var(--ink4); }
.tsv-card-profit {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}
.tsv-card-lbl { font-size: 10px; color: var(--ink4); margin-left: 4px; }

/* ── 인사이트 띠 ── */
.tsv-insight-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  height: 38px;
  background: var(--ink);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tsv-insight-tag {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 700;
}
.tsv-insight-div { width: 1px; height: 14px; background: #444; flex-shrink: 0; }
.tsv-insight-text {
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: var(--bg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tsv-insight-date {
  margin-left: auto;
  font-size: 10px;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── 지원사업 ── */
.tsv-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.tsv-sup-card {
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  background: var(--bg);
  transition: background 0.12s;
}
.tsv-sup-card:hover { background: var(--bg2); }
.tsv-sup-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tsv-sup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.tsv-sup-name { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.tsv-sup-amt { font-size: 12px; font-weight: 700; color: var(--green); }
.tsv-sup-org { font-size: 11px; font-weight: 500; color: var(--ink4); margin-top: 3px; }

/* ── 계산기 배너 ── */
.tsv-calc-banner {
  padding: 14px 28px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.12s;
}
.tsv-calc-banner:hover { background: var(--bg3); }
.tsv-calc-left { display: flex; align-items: center; gap: 14px; }
.tsv-calc-icon {
  width: 38px; height: 38px;
  background: var(--ink);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.tsv-calc-icon-inner { width: 14px; height: 14px; border: 2px solid var(--bg); border-radius: 2px; }
.tsv-calc-title { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.tsv-calc-desc { font-size: 12px; font-weight: 500; color: var(--ink3); }
.tsv-calc-arrow { font-size: 12px; color: var(--green); font-weight: 700; }

/* ── 브랜드 분석 리스트 ── */
.tsv-brand-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  background: var(--bg);
  transition: background 0.12s;
}
.tsv-brand-row:hover { background: var(--bg2); }
.tsv-brand-left { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tsv-brand-logo {
  width: 38px; height: 38px;
  background: var(--bg2);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.tsv-brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.tsv-brand-logo-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink4); }
.tsv-brand-name { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.tsv-brand-sub { font-size: 11px; font-weight: 500; color: var(--ink3); }
.tsv-bar-wrap { margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.tsv-bar-bg { width: 100px; height: 4px; background: var(--bg3); border-radius: 2px; overflow: hidden; }
.tsv-bar-fill { height: 100%; border-radius: 2px; }
.tsv-bar-lbl { font-size: 10px; font-weight: 600; color: var(--ink4); white-space: nowrap; }
.tsv-brand-right { text-align: right; flex-shrink: 0; }
.tsv-profit-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  display: block;
  font-variant-numeric: tabular-nums;
}
.tsv-profit-lbl { font-size: 10px; font-weight: 500; color: var(--ink4); }

/* 태그 */
.tsv-tag { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.tsv-tag-good { background: var(--green-bg); color: var(--green); }
.tsv-tag-warn { background: var(--orange-bg); color: var(--orange); }

/* ── 서비스 비교 카드 ── */
.tsv-service-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--green-bg);
  color: var(--green);
}
.tsv-service-cat {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
  font-weight: 700;
}
.tsv-service-desc {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink3);
  line-height: 1.5;
  margin-bottom: 8px;
}

/* ── SIDEBAR ── */
.tsv-sidebar { background: var(--bg2); }
.tsv-side-section { border-bottom: 1px solid var(--border); }
.tsv-side-hd {
  padding: 10px 18px 9px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink3);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  font-weight: 800;
}

/* 운세 */
.tsv-fortune-box { padding: 18px 16px; background: var(--bg); border-bottom: 1px solid var(--border); }
.tsv-fortune-animal { font-size: 32px; text-align: center; margin-bottom: 6px; }
.tsv-fortune-sign { font-size: 14px; font-weight: 800; color: var(--ink); text-align: center; margin-bottom: 10px; }
.tsv-fortune-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 12px; }
.tsv-star { width: 10px; height: 10px; border-radius: 50%; background: var(--bg3); }
.tsv-star.on { background: var(--green); }
.tsv-fortune-text { font-size: 12px; font-weight: 500; color: var(--ink2); line-height: 1.75; text-align: center; margin-bottom: 12px; }
.tsv-fortune-kw { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; }
.tsv-fkw { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 20px; border: 1px solid var(--border); color: var(--ink3); }
.tsv-fortune-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.tsv-fnav-btn { font-size: 10px; color: var(--green); cursor: pointer; font-weight: 700; }
.tsv-fnav-idx { font-size: 10px; color: var(--ink4); }

/* D-DAY */
.tsv-dday-row { padding: 12px 18px; border-bottom: 1px solid var(--border); cursor: pointer; background: var(--bg); transition: background 0.12s; }
.tsv-dday-row:hover { background: var(--bg2); }
.tsv-dday-row:last-child { border-bottom: none; }
.tsv-dday-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.tsv-dday-name { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.4; flex: 1; }
.tsv-dday-badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 2px; white-space: nowrap; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.tsv-d-red { background: var(--red-bg); color: var(--red); }
.tsv-d-orange { background: var(--orange-bg); color: var(--orange); }
.tsv-d-green { background: var(--green-bg); color: var(--green); }
.tsv-dday-org { font-size: 10px; font-weight: 500; color: var(--ink4); }

/* 인기글 */
.tsv-popular-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 18px; border-bottom: 1px solid var(--border); cursor: pointer; background: var(--bg); transition: background 0.12s; }
.tsv-popular-row:hover { background: var(--bg2); }
.tsv-popular-row:last-child { border-bottom: none; }
.tsv-pop-num { font-size: 20px; font-weight: 800; color: var(--border2); line-height: 1; flex-shrink: 0; width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.tsv-pop-num.top1 { color: var(--green); }
.tsv-pop-title { font-size: 12px; font-weight: 600; line-height: 1.55; color: var(--ink); }
.tsv-pop-quote { font-size: 12px; font-weight: 600; color: var(--ink2); font-style: italic; line-height: 1.55; border-left: 2px solid var(--green); padding-left: 7px; }

/* 광고 */
.tsv-ad-box { margin: 14px; border: 1px dashed var(--border2); border-radius: 6px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.tsv-ad-label { font-size: 10px; color: var(--ink4); letter-spacing: 1px; font-weight: 600; }
.tsv-ad-sub { font-size: 10px; color: var(--ink4); }

/* ── FOOTER ── */
.tsv-footer { border-top: 2px solid var(--ink); padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; background: var(--bg); }
.tsv-foot-logo { font-size: 16px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.tsv-foot-info { font-size: 10px; color: var(--ink4); font-weight: 500; }

/* ════════════════════════════════════
   모바일 반응형
════════════════════════════════════ */
@media (max-width: 768px) {

  /* 네비 */
  .tsv-nav { padding: 0 16px; }
  .tsv-nav-links { display: none; }
  .tsv-hamburger { display: flex; }

  /* 경제지표 */
  .tsv-econ-bar { padding: 0 16px; }

  /* 메인 레이아웃: 사이드바 아래로 */
  .tsv-main-wrap {
    grid-template-columns: 1fr;
  }
  .tsv-main-content { border-right: none; }

  /* 섹션 헤더 */
  .tsv-sec-hd { padding: 10px 16px 9px; }
  .tsv-sec-label { font-size: 11px; }

  /* 헤드라인: 세로 배치 */
  .tsv-big-news { grid-template-columns: 1fr; }
  .tsv-big-main { border-right: none; }
  .tsv-big-img { height: 220px; }
  .tsv-big-body { padding: 16px; }
  .tsv-big-title { font-size: 18px; }
  .tsv-sub-stack { border-top: 1px solid var(--border); }

  /* 카드 그리드: 2열 */
  .tsv-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
  .tsv-card-thumb { height: 120px; }

  /* 지원사업: 2열 */
  .tsv-support-grid { grid-template-columns: repeat(2, 1fr); }

  /* 인사이트 */
  .tsv-insight-bar { padding: 0 16px; height: 44px; }
  .tsv-insight-text { font-size: 12px; }
  .tsv-insight-date { display: none; }

  /* 계산기 */
  .tsv-calc-banner { padding: 12px 16px; }

  /* 브랜드 */
  .tsv-brand-row { padding: 14px 16px; }
  .tsv-profit-num { font-size: 18px; }
  .tsv-bar-bg { width: 70px; }

  /* 사이드바 */
  .tsv-sidebar { border-top: 2px solid var(--border); }
  .tsv-fortune-box { padding: 16px; }

  /* 푸터 */
  .tsv-footer { padding: 14px 16px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  /* 카드 그리드: 1열 */
  .tsv-card-grid { grid-template-columns: 1fr; }

  /* 지원사업: 1열 */
  .tsv-support-grid { grid-template-columns: 1fr; }

  .tsv-big-title { font-size: 16px; }
  .tsv-profit-num { font-size: 16px; }
}


/* ===================================
   TSV 시그널 뉴스 포맷 CSS
   =================================== */

/* 출처 박스 */
.tsv-source-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f5f0;
  border: 1px solid #e0d8cc;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 20px;
}
.tsv-source-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tsv-source-icon {
  font-size: 20px;
  line-height: 1;
}
.tsv-source-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}
.tsv-source-url {
  font-size: 11px;
  color: #888;
  word-break: break-all;
}
.tsv-source-btn {
  font-size: 12px;
  font-weight: 500;
  color: #5048c8;
  background: #eeedfb;
  border: 1px solid #c5c2f0;
  border-radius: 6px;
  padding: 6px 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.tsv-source-btn:hover { background: #dddcf8; }

/* 한 눈에 보는 요약 */
.tsv-news-intro {
  background: #fdf8f0;
  border-left: 4px solid #e8a020;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 0 0 20px;
}
.tsv-intro-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b87a10;
  margin-bottom: 8px;
}
.tsv-intro-text {
  font-size: 15px;
  line-height: 1.8;
  color: #2a2a2a;
  margin: 0;
}

/* 핵심 요약 */
.tsv-news-summary {
  background: #fff;
  border: 1px solid #e0d8cc;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 0 0 20px;
}
.tsv-summary-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5048c8;
  margin-bottom: 12px;
}
.tsv-summary-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0ebe3;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
}
.tsv-summary-item:last-child { border-bottom: none; }
.tsv-sum-bullet {
  font-weight: 700;
  color: #5048c8;
  flex-shrink: 0;
  min-width: 20px;
}

/* 원문 읽기 버튼 */
.tsv-read-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f5f0;
  border: 1px solid #e0d8cc;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.tsv-read-full:hover { background: #f0ebe3; }
.tsv-read-left strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.tsv-read-left span {
  font-size: 12px;
  color: #888;
}
.tsv-read-arrow {
  font-size: 18px;
  color: #5048c8;
  font-weight: 700;
}

@media (max-width: 768px) {
  .tsv-source-box { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* =============================================
/* TSV_v2.7_START */
/* =============================================
   TSV v2.7 — 단일 글 본문 스타일 (전면 재설계)
   ============================================= */

/* ── 전체 래퍼 ── */
.tsv-article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* ── 브레드크럼 ── */
.tsv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 16px;
  font-size: 13px;
  color: #94A3B8;
}
.tsv-bc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  background: #EEF2FF;
  color: #4338CA;
  letter-spacing: 0.5px;
}
.tsv-bc-sep { color: #CBD5E1; }

/* ── 제목 ── */
.tsv-article-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.38;
  color: #0F172A;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

/* ── 수정일 ── */
.tsv-updated {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 6px;
}

/* ── E-E-A-T 신뢰문장 ── */
.tsv-trust {
  font-size: 13px;
  color: #475569;
  margin-bottom: 22px;
  border-left: 3px solid #6366F1;
  padding: 10px 14px;
  background: #F5F3FF;
  border-radius: 0 8px 8px 0;
  line-height: 1.7;
}

/* ── 요약 박스 ── */
.tsv-summary {
  background: #EEF2FF;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 28px;
  font-size: 15px;
  color: #1E293B;
  line-height: 1.85;
  border-left: 4px solid #6366F1;
}
.tsv-summary-text {
  font-size: 15px;
  color: #1E293B;
  line-height: 1.85;
}

/* ── 광고 슬롯 ── */
.tsv-ad { display: none; }

/* ── 목차 ── */
.tsv-toc {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 28px;
  background: #FAFBFF;
}
.tsv-toc h3 {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  margin: 0 0 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tsv-toc ul {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: toc;
}
.tsv-toc li {
  counter-increment: toc;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tsv-toc li:last-child { border-bottom: none; }
.tsv-toc li::before {
  content: counter(toc);
  background: #6366F1;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tsv-toc a {
  color: #4338CA;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
}
.tsv-toc a:hover { text-decoration: underline; }

/* ── 통계 카드 ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.stat-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.stat-card:first-child { border-top: 3px solid #6366F1; }
.stat-card:nth-child(2) { border-top: 3px solid #10B981; }
.stat-card:nth-child(3) { border-top: 3px solid #F43F5E; }
.stat-card h4 {
  font-size: 11px;
  color: #64748B;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.stat-number {
  font-size: 28px;
  font-weight: 900;
  color: #6366F1;
  margin-bottom: 6px;
  line-height: 1;
  letter-spacing: -0.5px;
}
.stat-card:nth-child(2) .stat-number { color: #10B981; }
.stat-card:nth-child(3) .stat-number { color: #F43F5E; }
.stat-desc {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.5;
}

/* ── YMYL 방어문장 ── */
.tsv-ymyl {
  font-size: 12px;
  color: #64748B;
  background: #F8FAFC;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 28px;
  border: 1px solid #E2E8F0;
  line-height: 1.7;
}

/* ── H2 본문 소제목 ── */
.tsv-article-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid #6366F1;
  line-height: 1.4;
}

/* ── 본문 텍스트 ── */
.body-text {
  font-size: 15px;
  color: #334155;
  line-height: 1.9;
  margin-bottom: 16px;
}

/* ── 체류시간 강화문장 ── */
.tsv-hook {
  font-size: 15px;
  color: #312E81;
  background: #EEF2FF;
  border-left: 4px solid #6366F1;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 28px;
  line-height: 1.75;
  font-weight: 600;
}

/* ── calc-box ── */
.calc-box {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.calc-box h4 {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  padding: 12px 18px;
  margin: 0;
  border-bottom: 1.5px solid #E2E8F0;
  letter-spacing: 0.3px;
}
.calc-title {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  padding: 12px 18px;
  border-bottom: 1.5px solid #E2E8F0;
  letter-spacing: 0.3px;
}
.calc-content {
  padding: 18px;
  font-size: 14px;
  color: #334155;
  line-height: 1.85;
}
.calc-box > p {
  font-size: 12px;
  color: #64748B;
  padding: 10px 18px;
  margin: 0;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
}

/* ── calc-box 내 table ── */
.calc-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}
.calc-box table th {
  background: #0F172A;
  color: #F1F5F9;
  padding: 11px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  border: none;
  letter-spacing: 0.3px;
}
.calc-box table td {
  padding: 11px 16px;
  color: #334155;
  border-bottom: 1px solid #E2E8F0;
  font-size: 14px;
}
.calc-box table tr:nth-child(even) td { background: #F8FAFC; }
.calc-box table tr:last-child td {
  border-bottom: none;
  font-weight: 800;
  color: #4338CA;
  background: #EEF2FF;
  font-size: 15px;
}

/* ── 일반 table (class 없는 표) ── */
.tsv-article-body table:not(.calc-box table):not(.compare-table) {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0 28px;
  font-size: 14px;
  border: 1.5px solid #E2E8F0;
  table-layout: auto;
}
.tsv-article-body table:not(.calc-box table):not(.compare-table) th {
  background: #0F172A;
  color: #F8FAFC;
  padding: 12px 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  border: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.tsv-article-body table:not(.calc-box table):not(.compare-table) td {
  padding: 11px 16px;
  color: #334155;
  border-bottom: 1px solid #E2E8F0;
  text-align: center;
  vertical-align: middle;
}
.tsv-article-body table:not(.calc-box table):not(.compare-table) tr:nth-child(even) td {
  background: #F8FAFC;
}
.tsv-article-body table:not(.calc-box table):not(.compare-table) tr:last-child td {
  border-bottom: none;
}
.tsv-article-body table:not(.calc-box table):not(.compare-table) td:first-child {
  font-weight: 700;
  color: #0F172A;
  text-align: left;
}

/* ── 체크리스트 ── */
.tsv-checklist {
  background: #F5F3FF;
  border: 1.5px solid #C7D2FE;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 28px;
}
.tsv-checklist h3 {
  font-size: 11px;
  font-weight: 800;
  color: #4338CA;
  letter-spacing: 0.8px;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.tsv-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: chk;
}
.tsv-checklist li {
  counter-increment: chk;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #C7D2FE;
  font-size: 14px;
  color: #1E293B;
  line-height: 1.65;
  font-weight: 500;
}
.tsv-checklist li:last-child { border-bottom: none; }
.tsv-checklist li::before {
  content: counter(chk);
  background: #6366F1;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CTA 블록 ── */

/* ── body-list 블록 ── */
.tsv-article-body .body-list {
    padding-left: 0;
    margin: 4px 0 20px;
    list-style: none;
}
.tsv-article-body .body-list li {
    padding: 7px 0 7px 18px;
    line-height: 1.75;
    font-size: 15px;
    color: #334155;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}
.tsv-article-body .body-list li:last-child {
    border-bottom: none;
}
.tsv-article-body .body-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6366f1;
}
.tsv-cta {
  background: #0F172A;
  border-radius: 14px;
  padding: 20px 26px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.tsv-cta p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.tsv-cta h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}
.tsv-cta p:has(a.cta-button) {
  flex: 0 0 auto;
}
.cta-text {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.cta-button {
  background: #6366F1;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.3px;
}

/* ── 소셜 공유 ── */
.tsv-share {
  font-size: 13px;
  color: #64748B;
  text-align: center;
  margin-bottom: 28px;
  padding: 14px;
  background: #F8FAFC;
  border-radius: 8px;
}

/* ── 비교표 ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
  margin-bottom: 28px;
  border: 1.5px solid #E2E8F0;
}
.compare-table th {
  background: #0F172A;
  color: #F8FAFC;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  border: none;
  letter-spacing: 0.3px;
}
.compare-table td {
  padding: 12px 16px;
  color: #334155;
  border-bottom: 1px solid #E2E8F0;
  vertical-align: middle;
}
.compare-table tr:nth-child(even) td { background: #F8FAFC; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 700; color: #0F172A; }

/* ── 배지 ── */
.badge-good {
  background: #D1FAE5;
  color: #065F46;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 0.3px;
}
.badge-warn {
  background: #FEF3C7;
  color: #92400E;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}
.badge-bad {
  background: #FEE2E2;
  color: #991B1B;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

/* ── FAQ ── */
.tsv-faq {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 28px;
}
.tsv-faq h3 {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  margin: 0 0 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.faq-item {
  padding: 14px 0;
  border-bottom: 1px solid #E2E8F0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 8px;
  line-height: 1.5;
}
.faq-item p {
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

/* ── tsv-warn ── */
.tsv-warn {
  border-left: 4px solid #F43F5E;
  background: #FFF1F2;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.tsv-warn h3 {
  font-size: 11px;
  font-weight: 800;
  color: #F43F5E;
  margin: 0 0 8px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.tsv-warn p {
  font-size: 14px;
  color: #9F1239;
  line-height: 1.75;
  margin: 0;
}

/* ── 면책 문구 ── */
.disclaimer {
  font-size: 12px;
  color: #94A3B8;
  background: #F1F5F9;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.disclaimer p { margin: 0; }

/* ── 마무리 문장 ── */
.tsv-closing {
  font-size: 16px;
  color: #475569;
  border-top: 2px solid #E2E8F0;
  padding-top: 24px;
  margin-bottom: 28px;
  font-style: italic;
  line-height: 1.7;
}

/* ── 관련글 ── */
.tsv-article-body .tsv-related { margin-bottom: 28px; }
.tsv-article-body .tsv-related h3 {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.8px;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.tsv-article-body .tsv-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tsv-article-body .tsv-related li {
  padding: 11px 0;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tsv-article-body .tsv-related li:last-child { border-bottom: none; }
.tsv-article-body .tsv-related li::before {
  content: '\2192';
  color: #6366F1;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 15px;
}
.tsv-article-body .tsv-related a {
  font-size: 14px;
  color: #4338CA;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
}
.tsv-article-body .tsv-related a:hover { text-decoration: underline; }

/* ── 시리즈 글 ── */
.tsv-series {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 28px;
  background: #FAFBFF;
}
.tsv-series h3 {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.tsv-series ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tsv-series li {
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tsv-series li:last-child { border-bottom: none; }
.tsv-series li::before {
  content: '\2192';
  color: #6366F1;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 15px;
}
.tsv-series a {
  color: #4338CA;
  text-decoration: none;
  font-weight: 600;
}
.tsv-series a:hover { text-decoration: underline; }

/* ── 반응형 ── */
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-number { font-size: 22px; }
  .tsv-cta { flex-direction: column; align-items: stretch; }
  .cta-button { width: 100%; text-align: center; }
  .tsv-article-body h2 { font-size: 17px; }
  .tsv-article-title { font-size: 22px; }
  .calc-box table { font-size: 12px; }
  .calc-box table th,
  .calc-box table td { padding: 8px 10px; }
}

/* stat-item / stat-label — Claude 자동생성 대응 */
.stat-item {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.stats-grid .stat-item:first-child { border-top: 3px solid #6366F1; }
.stats-grid .stat-item:nth-child(2) { border-top: 3px solid #10B981; }
.stats-grid .stat-item:nth-child(3) { border-top: 3px solid #F43F5E; }
.stats-grid .stat-item:first-child .stat-number { color: #6366F1; }
.stats-grid .stat-item:nth-child(2) .stat-number { color: #10B981; }
.stats-grid .stat-item:nth-child(3) .stat-number { color: #F43F5E; }
.stat-label {
  font-size: 11px;
  color: #64748B;
  line-height: 1.5;
  margin-top: 6px;
}
.stat-label small {
  font-size: 10px;
  color: #94A3B8;
  display: block;
  margin-top: 2px;
}

/* tsv-list — br 나열 자동 변환 대응 */
.tsv-article-body .tsv-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.tsv-article-body .tsv-list li {
  font-size: 15px;
  color: #334155;
  line-height: 1.8;
  padding: 6px 0 6px 20px;
  border-bottom: 1px solid #F1F5F9;
  position: relative;
}
.tsv-article-body .tsv-list li:last-child { border-bottom: none; }
.tsv-article-body .tsv-list li::before {
  content: '\2713';
  color: #6366F1;
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* ── 본문 단락 간격 강화 ── */
.tsv-article-body p {
  margin-bottom: 18px;
  line-height: 1.9;
}
.body-text {
  font-size: 15px;
  color: #334155;
  line-height: 1.9;
  margin-bottom: 18px;
}
.tsv-article-body h2 {
  margin-top: 48px;
  margin-bottom: 18px;
}
.tsv-article-body .tsv-hook {
  margin-top: 28px;
  margin-bottom: 32px;
}
.tsv-article-body .tsv-summary {
  margin-bottom: 32px;
}
.tsv-article-body .tsv-toc {
  margin-bottom: 32px;
}
.tsv-article-body .stats-grid {
  margin-bottom: 28px;
}

/* ── 카테고리 목록 좌우 여백 ── */
@media (max-width: 768px) {
  .tsv-article-list {
    padding: 0 16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* ── Nav 로고 이미지 ── */
