/* skyrichdad 공통 CSS · 코드카탈로그 Ver.1.2 보정판5 [0-1·0-2·CSS·모바일] 기계 추출 · 색상 토큰화 정본 · 테마 4종 (초안2 2026-09-11 · 파일럿 검수 통과 2026-09-14 · 딥 틸 글102 PC·휴대폰 A/B 동일 · 글67 무변화)
   적용 범위 : frontmatter 플래그가 켜진 글에만 <link>. 기존 105편은 받지 않는다(이주 방식 乙). */

/* 테마 변수 · 12값 = 시방서 4-6 표 6값 + 카탈로그·발행본 실측 역할 6종 (2026-09-11)
   딥 틸 = 카탈로그 보정판5(글102 계열) · 나머지 3종 = 발행본 <style> 실측
   글은 frontmatter theme 값으로 .hc-wrap에 theme-* 클래스 하나를 받는다
   미채택 : 딥 크림슨 · 딥 골드앰버 (4-6 표 6값만 있고 실측 없음. 쓸 때 12줄 채워 추가) */
.hc-wrap.theme-teal{  /* 딥 틸 */
  --theme:#0a4c6a;
  --theme-dark:#052e40;
  --theme-mid:#1a7ea6;
  --theme-line:#b3d9ea;
  --theme-pale:#b3d9ea;
  --theme-light:#f0f8fb;
  --theme-even:#f5fafc;
  --theme-tint:#e6f2f8;
  --theme-hairline:#e0eef4;
  --theme-muted:#4a7a8c;
  --theme-underline:#7fbcd6;
  --theme-line-soft:rgba(179,217,234,.25);
}
.hc-wrap.theme-navy{  /* 딥 네이비 · 글99 실측 */
  --theme:#0d1f3c;
  --theme-dark:#071426;
  --theme-mid:#1a3a5c;
  --theme-line:#b8cfe0;
  --theme-pale:#9ab8d4;
  --theme-light:#f0f4f8;
  --theme-even:#f5f8fb;
  --theme-tint:#e6eef5;
  --theme-hairline:#dde7f0;
  --theme-muted:#3a5f82;
  --theme-underline:#9ab8d4;
  --theme-line-soft:rgba(154,184,212,.25);
}
.hc-wrap.theme-burgundy{  /* 딥 버건디 · 글97 실측 */
  --theme:#6b0f1a;
  --theme-dark:#3d0008;
  --theme-mid:#a01020;
  --theme-line:#e8c0c0;
  --theme-pale:#edc0c0;
  --theme-light:#fff8f8;
  --theme-even:#fffcfc;
  --theme-tint:#f7e9e9;
  --theme-hairline:#f2dcdc;
  --theme-muted:#9a5560;
  --theme-underline:#edc0c0;
  --theme-line-soft:rgba(237,192,192,.25);
}
.hc-wrap.theme-forest{  /* 딥 포레스트 그린 · 글91 실측 */
  --theme:#1a4a2e;
  --theme-dark:#0d2a1a;
  --theme-mid:#2e7d52;
  --theme-line:#c8e8d4;
  --theme-pale:#a8e0bc;
  --theme-light:#f2faf5;
  --theme-even:#f8fdfb;
  --theme-tint:#f2faf5;
  --theme-hairline:#dcf0e4;
  --theme-muted:#4a7a5c;
  --theme-underline:#8fc0a4;
  --theme-line-soft:rgba(168,224,188,.25);
}

