/* =====================================================
   EV 백과 — 다크 매거진 디자인
   Pretendard + 골드 액센트 + 롱폼 가독성 최우선
   ===================================================== */

:root{
  --bg:#0c0e14;
  --bg-deep:#08090d;
  --bg-card:#161b25;
  --bg-soft:#1d2330;
  --line:#2a2e36;
  --line-soft:#1f2330;

  --text:#e8eaed;
  --text-muted:#a8b0bd;
  --text-dim:#7c8492;
  --text-faint:#5a626f;

  --gold:#e8b04d;
  --gold-soft:#3a2f1c;
  --gold-deep:#a87a2c;
  --rust:#c45a3b;
  --teal:#5fb3a8;

  --shadow: 0 12px 32px rgba(0,0,0,.4), 0 4px 8px rgba(0,0,0,.2);
  --shadow-sm: 0 2px 6px rgba(0,0,0,.25);
  --max:1200px;
  --max-read:720px;
  --max-wide:1340px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size:17px;
  line-height:1.85;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%; display:block}

a{color:var(--gold); text-decoration:none; transition:color .15s}
a:hover{color:#fff; text-decoration:underline; text-decoration-color:var(--gold); text-underline-offset:3px}

/* Reading progress bar */
.read-bar{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:linear-gradient(90deg, var(--gold) 0%, var(--rust) 100%);
  z-index:100; transition:width .1s linear;
}

/* ============= Header ============= */
.masthead{
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  position:relative; z-index:50;
}
.mast-top{
  max-width:var(--max-wide); margin:0 auto; padding:14px 24px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; color:var(--text-faint); letter-spacing:.5px;
  text-transform:uppercase; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  border-bottom:1px solid var(--line-soft);
}
.mast-top .left{display:flex; gap:18px; align-items:center}
.mast-top .right{display:flex; gap:14px}
.mast-top a{color:var(--text-muted); font-weight:500}
.mast-top a:hover{color:var(--gold); text-decoration:none}

.mast-brand{
  text-align:center; padding:42px 24px 28px;
}
.mast-brand h1, .mast-brand a.brand-title{
  font-family:"Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size:54px; letter-spacing:-1px; font-weight:900;
  margin:0; color:var(--text); display:inline-block;
}
.mast-brand a.brand-title:hover{text-decoration:none; color:var(--gold)}
.mast-brand .tagline{
  margin-top:6px; font-size:13px; color:var(--text-dim);
  letter-spacing:3px; text-transform:uppercase;
  font-family:ui-monospace, monospace;
}
.mast-brand .ornament{
  display:flex; align-items:center; justify-content:center;
  gap:14px; margin-top:14px; color:var(--gold);
}
.mast-brand .ornament::before, .mast-brand .ornament::after{
  content:""; height:1px; width:60px; background:var(--gold); opacity:.6;
}
.mast-brand .ornament span{font-size:14px}

.mast-nav{
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background:var(--bg-deep);
}
.mast-nav ul{
  list-style:none; padding:0; margin:0;
  max-width:var(--max-wide); margin:0 auto;
  display:flex; justify-content:center; gap:0;
  flex-wrap:wrap;
}
.mast-nav a{
  display:block; padding:16px 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  font-size:13.5px; font-weight:600; letter-spacing:1.5px;
  text-transform:uppercase; color:var(--text-muted);
  border-bottom:2px solid transparent;
  transition: color .15s, border-color .15s;
}
.mast-nav a:hover{color:var(--gold); border-bottom-color:var(--gold); text-decoration:none}
.mast-nav a.active{color:var(--gold); border-bottom-color:var(--gold)}

@media(max-width:760px){
  .mast-brand h1, .mast-brand a.brand-title{font-size:38px}
  .mast-nav ul{justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap}
  .mast-nav a{padding:14px 16px; white-space:nowrap}
  .mast-top{font-size:11px; padding:10px 18px}
  .mast-top .right{display:none}
}

/* ============= Layout ============= */
.container{max-width:var(--max); margin:0 auto; padding:48px 24px}
.container-wide{max-width:var(--max-wide); margin:0 auto; padding:48px 24px}
.container-read{max-width:var(--max-read); margin:0 auto; padding:48px 24px}

/* ============= Eyebrow & Section labels ============= */
.eyebrow{
  display:inline-block; font-family: ui-monospace, monospace;
  font-size:11.5px; letter-spacing:2px; text-transform:uppercase;
  color:var(--gold); font-weight:600;
  padding:4px 0; border-top:1px solid var(--gold); border-bottom:1px solid var(--gold);
}
.section-label{
  font-family: ui-monospace, monospace;
  font-size:12px; letter-spacing:3px; text-transform:uppercase;
  color:var(--gold); margin:0 0 8px; font-weight:700;
}
.section-rule{
  border:none; border-top:1px solid var(--gold);
  width:60px; margin:0 0 24px;
}
.divider{
  border:none; border-top:1px solid var(--line);
  margin:36px 0;
}

/* ============= Hero (homepage) ============= */
.hero-issue{
  border-bottom:1px solid var(--line);
  padding:28px 0 56px;
  background:radial-gradient(ellipse at 70% 0%, rgba(232,176,77,.08) 0%, transparent 60%);
}
.hero-issue .inner{
  max-width:var(--max); margin:0 auto; padding:0 24px;
}
.hero-issue .lead-grid{
  display:grid; gap:48px;
  grid-template-columns: 2fr 1fr;
}
@media(max-width:900px){.hero-issue .lead-grid{grid-template-columns:1fr}}

.hero-feature{}
.hero-feature .meta{
  font-family: ui-monospace, monospace; font-size:12px;
  letter-spacing:1.5px; text-transform:uppercase; color:var(--gold);
  margin-bottom:18px;
}
.hero-feature h2{
  font-family:"Nanum Myeongjo","Noto Serif KR",serif;
  font-size:48px; line-height:1.2; letter-spacing:-.8px;
  margin:0 0 18px; font-weight:900; color:var(--text);
}
.hero-feature h2 a{color:inherit}
.hero-feature h2 a:hover{color:var(--gold); text-decoration:none}
.hero-feature .deck{
  font-size:18px; line-height:1.7; color:var(--text-muted);
  margin:0 0 18px; font-style:italic;
  border-left:2px solid var(--gold); padding-left:16px;
}
.hero-feature .byline{
  font-family: ui-monospace, monospace; font-size:12px;
  color:var(--text-dim); letter-spacing:1px;
}

.hero-sidebar{}
.hero-sidebar .picks-title{
  font-family: ui-monospace, monospace; font-size:12px;
  letter-spacing:2px; text-transform:uppercase; color:var(--gold);
  font-weight:700; padding-bottom:8px; border-bottom:1px solid var(--gold);
  margin:0 0 18px;
}
.pick-item{
  padding:14px 0; border-bottom:1px solid var(--line-soft);
  display:block; color:var(--text);
}
.pick-item:hover{text-decoration:none}
.pick-item:hover h4{color:var(--gold)}
.pick-item:last-child{border-bottom:none}
.pick-item .num{
  display:inline-block; font-family: ui-monospace, monospace;
  font-size:14px; color:var(--gold-deep); font-weight:600;
  margin-right:10px;
}
.pick-item .cat{
  font-family: ui-monospace, monospace; font-size:11px; color:var(--text-dim);
  text-transform:uppercase; letter-spacing:1.5px; margin-bottom:4px;
}
.pick-item h4{
  font-family:"Nanum Myeongjo","Noto Serif KR",serif;
  font-size:16px; line-height:1.4; margin:0;
  font-weight:700; transition:color .15s;
}

@media(max-width:760px){
  .hero-feature h2{font-size:32px}
  .hero-feature .deck{font-size:16px}
}

/* ============= Section grid (homepage sections) ============= */
.section-block{padding:48px 0; border-bottom:1px solid var(--line)}
.section-block:last-child{border-bottom:none}
.section-block .head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:24px; flex-wrap:wrap; gap:10px;
}
.section-block h2{
  font-family:"Nanum Myeongjo","Noto Serif KR",serif;
  font-size:32px; margin:0; letter-spacing:-.4px; font-weight:900;
}
.section-block .more{
  font-family: ui-monospace, monospace; font-size:12px;
  letter-spacing:1.5px; text-transform:uppercase; color:var(--gold);
  font-weight:600;
}
.section-block .sub{
  color:var(--text-muted); margin:0 0 24px; font-style:italic;
  font-size:16px;
}