/* ════ 0장 PC + 컴포넌트 25종 ════ */

    /* 본문 */
    .hc-wrap{
      font-family:'Noto Sans KR','Malgun Gothic','Apple SD Gothic Neo',sans-serif;
      font-size:17px;
      line-height:1.8;
      letter-spacing:-0.5px;
      color:#2d2d2d;                       
      max-width:780px;
      margin:0 auto;
      padding:0 16px 40px;
      word-break:keep-all;
    }
    *{box-sizing:border-box;margin:0;padding:0;}
    .hc-wrap [id]{scroll-margin-top:24px;}
    
    /* 본문 문단 : 클래스 붙은 p(.hc-note 등)는 제외. 반드시 :not([class]) 한정 */
    .hc-wrap p:not([class]){
      font-size:17px;
      line-height:1.8;
      margin:0 0 14px;
    }
    .hc-wrap p a{color:var(--theme);font-weight:700;text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--theme-underline);}  /*정본은 이 표. 시방서 3-8의 동일 CSS는 예시 사본 - 이 값 변경 시 3-8도 동기 필수 (2026-08-23 A안 판정)*/
    
    /* 제목 */
    .hc-wrap h3{
      font-size:23px;
      font-weight:900;
      line-height:1.4;                     /* 미지정 시 본문 행간 상속되므로 반드시 명시 */
      margin:40px 0 16px;
      color:var(--theme);                       
      border-bottom:3px solid var(--theme);     
      padding-bottom:8px;
    }
    .hc-wrap h4{
      font-size:19px;
      font-weight:800;
      line-height:1.4;                     /* 미지정 시 본문 행간 상속되므로 반드시 명시 */
      margin:24px 0 10px;
      color:var(--theme);                       
    }