.card-grid{
  display:grid; gap:24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card{
  background:var(--bg-card); border:1px solid var(--line);
  padding:26px; transition:border-color .2s, transform .2s;
  display:block; color:var(--text);
}
.card:hover{
  border-color:var(--gold); transform:translateY(-2px); text-decoration:none;
}
.card .cat{
  font-family: ui-monospace, monospace; font-size:11.5px;
  letter-spacing:1.5px; text-transform:uppercase; color:var(--gold);
  margin-bottom:12px;
}
.card h3{
  font-family:"Nanum Myeongjo","Noto Serif KR",serif;
  font-size:21px; line-height:1.35; margin:0 0 12px; font-weight:800;
  letter-spacing:-.2px;
}
.card .deck{
  color:var(--text-muted); font-size:15px; margin:0 0 14px;
  line-height:1.65;
}
.card .byline{
  font-family: ui-monospace, monospace; font-size:11.5px;
  color:var(--text-dim); letter-spacing:.5px;
  padding-top:10px; border-top:1px solid var(--line);
}
.card.feature h3{font-size:26px}

/* Encyclopedia A-Z grid */
.az-jump{
  display:flex; gap:6px; flex-wrap:wrap; padding:14px 18px;
  background:var(--bg-card); border:1px solid var(--line);
  margin-bottom:24px;
  font-family: ui-monospace, monospace;
}
.az-jump a{
  display:inline-block; padding:5px 10px; min-width:32px; text-align:center;
  border:1px solid var(--line); color:var(--text-muted); border-radius:3px;
  font-size:13px; font-weight:600;
}
.az-jump a:hover{background:var(--gold); color:var(--bg-deep); border-color:var(--gold); text-decoration:none}
.az-jump a.dim{opacity:.3; pointer-events:none}

.az-section{margin:32px 0 12px}
.az-section .letter{
  font-family:"Pretendard Variable", Pretendard, sans-serif;
  font-size:42px; color:var(--gold); font-weight:900;
  border-bottom:1px solid var(--gold); padding-bottom:6px; margin-bottom:14px;
  display:inline-block; min-width:60px;
}
.term-list{list-style:none; padding:0; margin:0; display:grid; gap:10px}
.term-list a{
  display:block; padding:14px 18px;
  background:var(--bg-card); border:1px solid var(--line);
  color:var(--text); transition: border-color .15s, background .15s;
}
.term-list a:hover{border-color:var(--gold); background:var(--bg-soft); text-decoration:none}
.term-list .term{
  font-family:"Nanum Myeongjo","Noto Serif KR",serif;
  font-size:18px; font-weight:700; color:var(--gold);
  margin-right:14px;
}
.term-list .desc{font-size:14.5px; color:var(--text-muted)}

/* ============= Article (long-form) ============= */
.article-head{
  text-align:center; padding:48px 24px 24px;
  border-bottom:1px solid var(--line);
  max-width:var(--max-read); margin:0 auto;
}
.article-head .eyebrow{margin-bottom:18px}
.article-head h1{
  font-family:"Nanum Myeongjo","Noto Serif KR",serif;
  font-size:42px; line-height:1.25; letter-spacing:-.6px;
  margin:0 0 16px; font-weight:900;
}
.article-head .deck{
  font-size:18px; line-height:1.7; color:var(--text-muted);
  font-style:italic; margin:0 auto 18px; max-width:600px;
}
.article-head .byline{
  font-family: ui-monospace, monospace; font-size:12px;
  letter-spacing:1.5px; color:var(--text-dim); text-transform:uppercase;
}
.article-head .byline span{margin:0 8px}

@media(max-width:680px){
  .article-head h1{font-size:30px}
  .article-head .deck{font-size:16px}
}

.article-body{
  max-width:var(--max-read); margin:0 auto; padding:36px 24px 64px;
}
.article-body h2{
  font-family:"Nanum Myeongjo","Noto Serif KR",serif;
  font-size:26px; margin:48px 0 14px; letter-spacing:-.3px; font-weight:800;
  padding-top:20px; border-top:1px solid var(--line);
}
.article-body h2:first-of-type{border-top:none; padding-top:0; margin-top:0}
.article-body h3{
  font-family:"Nanum Myeongjo","Noto Serif KR",serif;
  font-size:20px; margin:32px 0 10px; font-weight:700; color:var(--gold);
}
.article-body p{margin:0 0 18px; line-height:1.95; color:var(--text)}
.article-body ul, .article-body ol{
  margin:0 0 20px; padding-left:24px; line-height:1.85;
}
.article-body li{margin-bottom:8px; color:var(--text)}
.article-body strong{color:#fff; font-weight:700}
.article-body em{color:var(--gold); font-style:italic}

.article-body p.first-para::first-letter{
  font-family:"Pretendard Variable", Pretendard, sans-serif;
  font-size:64px; float:left; line-height:.95;
  margin:6px 12px 0 0; color:var(--gold); font-weight:900;
}

.article-body blockquote{
  margin:32px 0; padding:0 0 0 24px;
  border-left:3px solid var(--gold);
  font-family:"Pretendard Variable", Pretendard, sans-serif;
  font-size:22px; line-height:1.6; color:var(--text);
  font-style:italic;
}
.article-body blockquote cite{
  display:block; margin-top:12px;
  font-family: ui-monospace, monospace; font-size:12px;
  letter-spacing:1px; color:var(--text-dim); font-style:normal;
  text-transform:uppercase;
}

.article-body table{
  width:100%; border-collapse:collapse; margin:24px 0;
  font-size:15px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.article-body table th, .article-body table td{
  padding:12px 14px; text-align:left;
  border-bottom:1px solid var(--line); color:var(--text);
}
.article-body table thead th{
  background:var(--bg-card);
  font-weight:700; font-size:13px; color:var(--gold);
  text-transform:uppercase; letter-spacing:1px;
}

.pull-quote{
  margin:36px 0; padding:24px 0;
  text-align:center; border-top:1px solid var(--gold); border-bottom:1px solid var(--gold);
  font-family:"Pretendard Variable", Pretendard, sans-serif;
  font-size:24px; line-height:1.5; color:var(--gold); font-style:italic;
  font-weight:700;
}

.callout{
  margin:28px 0; padding:20px 24px;
  background:var(--bg-card); border-left:3px solid var(--gold);
  font-size:15.5px; color:var(--text);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  line-height:1.7;
}
.callout strong{display:block; color:var(--gold); margin-bottom:6px;
  font-family: ui-monospace, monospace; font-size:12px;
  text-transform:uppercase; letter-spacing:2px; font-weight:700;
}

.fact-box{
  display:grid; gap:14px; grid-template-columns:repeat(auto-fit, minmax(140px,1fr));
  margin:28px 0; padding:20px; background:var(--bg-card); border:1px solid var(--line);
}
.fact{font-family:-apple-system, BlinkMacSystemFont, sans-serif}
.fact .num{
  font-family:"Pretendard Variable", Pretendard, sans-serif; font-size:32px; color:var(--gold);
  font-weight:900; line-height:1;
}
.fact .label{font-size:12px; color:var(--text-dim); margin-top:6px;
  text-transform:uppercase; letter-spacing:1px; font-family: ui-monospace, monospace;}

/* TOC sidebar */
.read-layout{
  display:grid; gap:48px;
  grid-template-columns: 1fr 200px;
  max-width: var(--max-wide); margin:0 auto; padding:36px 24px;
}
.read-layout .article-body{margin:0; max-width:none; padding:0}
.read-layout .toc-sticky{
  position:sticky; top:24px; align-self:flex-start;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size:13.5px;
  border-left:1px solid var(--line); padding-left:18px;
  max-height:80vh; overflow-y:auto;
}
.read-layout .toc-sticky .label{
  font-family: ui-monospace, monospace; font-size:11px;
  letter-spacing:2px; text-transform:uppercase; color:var(--gold);
  margin:0 0 12px; font-weight:700;
}
.read-layout .toc-sticky ul{list-style:none; padding:0; margin:0; line-height:1.7}
.read-layout .toc-sticky a{color:var(--text-muted); display:block; padding:4px 0}
.read-layout .toc-sticky a:hover{color:var(--gold); text-decoration:none}

@media(max-width:1100px){
  .read-layout{grid-template-columns: 1fr}
  .read-layout .toc-sticky{display:none}
}

/* End matter */
.end-rule{
  text-align:center; margin:48px 0 24px;
  font-family:"Pretendard Variable", Pretendard, sans-serif; color:var(--gold); font-size:24px;
}
.end-rule::before{content:"❖ ❖ ❖"; letter-spacing:8px}

.related-block{
  margin:48px 0 0; padding:24px 0; border-top:1px solid var(--line);
}
.related-block .label{
  font-family: ui-monospace, monospace; font-size:11.5px;
  letter-spacing:2px; text-transform:uppercase; color:var(--gold);
  margin:0 0 14px; font-weight:700;
}
.related-block ul{list-style:none; padding:0; margin:0}
.related-block li{
  padding:10px 0; border-bottom:1px solid var(--line-soft);
}
.related-block li:last-child{border-bottom:none}
.related-block li a{
  color:var(--text); font-family:"Nanum Myeongjo","Noto Serif KR",serif;
  font-size:16px;
}
.related-block li a:hover{color:var(--gold); text-decoration:none}
.related-block li .cat{
  font-family: ui-monospace, monospace; font-size:11px;
  color:var(--text-dim); margin-right:10px; letter-spacing:1px;
  text-transform:uppercase;
}

/* Breadcrumb */
.crumb{
  font-family: ui-monospace, monospace; font-size:11.5px;
  letter-spacing:1.5px; color:var(--text-dim);
  text-transform:uppercase; margin-bottom:18px;
}
.crumb a{color:var(--text-muted)}
.crumb a:hover{color:var(--gold)}
.crumb span{margin:0 8px; opacity:.5}

/* Timeline */
.timeline{
  margin:32px 0; padding:0; list-style:none;
}
.timeline li{
  position:relative; padding:0 0 28px 28px; margin:0;
  border-left:1px solid var(--line);
}
.timeline li:last-child{border-left:1px solid transparent}
.timeline li::before{
  content:""; position:absolute; left:-5px; top:8px;
  width:9px; height:9px; border-radius:50%; background:var(--gold);
  box-shadow:0 0 0 3px var(--bg);
}
.timeline .year{
  font-family: ui-monospace, monospace;
  font-size:14px; color:var(--gold); font-weight:700;
  letter-spacing:1px; margin-bottom:6px;
}
.timeline .event-title{
  font-family:"Pretendard Variable", Pretendard, sans-serif;
  font-size:19px; font-weight:700; margin:0 0 6px;
}
.timeline .event-body{
  color:var(--text-muted); font-size:15px; line-height:1.7; margin:0;
}

/* ============= Footer ============= */
.site-foot{
  border-top:1px solid var(--line);
  background:var(--bg-deep);
  padding:48px 0 24px; margin-top:64px;
}
.site-foot .inner{max-width:var(--max); margin:0 auto; padding:0 24px}
.foot-mast{
  text-align:center; padding-bottom:32px; border-bottom:1px solid var(--line);
}
.foot-mast h4{
  font-family:"Pretendard Variable", Pretendard, sans-serif; font-size:28px;
  margin:0 0 6px; font-weight:900;
}
.foot-mast p{
  color:var(--text-dim); font-size:13px;
  letter-spacing:2px; text-transform:uppercase;
  font-family:ui-monospace, monospace; margin:0;
}
.foot-grid{
  display:grid; gap:32px; padding:32px 0;
  grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
}
.foot-grid h5{
  font-family:ui-monospace, monospace; font-size:11.5px;
  letter-spacing:2px; color:var(--gold); text-transform:uppercase;
  margin:0 0 12px; font-weight:700;
}
.foot-grid ul{list-style:none; padding:0; margin:0}
.foot-grid li{margin-bottom:8px; font-size:14px; font-family:-apple-system,sans-serif}
.foot-grid a{color:var(--text-muted)}
.foot-grid a:hover{color:var(--gold)}
.foot-bottom{
  padding-top:18px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
  font-family: ui-monospace, monospace; font-size:11.5px;
  color:var(--text-faint); letter-spacing:1px; text-transform:uppercase;
}

/* Tag */
.tag{
  display:inline-block; padding:3px 10px;
  font-family:ui-monospace, monospace; font-size:11px;
  letter-spacing:1.5px; text-transform:uppercase;
  border:1px solid var(--gold); color:var(--gold);
  margin-right:6px; margin-bottom:6px;
}

/* Pull-style data list */
.dl-data{
  display:grid; grid-template-columns:140px 1fr;
  gap:6px 18px; margin:24px 0;
  font-family:-apple-system, BlinkMacSystemFont, sans-serif;
  font-size:14.5px;
}
.dl-data dt{
  font-family: ui-monospace, monospace; font-size:11.5px;
  color:var(--text-dim); text-transform:uppercase; letter-spacing:1px;
  align-self:center;
}
.dl-data dd{margin:0; color:var(--text); padding:8px 0; border-bottom:1px solid var(--line-soft)}
.dl-data dt{padding:8px 0; border-bottom:1px solid var(--line-soft)}

/* Buttons (rare in magazine but for legal pages) */
.btn{
  display:inline-block; padding:12px 24px;
  font-family:ui-monospace, monospace; font-size:12px;
  letter-spacing:2px; text-transform:uppercase; font-weight:700;
  border:1px solid var(--gold); color:var(--gold);
  background:transparent; cursor:pointer;
  transition:background .15s, color .15s;
}
.btn:hover{background:var(--gold); color:var(--bg-deep); text-decoration:none}

/* ============= Calculator (dark magazine style) ============= */
.calc-wrap{
  background:var(--bg-card); border:1px solid var(--line);
  padding:32px; margin:24px 0;
}
.calc-form{
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  display:grid; gap:20px;
}
.calc-row{display:grid; gap:18px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));}
.calc-field{display:flex; flex-direction:column; gap:6px}
.calc-field label{
  font-family:ui-monospace, monospace; font-size:11.5px;
  letter-spacing:1.5px; color:var(--gold); text-transform:uppercase;
  font-weight:700;
}
.calc-field input, .calc-field select{
  background:var(--bg-deep); border:1px solid var(--line);
  color:var(--text); font-size:16px; padding:12px 14px;
  font-family:inherit; transition:border-color .15s, box-shadow .15s;
}
.calc-field input:focus, .calc-field select:focus{
  outline:none; border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(232,176,77,.15);
}
.calc-out{
  margin-top:24px; padding:24px;
  background:linear-gradient(180deg, rgba(232,176,77,.08) 0%, transparent 100%);
  border:1px solid var(--gold); border-radius:0;
}
.calc-out .out-label{
  font-family:ui-monospace, monospace; font-size:11.5px;
  letter-spacing:2px; color:var(--gold); text-transform:uppercase;
  font-weight:700; margin:0 0 6px;
}
.calc-out .out-value{
  font-family:"Pretendard Variable", Pretendard, sans-serif; font-size:36px;
  color:var(--text); font-weight:900; line-height:1.2;
  font-variant-numeric: tabular-nums; letter-spacing:-.5px;
}
.calc-out .out-sub{
  margin-top:12px; padding-top:14px; border-top:1px solid rgba(232,176,77,.3);
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-family:-apple-system, BlinkMacSystemFont, sans-serif; font-size:14.5px;
  color:var(--text-muted);
}
.calc-out .out-sub strong{
  color:var(--text); font-variant-numeric:tabular-nums; font-weight:700;
}
.calc-disclaimer{
  margin-top:18px; padding:14px 18px; background:var(--bg-deep);
  border-left:2px solid var(--text-faint); font-family:-apple-system,sans-serif;
  font-size:13px; color:var(--text-dim); line-height:1.7;
}

/* Source-cite block */
.source-block{
  margin:32px 0; padding:18px 22px;
  background:var(--bg-deep); border-left:3px solid var(--gold);
  font-family:-apple-system, BlinkMacSystemFont, sans-serif; font-size:14px;
  color:var(--text-muted); line-height:1.7;
}
.source-block strong{
  display:block; font-family:ui-monospace, monospace; font-size:11.5px;
  letter-spacing:2px; color:var(--gold); text-transform:uppercase;
  font-weight:700; margin-bottom:8px;
}
.source-block ul{margin:0; padding-left:20px}
.source-block li{margin-bottom:4px}
.source-block a{color:var(--text); text-decoration:underline; text-underline-offset:2px}
.source-block a:hover{color:var(--gold)}

/* Editor's note (1st-person experience) */
.editor-note{
  margin:32px 0; padding:24px 28px;
  background:var(--bg-card); border:1px solid var(--line);
  position:relative;
}
.editor-note::before{
  content:"운영자 메모"; position:absolute; top:-10px; left:24px;
  background:var(--bg); padding:0 12px;
  font-family:ui-monospace, monospace; font-size:11px;
  letter-spacing:2px; color:var(--gold); text-transform:uppercase;
  font-weight:700;
}
.editor-note p{margin:0 0 10px; font-style:italic; color:var(--text-muted); line-height:1.8}
.editor-note p:last-child{margin-bottom:0}

/* Author profile box (about page) */
.author-card{
  background:var(--bg-card); border:1px solid var(--line);
  padding:32px; margin:24px 0;
  font-family:-apple-system, BlinkMacSystemFont, sans-serif;
}
.author-card .label{
  font-family:ui-monospace, monospace; font-size:11.5px;
  letter-spacing:2px; color:var(--gold); text-transform:uppercase;
  font-weight:700; margin:0 0 8px;
}
.author-card h3{
  font-family:"Pretendard Variable", Pretendard, sans-serif; font-size:24px;
  margin:0 0 14px; font-weight:800;
}
.author-card .meta-row{
  display:grid; gap:8px 24px; grid-template-columns: 110px 1fr;
  margin:18px 0; font-size:14.5px;
}
.author-card .meta-row dt{
  font-family:ui-monospace, monospace; font-size:11.5px;
  color:var(--text-dim); text-transform:uppercase; letter-spacing:1px;
  align-self:center;
}
.author-card .meta-row dd{margin:0; color:var(--text)}