/* ── hero ── */
    .hc-hero{background:#fff;border-radius:0;padding:26px 0 22px;text-align:center;margin:0;border-bottom:2px solid var(--theme-line);} 
    .hc-hero .badge{display:inline-block;font-size:13px;font-weight:700;line-height:1.4;padding:4px 14px;border-radius:30px;letter-spacing:.5px;margin-bottom:12px;background:#fff;color:var(--theme);border:1px solid var(--theme-line);} 
    .hc-hero h2{font-size:27px;font-weight:900;line-height:1.35;letter-spacing:-0.5px;margin-bottom:8px;color:var(--theme-dark);} 
    .hc-hero .sub{font-size:14px;line-height:1.7;color:#888;} 


/* ── toc ── */
    .hc-toc{border-radius:12px;overflow:hidden;margin:0 0 24px;border:1.5px solid var(--theme-line);} 
    .hc-toc .toc-label{display:block;font-size:13px;font-weight:800;padding:11px 18px;letter-spacing:.05em;background:var(--theme-dark);color:var(--theme-pale);} 
    .hc-toc .toc-item{display:flex;align-items:center;gap:10px;padding:6px 16px;background:#fff;border-bottom:1px solid var(--theme-hairline);} 
    .hc-toc .toc-item:last-child{border-bottom:none;}
    .hc-toc .toc-num{min-width:26px;font-size:13px;font-weight:900;flex-shrink:0;color:var(--theme-dark);} 
    .hc-toc .toc-item.ti-live{background:var(--theme-light);} 
    .hc-toc .toc-item.ti-live .toc-num{background:#7c3aed;color:#fff;border-radius:50%;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;line-height:1;} /* 보라는 tt-game과 짝. 테마 교체 대상 아님 */
    .hc-toc .toc-txt{flex:1;font-size:13px;font-weight:700;line-height:1.4;color:#1e1e1e;} 
    .hc-toc .toc-sub{font-size:12px;font-weight:400;color:#888;} 
    .hc-toc a{color:inherit;text-decoration:none;}
    .hc-toc .toc-tag{font-size:11px;font-weight:800;line-height:1.4;padding:3px 7px;border-radius:4px;flex-shrink:0;white-space:nowrap;}


/* ── h3sub ── */
    .h3-sub{font-size:0.8em;font-weight:600;color:var(--theme-muted);} 


/* ── quote ── */
    .hc-quote-wrap{margin:24px 0 24px;text-align:center;}
    .hc-quote-icon{font-family:Georgia,serif;font-size:56px;font-weight:900;line-height:1;display:inline;margin-right:5px;vertical-align:bottom;color:var(--theme);} 
    .hc-quote-text{font-size:19px;font-weight:700;line-height:1.8;display:inline;color:#1a1a1a;} 


/* ── insight ── */
    .hc-insight{display:flex;align-items:stretch;overflow:hidden;border-radius:8px;margin:10px 0 24px;border:1.5px solid var(--theme);} 
    .hc-insight .ins-icon{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-weight:800;line-height:1.2;padding:12px 10px;min-width:68px;text-align:center;background:var(--theme-dark);color:var(--theme-pale);} 
    .hc-insight .ins-icon .ins-bulb{font-size:24px;line-height:1;margin-bottom:3px;}
    .hc-insight .ins-icon .ins-label{font-size:12px;font-weight:800;line-height:1.3;letter-spacing:0;}
    .hc-insight .ins-text{flex:1;font-size:17px;line-height:1.8;letter-spacing:-0.5px;padding:16px 20px 16px 24px;color:#2d2d2d;background:var(--theme-light);border-left:3px solid var(--theme);}   /* 크기·행간 = 0장 본문 동일 */


/* ── note ── */
    .hc-note{font-size:13px;line-height:1.5;letter-spacing:-0.5px;margin:10px 0 24px;padding-left:16px;word-break:keep-all;color:#888;border-left:2px solid #e0e0e0;} 
    .hc-note a{font-weight:700;text-decoration:underline;color:var(--theme-mid);} 
    .hc-note span{display:block;padding-left:0;margin-top:4px;color:#999;} 


/* ── warn ── */
    .hc-warn{font-size:16px;line-height:1.75;margin:16px 0 24px;padding:14px 18px;border-radius:8px;background:#fffdf5;border:2px solid #e07b00;border-left:4px solid #e07b00;color:#5a3000;}   /* 크기 = 본문 -1 */


/* ── qna ── */
    .hc-qna{margin-bottom:18px;}
    .hc-qna-q{display:flex;align-items:flex-start;gap:10px;border-radius:8px 8px 0 0;padding:12px 16px;background:var(--theme-dark);} 
    .hc-qna-a{display:flex;align-items:flex-start;gap:10px;border-radius:0 0 8px 8px;padding:12px 16px;background:var(--theme-light);border:1.5px solid var(--theme-line);border-top:none;} 
    .q-text{font-size:16px;font-weight:700;line-height:1.6;letter-spacing:-0.5px;color:#fff;}   /* 크기 = 본문 -1 */
    .a-text{font-size:16px;line-height:1.75;letter-spacing:-0.5px;flex:1;color:#2d2d2d;} 
    .q-badge,.a-badge{font-size:12px;font-weight:800;line-height:1.4;padding:2px 8px;border-radius:10px;flex-shrink:0;margin-top:2px;color:#fff;}
    .q-badge{background:#e07b00;line-height:1.4;} 
    .a-badge{background:var(--theme);} 


/* ── table ── */
    .tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 24px;}
    .hc-wrap table{width:100%;border-collapse:separate;border-spacing:0;font-size:15px;word-break:keep-all;border-radius:0 0 10px 10px;overflow:hidden;border:1.5px solid var(--theme-line);border-top:none;} 
    .tbl-wrap.wide table{min-width:560px;}
    .hc-wrap th{font-size:15px;line-height:1.5;padding:10px 12px;text-align:center;font-weight:700;background:var(--theme-dark);color:var(--theme-pale);border-right:1.5px solid var(--theme-line-soft);}   /* 행간 미지정 시 본문 상속되므로 명시 */
    .hc-wrap th:last-child{border-right:none;}
    .hc-wrap td{font-size:15px;line-height:1.5;padding:9px 12px;text-align:left;vertical-align:middle;color:#2d2d2d;border-bottom:1px solid var(--theme-line);border-right:1px solid var(--theme-hairline);} 
    .hc-wrap td:last-child{border-right:none;}
    .hc-wrap tr:last-child td{border-bottom:none;}
    .hc-wrap tr:nth-child(even) td{background:var(--theme-even);} 
    /* 강조 셀 : 크기를 바꾸지 않고 굵기·색으로만 */
    .hc-wrap td.td-stage{text-align:center;font-weight:700;color:var(--theme-dark);} 
    .hc-wrap td.td-num{text-align:center;}
    .hc-wrap td.td-em{font-weight:700;color:var(--theme-dark);} 
    .hc-wrap td.td-warn{font-weight:700;color:#a3600a;} 
    .tbl-tip{display:none;}


/* ── tbltitle ── */
    h5.tbl-title{font-size:14px;font-weight:700;letter-spacing:-0.5px;text-align:center;padding:9px 14px;margin:0;border-radius:10px 10px 0 0;color:#fff;background:var(--theme-dark);border:1.5px solid var(--theme-line);border-bottom:1.5px solid var(--theme-line-soft);} 
    .tbl-title .tt-sub{font-size:0.72em;font-weight:500;letter-spacing:-0.3px;color:rgba(255,255,255,.72);}
    .tbl-title .tt-key{font-size:0.88em;font-weight:700;letter-spacing:-0.3px;color:#fff;} 


/* ── summary ── */
    .summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 24px;}
    .summary-card{border-radius:12px;padding:18px 16px;display:flex;flex-direction:column;gap:8px;background:#fff;border:1.5px solid var(--theme-line);} 
    .sc-numrow{display:flex;align-items:center;gap:10px;margin-bottom:4px;}
    .sc-num{width:36px;height:36px;border-radius:8px;font-size:20px;font-weight:900;line-height:1.4;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--theme-dark);color:var(--theme-pale);} 
    .sc-title{font-size:16px;font-weight:800;line-height:1.4;color:var(--theme-dark);} 
    .sc-desc{font-size:14px;line-height:1.65;letter-spacing:-0.3px;color:#555;} 


/* ── fact ── */
    .fact-card{border-radius:12px;padding:16px 18px;margin:18px 0 24px;background:#fff;border:1.5px solid var(--theme-line);} 
    .fact-card .fc-head{font-size:15px;font-weight:800;margin-bottom:10px;color:var(--theme-dark);} 
    .fact-card .fc-row{display:flex;gap:10px;align-items:flex-start;padding:7px 0;border-top:1px solid var(--theme-hairline);} 
    .fact-card .fc-row:first-of-type{border-top:none;}
    .fact-card .fc-k{font-size:12px;font-weight:800;line-height:1.6;border-radius:10px;padding:1px 9px;flex-shrink:0;white-space:nowrap;color:#fff;background:var(--theme);} 
    .fact-card .fc-v{font-size:14px;line-height:1.7;flex:1;color:#444;} 
    .fact-card .fc-foot{font-size:14px;font-weight:700;line-height:1.7;margin-top:10px;padding-top:10px;color:var(--theme-dark);border-top:1.5px solid var(--theme-line);} 


/* ── pick ── */
    .pick-card{border-radius:12px;overflow:hidden;margin:18px 0 24px;background:#fff;border:1.5px solid var(--theme-line);} 
    .pick-card .pk-head{font-size:15px;font-weight:800;line-height:1.5;padding:12px 18px;background:var(--theme-dark);color:#fff;} 
    .pick-card .pk-row{display:flex;gap:10px;align-items:flex-start;padding:11px 18px;border-top:1px solid var(--theme-hairline);} 
    .pick-card .pk-row:first-of-type{border-top:none;}
    .pick-card .pk-n{width:24px;height:24px;border-radius:50%;font-size:13px;font-weight:900;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px;background:#e07b00;color:#fff;} 
    .pick-card .pk-t{font-size:15px;font-weight:800;line-height:1.5;color:var(--theme-dark);} 
    .pick-card .pk-d{font-size:14px;line-height:1.7;margin-top:2px;color:#444;} 


/* ── related ── */
    .hc-related{border-radius:12px;padding:20px;margin:36px 0 24px;background:var(--theme-light);border:1.5px solid var(--theme-line);} 
    .rel-title{font-size:16px;font-weight:800;line-height:1.4;margin-bottom:14px;display:flex;align-items:center;gap:8px;color:var(--theme-dark);}   /* 행간 미지정 시 본문 상속되므로 명시 */
    .pick-badge{font-size:11px;font-weight:800;line-height:1.4;padding:2px 8px;border-radius:10px;background:#e07b00;color:#fff;} 
    .hc-related-items{display:flex;flex-direction:column;gap:9px;}
    .hc-related-item{display:flex;align-items:center;gap:12px;border-radius:8px;padding:11px 14px;text-decoration:none;transition:background .15s;background:#fff;border:1.5px solid var(--theme-line);} 
    .hc-related-item:hover{background:var(--theme-light);} 
    .rel-body{flex:1;}
    .rel-name{font-size:15px;font-weight:700;line-height:1.4;margin-bottom:4px;color:var(--theme-dark);} 
    .rel-name .rn-sub{font-size:0.88em;font-weight:600;color:var(--theme-muted);} 
    .rel-desc{font-size:13px;line-height:1.45;letter-spacing:-0.3px;color:#777;} 
    .rel-arr{font-size:20px;font-weight:700;flex-shrink:0;color:var(--theme);} 


/* ── tags ── */
    .hc-tags{margin:24px 0 16px;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;}
    .hc-tags a{display:inline-block;font-size:12px;font-weight:700;padding:3px 10px;border-radius:20px;text-decoration:none;background:var(--theme-tint);color:var(--theme);border:1px solid var(--theme-line);} 
    .hc-tags a:hover{background:var(--theme);color:#fff;} 


/* ── disclaimer ── */
    .hc-disclaimer{font-size:13px;line-height:1.6;letter-spacing:-0.3px;padding-top:16px;margin-top:16px;color:#aaa;border-top:1px solid var(--theme-line);} 


/* ── solobanner ── */
    .hc-single-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;border:none;border-radius:12px;padding:14px 18px;margin:0 0 24px;text-decoration:none;position:relative;overflow:hidden;transition:transform .18s,box-shadow .18s;background:linear-gradient(135deg,#c8860a 0%,#e8a800 50%,#f5c000 100%);box-shadow:0 3px 12px rgba(200,134,10,.35);} 
    .hc-single-banner::before{content:'';position:absolute;top:0;left:0;width:60%;height:100%;transform:translateX(-100%);will-change:transform;animation:hcsBannerShine 2.8s ease-in-out infinite;background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);}
    @keyframes hcsBannerShine{0%{transform:translateX(-100%);}60%,100%{transform:translateX(267%);}}
    .hc-single-banner:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(200,134,10,.5);} 
    .hcs-left{display:flex;align-items:center;gap:12px;flex:1;}
    .hcs-body{display:flex;flex-direction:column;gap:3px;}
    .hcs-label{font-size:11px;font-weight:800;letter-spacing:0;line-height:1;color:rgba(60,30,0,.8);} 
    .hcs-title{font-size:15px;font-weight:700;line-height:1.4;letter-spacing:-0.5px;color:#000;} 
    .hcs-sub{font-size:13px;font-weight:400;color:#000;} 
    .hcs-arr{flex-shrink:0;display:flex;align-items:center;font-size:22px;font-weight:900;animation:hcsBannerBounce .9s ease-in-out infinite;color:#3d1a00;} 
    @keyframes hcsBannerBounce{0%,100%{transform:translateX(0);}50%{transform:translateX(5px);}}


/* ── divider ── */
    .hc-divider{border:none;margin:20px 0;border-top:2px solid var(--theme-line);} 


/* ── trwrap ── */
    .tr-wrap{border-radius:16px;padding:26px 20px;margin:20px 0 24px;background:var(--theme-light);border:1.5px solid var(--theme-line);} 
    .tr-title{font-size:17px;font-weight:900;text-align:center;margin-bottom:6px;letter-spacing:-0.5px;color:var(--theme-dark);}   /* = 본문 동일 */
    .tr-subtitle{font-size:13px;text-align:center;margin-bottom:18px;line-height:1.5;color:#777;} 
    .tr-guide{font-size:13px;font-weight:700;text-align:center;line-height:1.4;margin:0 0 14px;transition:opacity .3s;color:var(--theme-mid);} 
    .tr-guide.off{opacity:0;}
    .tr-btns{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px;} /* 열 수는 버튼 개수에 맞춘다(글102는 3개). 모바일은 2열 고정 */
    .tr-btn{border-radius:8px;padding:10px 6px;font-size:13px;font-weight:700;line-height:1.4;cursor:pointer;text-align:center;font-family:inherit;letter-spacing:-0.3px;transition:background .15s,border-color .15s;background:#fff;color:var(--theme-dark);border:1.5px solid var(--theme-line);} 
    .tr-btn:hover{background:var(--theme-tint);} 
    .tr-btn.tr-on{background:var(--theme);color:#fff;border-color:var(--theme);} 
    .tr-panel{border-radius:10px;padding:0;display:none;background:#fff;border:1.5px solid var(--theme-line);} 
    .tr-panel.tr-show{display:block;}
    .tr-panel .tp-head{padding:12px 16px;border-radius:8px 8px 0 0;color:#fff;background:var(--theme-dark);} 
    .tr-panel .tp-stage{font-size:11px;font-weight:800;letter-spacing:.3px;margin-bottom:3px;color:rgba(255,255,255,.8);}
    .tr-panel .tp-name{font-size:16px;font-weight:900;line-height:1.35;}
    .tr-panel .tp-body{padding:14px 16px 16px;}
    .tr-panel .tp-row{padding:9px 0;border-top:1px solid var(--theme-hairline);} 
    .tr-panel .tp-row:first-child{border-top:none;padding-top:0;}
    .tr-panel .tp-k{font-size:12px;font-weight:800;margin-bottom:3px;display:inline-block;padding:1px 9px;border-radius:10px;line-height:1.6;}
    .tp-k-y{background:var(--theme);color:#fff;} 
    .tp-k-n{background:#e8eaef;color:#4a5160;} 
    .tp-k-c{background:#f2f0fa;color:#5b46a8;} 
    .tr-panel .tp-v{font-size:14px;line-height:1.75;color:#444;} 
    .tr-panel .tp-v b{color:var(--theme-dark);} 
    .tr-reset{border-radius:8px;padding:8px 18px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;margin-top:14px;display:block;margin-left:auto;margin-right:auto;background:#fff;color:var(--theme);border:1.5px solid var(--theme-line);}  /* 가운데 정렬 3줄은 패널 아래 단독 배치 기준. 2열 그리드 안에 넣을 때는 불필요 */
    .tr-reset:hover{background:var(--theme-tint);} 


/* ── tt ── */
    .tt-teal{background:var(--theme-dark);color:var(--theme-pale);} 
    .tt-mid{background:var(--theme-mid);color:#fff;} 
    .tt-gold{background:#e07b00;color:#fff;} 
    .tt-light{background:var(--theme-tint);color:var(--theme-dark);border:1px solid var(--theme-line);} 
    .tt-game{background:#7c3aed;color:#fff;} 


/* ── timeline ── */
    .tl-wrap{margin:20px 0 24px;}
    .tl-item{display:flex;gap:16px;margin-bottom:22px;align-items:flex-start;}
    .tl-col{display:flex;flex-direction:column;align-items:center;}
    .tl-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0;margin-top:5px;}
    .tl-dot.done{background:#24357a;} 
    .tl-dot.active{background:#e07b00;box-shadow:0 0 0 4px rgba(224,123,0,.2);} 
    .tl-dot.future{background:#ccc;} 
    .tl-connector{width:2px;height:48px;margin:4px 0;background:#b9c2e6;} 
    .tl-body{flex:1;}
    .tl-year{font-size:12px;font-weight:800;display:inline-block;padding:2px 10px;border-radius:4px;margin-bottom:6px;color:#fff;background:#24357a;} 
    .tl-text{font-size:15px;line-height:1.7;letter-spacing:-0.5px;color:#333;} 
    .tl-text strong{color:#141d4d;} 


/* ── expert ── */
    .expert-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:20px 0 24px;}
    .expert-grid.cols3{grid-template-columns:repeat(3,1fr);} /* 카드 3장일 때만 */
    .expert-card{border-radius:12px;overflow:hidden;display:flex;flex-direction:column;border:1.5px solid #b9c2e6;} 
    .expert-card .ec-head{padding:11px 14px;}
    .expert-card .ec-zone{font-size:11px;font-weight:700;margin-bottom:4px;letter-spacing:.3px;color:rgba(255,255,255,.75);}
    .expert-card .ec-title{font-size:13px;font-weight:800;line-height:1.35;color:#fff;}
    .expert-card .ec-body{padding:14px;flex:1;display:flex;flex-direction:column;gap:8px;background:#fff;} 
    .expert-card .ec-quote{font-size:13px;line-height:1.7;letter-spacing:-0.3px;color:#444;} 
    .expert-card .ec-keyword{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px;}
    .expert-card .ec-kw{font-size:11px;font-weight:700;line-height:1.4;padding:2px 7px;border-radius:10px;}
    /* 카드별 직군 색 : 글마다 직군에 맞춰 4종 중 선택·교체 */
    .expert-card.ec-rail{border-color:#4a5cb8;}  .expert-card.ec-rail .ec-head{background:#24357a;}  .expert-card.ec-rail .ec-kw{background:#e9ecf9;color:#24357a;} 
    .expert-card.ec-dev{border-color:#e07b00;}   .expert-card.ec-dev .ec-head{background:#c06700;}   .expert-card.ec-dev .ec-kw{background:#fff8ee;color:#c06700;} 
    .expert-card.ec-agent{border-color:#2e9e5b;} .expert-card.ec-agent .ec-head{background:#1a7e3a;} .expert-card.ec-agent .ec-kw{background:#eaf7ed;color:#1a7e3a;} 
    .expert-card.ec-edu{border-color:#d8b8cc;}   .expert-card.ec-edu .ec-head{background:#7a3b6a;}   .expert-card.ec-edu .ec-kw{background:#f7eef4;color:#7a3b6a;} 


/* ── chart ── */
    .grb-wrap{margin:20px 0 24px;}
    .grb-head{text-align:center;margin-bottom:12px;}
    .grb-title{font-size:17px;font-weight:800;color:var(--theme);}   /* = 본문 동일 (인터랙티브 제목과 같은 단) */
    .grb-sub{font-size:12px;font-weight:500;margin-top:2px;color:var(--theme-muted);} 
    .grb-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 16px;margin-bottom:10px;font-size:13px;color:var(--theme-muted);} 
    .grb-li{display:inline-flex;align-items:center;gap:5px;}
    .grb-sq{width:12px;height:12px;border-radius:2px;display:inline-block;flex-shrink:0;}
    .grb-canvas{position:relative;width:100%;max-width:400px;height:340px;margin:0 auto;}   /* 레이더 기준. 막대·꺾은선은 max-width:640px(글29 실측) · height:300px(제안) */
    .grb-cap{text-align:center;font-size:12px!important;line-height:1.5!important;margin-top:10px;color:#888!important;}   /* p 태그 !important 필수 (시방서 4-9) */


/* ── figure ── */
    .hc-figure{margin:22px 0 24px;}
    .hc-figure img{width:100%;height:auto;border-radius:12px;display:block;border:1.5px solid var(--theme-line);background:var(--theme-light);} 
    .hc-figcap{font-size:12px;line-height:1.5;letter-spacing:-0.3px;text-align:center;margin-top:8px;word-break:keep-all;color:#888;} 
    .hc-figcap a{text-decoration:none;font-weight:700;color:var(--theme-dark);} 


/* ── duobanner ── */
    .hcs-duo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 24px;}
    .hcs-item{display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:10px;padding:13px 14px;text-decoration:none;position:relative;overflow:hidden;min-width:0;transition:transform .18s,box-shadow .18s;background:linear-gradient(135deg,#c8860a 0%,#e8a800 50%,#f5c000 100%);box-shadow:0 3px 12px rgba(200,134,10,.35);} 
    /* 애니메이션 블록 : 단독배너(글102)와 동일 방식. left 이동 대신 transform */
    .hcs-item::before{content:'';position:absolute;top:0;left:0;width:60%;height:100%;transform:translateX(-100%);will-change:transform;animation:hcsBannerShine 2.8s ease-in-out infinite;background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);}
    @keyframes hcsBannerShine{0%{transform:translateX(-100%);}60%,100%{transform:translateX(267%);}}
    .hcs-item:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(200,134,10,.5);} 
    .hcs-tbox{display:flex;flex-direction:column;gap:4px;min-width:0;position:relative;z-index:1;}
    .hcs-t{font-size:15px;font-weight:700;line-height:1.35;letter-spacing:-0.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#000;} 
    .hcs-t2{font-size:13px;font-weight:400;line-height:1.35;letter-spacing:-0.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#000;} 
    .hcs-a{flex-shrink:0;font-size:20px;font-weight:900;position:relative;z-index:1;animation:hcsBannerBounce .9s ease-in-out infinite;color:#3d1a00;} 
    @keyframes hcsBannerBounce{0%,100%{transform:translateX(0);}50%{transform:translateX(5px);}}


/* ════ 0장 모바일 ════ */

    @media(max-width:768px){
      /* 본문 · 좌우 여백 20px (= stage 12px + hc-wrap 8px) */
      .hc-wrap{
        font-size:17px;
        line-height:1.8;
        padding-left:8px;
        padding-right:8px;
      }
      .hc-wrap p:not([class]){
        font-size:17px;                    /* ★ 컨테이너 지정만으로는 적용되지 않음. 자식에 직접 지정 */
        line-height:1.8;
      }
      .hc-wrap h3{ font-size:19px; line-height:1.4; }
      .hc-wrap h4{ font-size:17px; line-height:1.4; }
      .hc-wrap img{ max-width:100%; height:auto; }
    }


/* ════ 컴포넌트 모바일 ════ */
@media(max-width:768px){
  /* ── hero ── */
      .hc-hero{padding:20px 0 18px;}
      .hc-hero h2{font-size:22px;}
  

  /* ── toc ── */
      .hc-toc .toc-label{padding:11px 14px;}
      .hc-toc .toc-txt,
      .hc-toc .toc-label,
      .hc-toc .toc-num{font-size:12px;}
      .hc-toc .toc-sub{display:none;}
  

  /* ── quote ── */
      .hc-quote-text{font-size:17px;}
  

  /* ── insight ── */
      .hc-insight{flex-direction:column;}                                 /* 2줄 필수. 누락 시 좁은 화면에서 좌측 고정 (시방서 4-4) */
      .hc-insight .ins-icon{flex-direction:row;min-width:auto;padding:10px 14px;}
      .hc-insight .ins-text{font-size:17px;line-height:1.8;padding:14px;}
  

  /* ── note ── */
      .hc-note{font-size:12px;line-height:1.5;}
  

  /* ── warn ── */
      .hc-warn{font-size:15px;padding:12px 14px;}   /* 본문 -2 · 좌우 14px */
  

  /* ── qna ── */
      .hc-qna-q,.hc-qna-a{padding:11px 14px;}
      .q-text{font-size:15px;line-height:1.6;letter-spacing:-0.5px;}
      .a-text{font-size:15px;line-height:1.75;letter-spacing:-0.5px;}
  

  /* ── table ── */
      .hc-wrap table{width:100%;min-width:0;}
      .tbl-wrap.wide table{min-width:560px;}
      .hc-wrap td{font-size:13px;line-height:1.5;padding:8px 10px;}
      .hc-wrap th{font-size:13px;line-height:1.5;padding:8px;}
      .tbl-tip{display:block;font-size:11px;text-align:center;letter-spacing:-0.3px;margin:0 0 5px;color:#888;} 
      .tbl-tip::before{content:"\2194  좌우로 스크롤하여 내용 확인";}   /* 특수기호는 CSS 유니코드 이스케이프로 쓴다. HTML 엔티티 표기 금지 (시방서 4-10) */
  

  /* ── tbltitle ── */
      h5.tbl-title{font-size:13px;}
  

  /* ── summary ── */
      .summary-grid{grid-template-columns:1fr;}
      .summary-card{padding:16px 14px;}
      .sc-num{font-size:20px;}
      .sc-title{font-size:15px;}
      .sc-desc{font-size:13px;}
  

  /* ── fact ── */
      .fact-card{padding:14px;}
      .fact-card .fc-head{font-size:14px;}
      .fact-card .fc-row{flex-direction:column;gap:4px;}
  

  /* ── pick ── */
      .pick-card .pk-head,.pick-card .pk-row{padding:11px 14px;}
      .pick-card .pk-head{font-size:14px;}
  

  /* ── related ── */
      .hc-related{padding:14px;}
      .rel-title{font-size:15px;line-height:1.4;}
      .rel-name{font-size:14px;}
      .rel-desc{font-size:12px;}
  

  /* ── disclaimer ── */
      .hc-disclaimer{font-size:12px;}
  

  /* ── solobanner ── */
      .hc-single-banner{padding:11px 14px;}
      .hcs-title{font-size:14px;letter-spacing:-0.5px;}
      .hcs-sub{display:block;font-size:12px;line-height:1.35;}
  

  /* ── trwrap ── */
      .tr-wrap{padding:18px 14px;}
      .tr-title{font-size:15px;}
      .tr-btns{grid-template-columns:repeat(2,1fr);gap:6px;}
      .tr-btn{font-size:12px;padding:9px 4px;}
  

  /* ── timeline ── */
      .tl-text{font-size:14px;}
  

  /* ── expert ── */
      .expert-grid,
      .expert-grid.cols3{grid-template-columns:1fr;}
  

  /* ── chart ── */
      .grb-canvas{height:300px;}
  

  /* ── duobanner ── */
      .hcs-duo{grid-template-columns:1fr;gap:8px;}
      .hcs-item{padding:11px 14px;gap:8px;}
      .hcs-t{font-size:14px;line-height:1.35;}
      .hcs-t2{font-size:12px;line-height:1.35;}
      .hcs-a{font-size:18px;}
  
}
