/* Ai_peekme — Claude Design "AI 데일리" 디자인 시스템 */
:root {
  --ground: #F6F6F3;
  --surface: #FFFFFF;
  --ink: #111214;
  --text-2: #4A4B50;
  --text-3: #3E3F44;
  --muted: #5C5D63;
  --faint: #B4B4AD;
  --line: #E2E2DC;
  --line-2: #DADAD3;
  --line-3: #ECECE6;
  --track: #F1F1EC;
  --hl: #E4FF3C;
  --accent: #2346F5;
  --term: #ECEEF9;
  --term-ink: #2A3270;
  --head: "IBM Plex Sans KR", "Noto Sans KR", system-ui, sans-serif;
  --body: "Noto Sans KR", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.6 var(--body); word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select { font-family: inherit; }
h1, h2, h3, p, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* 형광펜 */
.hl { color: inherit; background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 92%, transparent 92%); padding: 0 4px; margin: 0 -4px; }
.hl-lg, .hl-xl { background: linear-gradient(transparent 56%, var(--hl) 56%, var(--hl) 94%, transparent 94%); padding: 0 6px; margin: 0 -6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tldr .hl { background: linear-gradient(transparent 55%, var(--hl) 55%); padding: 0; margin: 0; }

/* 공통 텍스트 */
.mono-label { font: 400 13px var(--mono); color: var(--muted); letter-spacing: .06em; }
.mono-s { font: 400 12px var(--mono); color: var(--muted); }
.mono-link { font: 500 13px var(--mono); color: var(--muted); white-space: nowrap; }
.h-sec { font: 700 28px/1.3 var(--head); letter-spacing: -.025em; margin-top: 8px; }
.h-page { font: 700 clamp(36px, 4.5vw, 56px)/1.15 var(--head); letter-spacing: -.035em; }
.sub { font-size: 16px; color: var(--text-2); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; border: 1px solid transparent; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; gap: 6px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-md { height: 44px; padding: 0 18px; }
.btn-lg { height: 48px; padding: 0 24px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; background: #2a2b30; }
.btn-line { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-outline-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { background: var(--ink); color: #fff; }
.btn-hl { background: var(--hl); color: var(--ink); border: none; border-radius: 10px; }
.btn-hl:hover { color: var(--ink); filter: brightness(.95); }
.wide { width: 100%; }
.res { display: flex; flex-wrap: wrap; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; color: var(--ink); font-size: 18px; }
.round:disabled { color: var(--faint); cursor: default; }
.story:hover .story-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- 헤더 ---------- */
.hdr { background: var(--ground); border-bottom: 1px solid var(--line); }
.hdr-in { min-height: 72px; padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--ink); display: grid; place-items: center; }
.logo-mark span { width: 8px; height: 8px; border-radius: 50%; background: var(--hl); }
.logo-txt { font: 700 20px var(--head); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 4px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.nav a { height: 44px; padding: 0 14px; display: flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--text-2); white-space: nowrap; border-radius: 8px; }
.nav a span { padding: 0 3px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav a[aria-current="page"] span { background: linear-gradient(transparent 52%, var(--hl) 52%, var(--hl) 92%, transparent 92%); }
.hdr-act { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); }
@media (max-width: 720px) {
  .hdr-in { gap: 4px 12px; }
  .nav { order: 3; width: 100%; margin: 0 -14px; padding: 0 2px; }
  .nav a { padding: 0 10px; font-size: 14.5px; }
  .hdr-act .btn { padding: 0 14px; }
}

/* ---------- 홈: 날짜 띠 ---------- */
.date-strip { padding-top: 40px; }
.ds-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font: 400 13px var(--mono); color: var(--muted); letter-spacing: .02em; }
.ds-left, .ds-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.slash { color: var(--faint); }
.h-hero { margin-top: 20px; font: 700 clamp(34px, 5vw, 64px)/1.12 var(--head); letter-spacing: -.035em; max-width: 900px; }
.switcher { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); }
.sw-btn { width: 32px; height: 32px; border-radius: 16px; display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--ink); }
.sw-btn:hover { background: var(--hl); color: var(--ink); }
.sw-btn.off { color: var(--line-2); background: none; }
.switcher select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 500 12.5px var(--mono); color: var(--ink); padding: 6px 8px; cursor: pointer; text-align: center; }
@media (max-width: 560px) { .ds-note { display: none; } }

/* ---------- 홈: 톱 뉴스 + 3줄 요약 ---------- */
.hero { padding-top: 48px; display: flex; flex-wrap: wrap; gap: 32px; }
.top { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.top-visual, .thumb { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; background-color: var(--ink); background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 18px 18px; }
.top-visual { height: 380px; border-radius: 16px; padding: 24px; }
.badge { position: absolute; top: 24px; left: 24px; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--hl); color: var(--ink); font-size: 13px; font-weight: 500; display: flex; align-items: center; }
.tv-word { font: 500 clamp(44px, 9vw, 104px)/.9 var(--mono); color: rgba(255,255,255,.92); letter-spacing: -.05em; }
.tv-meta { font: 400 12px var(--mono); color: #C9CAD0; letter-spacing: .04em; }
/* 톱 뉴스 비주얼: 대상 이름 + 핵심 수치 */
.top-visual { justify-content: space-between; padding-top: 72px; }
.tv-cat { position: absolute; top: 28px; right: 24px; font: 500 12px var(--mono); color: #C9CAD0; letter-spacing: .06em; }
.tv-main { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.tv-tagline { font: 500 15px var(--body); color: var(--hl); }
.tv-subject { font: 700 clamp(40px, 6.4vw, 76px)/1.02 var(--head); letter-spacing: -.04em; color: #fff; overflow-wrap: normal; word-break: keep-all; }
.tv-subject.long { font-size: clamp(32px, 4.8vw, 56px); }
.tv-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tv-stat { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); min-width: 112px; }
.tv-stat b { font: 700 24px/1.1 var(--head); color: var(--hl); letter-spacing: -.02em; }
.tv-stat small { font-size: 12.5px; color: #D5D6DB; }
.top-visual .tv-meta { margin-top: 14px; }
.thumb { justify-content: space-between; padding-top: 14px; }
.thumb .tv-cat { position: static; font-size: 11px; }
.thumb .tv-main { gap: 8px; }
.thumb .tv-tagline { font-size: 12.5px; }
.thumb .tv-subject, .thumb .tv-subject.long { font-size: 26px; line-height: 1.1; }
.thumb .tv-stats { gap: 6px; margin-top: 2px; }
.thumb .tv-stat { flex-direction: row; align-items: baseline; gap: 6px; padding: 4px 9px; border-radius: 7px; min-width: 0; }
.thumb .tv-stat b { font-size: 14px; }
.thumb .tv-stat small { font-size: 11px; }
.thumb .tv-meta { display: none; }
.thumb { height: 190px; }
@media (max-width: 560px) {
  .top-visual { height: auto; min-height: 300px; padding-top: 64px; }
  .tv-stat { min-width: 0; padding: 8px 11px; }
  .tv-stat b { font-size: 19px; }
}

/* ---------- 인기 오픈소스 ---------- */
.tr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 16px; }
.tr-col { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 20px; display: flex; flex-direction: column; gap: 4px; }
.tr-col > .btn { margin: 12px 16px 0; }
.tr-head { display: flex; align-items: center; gap: 14px; border-radius: 12px; padding: 16px 18px; }
.tr-head div { display: flex; flex-direction: column; }
.tr-head strong { font: 700 18px var(--head); letter-spacing: -.01em; }
.tr-head span:not(.tr-logo) { font: 400 12px var(--mono); }
.tr-head-ink { background: var(--ink); color: #fff; }
.tr-head-ink span:not(.tr-logo) { color: #B9BAC1; }
.tr-head-hl { background: var(--hl); color: var(--ink); }
.tr-head-hl span:not(.tr-logo) { color: var(--text-3); }
.tr-logo { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 40px; }
.tr-head-ink .tr-logo { background: rgba(255,255,255,.1); color: var(--hl); }
.tr-head-hl .tr-logo { background: var(--ink); color: var(--hl); }
.tr-list { list-style: none; padding: 0 16px; }
.tr-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-3); }
.tr-item:last-child { border-bottom: 0; }
.tr-rank { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; font: 700 17px var(--head); color: #8A8B90; }
.tr-rank.on { background: var(--hl); color: var(--ink); }
.tr-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tr-name { font: 600 17px/1.35 var(--head); letter-spacing: -.01em; overflow-wrap: anywhere; }
.tr-owner { font-weight: 400; color: var(--muted); }
.tr-body p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.tr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font: 400 12.5px var(--mono); color: var(--muted); }
.tr-meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lang-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); margin-right: 6px; vertical-align: 0; }
.tr-gain { background: var(--hl); color: var(--ink); font-weight: 500; padding: 0 6px; border-radius: 3px; }
.tr-task { color: var(--accent); font-weight: 500; }
.tr-note { font-size: 13px; color: var(--muted); }
.top-copy { display: flex; flex-direction: column; gap: 12px; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font: 400 13px var(--mono); color: var(--muted); }
.cat-txt { color: var(--accent); font-weight: 500; }
.sep { color: var(--faint); }
.h-top { font: 700 32px/1.3 var(--head); letter-spacing: -.025em; }
.h-top a { color: var(--ink); }
.lead { font-size: 17px; color: var(--text-3); max-width: 680px; }
.top .res { margin-top: 4px; }
@media (max-width: 560px) { .top-visual { height: 240px; } .h-top { font-size: 26px; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.pad { padding: 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.card h3, .card h2 { font: 700 18px var(--head); letter-spacing: -.01em; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.tldr { flex: 1 1 340px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 20px; align-self: flex-start; }
.tldr-head { display: flex; align-items: center; justify-content: space-between; }
.tldr h2 { font: 700 18px var(--head); }
.tldr ol { list-style: none; padding: 0; }
.tldr li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-3); font-size: 15px; line-height: 1.6; color: #24252A; }
.tldr .n { flex: 0 0 auto; white-space: nowrap; overflow-wrap: normal; font: 500 14px var(--mono); color: var(--accent); padding-top: 2px; }
.rank-n, .day-n, .num-val, .tag, .mono-s, .tv-word { overflow-wrap: normal; word-break: normal; }

/* 자세히 읽기 */
.more { margin-top: 4px; }
.more summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--mono); color: var(--muted); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 12px; }
.more[open] summary::before { content: "−"; }
.more-body { margin-top: 12px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; color: var(--text-3); }
.more-body b { display: inline-block; font-weight: 700; color: var(--ink); background: linear-gradient(transparent 55%, var(--hl) 55%); margin-right: 4px; }
.more-body .rel a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; margin-right: 8px; }

/* ---------- 인포그래픽 블록 ---------- */
.block { padding-top: 96px; display: flex; flex-direction: column; gap: 28px; }
.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.nums-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.num { border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.num-label { font: 400 12px var(--mono); letter-spacing: .04em; }
.num-val { font: 700 64px/1 var(--head); letter-spacing: -.04em; }
.nums-4 .num-val { font-size: 56px; }
.num-val small { font-size: 28px; letter-spacing: -.02em; margin-left: 2px; }
.nums-4 .num-val small { font-size: 24px; }
.num-val-txt { font-size: 36px !important; line-height: 1.15; }
.num-desc { font-size: 15px; margin-top: auto; }
.num-hl { background: var(--hl); }
.num-hl .num-desc { font-weight: 500; }
.num-white { background: var(--surface); border: 1px solid var(--line); }
.num-white .num-label { color: var(--muted); }
.num-white .num-desc { color: var(--text-3); }
.num-ink { background: var(--ink); color: #fff; }
.num-ink .num-label { color: #B9BAC1; }
.num-ink .num-val { color: var(--hl); }
.num-ink .num-desc { color: #D5D6DB; }
.duo { display: flex; flex-wrap: wrap; gap: 16px; }
.duo > :first-child { flex: 999 1 520px; }
.duo > :last-child { flex: 1 1 340px; }
.bars { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: flex; align-items: center; gap: 16px; }
.bar-label { flex: 0 0 96px; font-size: 14px; color: #24252A; }
.bar-track { flex: 1 1 auto; height: 28px; border-radius: 6px; background: var(--track); overflow: hidden; }
.bar { height: 100%; border-radius: 6px; background: var(--ink); min-width: 0; }
.bar-max { background: var(--hl); box-shadow: inset 0 0 0 1.5px var(--ink); }
.bar-pct { flex: 0 0 40px; text-align: right; font: 400 13px var(--mono); color: #24252A; }
.tl { display: flex; flex-direction: column; border-left: 2px solid var(--ink); margin-left: 6px; }
.tl-item { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; margin-left: -7px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; margin-top: 3px; border: 2px solid var(--ink); background: var(--surface); }
.tl-dot.on { background: var(--hl); }
.tl-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.45; color: #24252A; }
.tl-item:hover .tl-txt > span:last-child { text-decoration: underline; }

/* ---------- 피드 + 사이드 ---------- */
.feed-wrap { padding-top: 80px; display: flex; flex-wrap: wrap; gap: 48px; }
.feed { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 18px; border-radius: 20px; font-size: 14px; font-weight: 500; cursor: pointer; background: transparent; color: var(--text-3); border: 1px solid var(--line-2); }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-hl.on { background: var(--hl); color: var(--ink); }
.list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row-meta { flex: 0 0 120px; display: flex; flex-direction: column; gap: 4px; font: 400 13px var(--mono); color: var(--muted); }
.tag { align-self: flex-start; background: var(--hl); color: var(--ink); font: 500 13px var(--mono); padding: 0 6px; border-radius: 3px; }
.row-body { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.row-body h3 { font: 600 21px/1.4 var(--head); letter-spacing: -.015em; }
.row-body > p { font-size: 15px; color: var(--text-2); }
.row-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.src { font-size: 13px; color: var(--muted); margin-left: 4px; }
@media (max-width: 560px) { .row-meta { flex-direction: row; align-items: center; gap: 10px; flex-basis: 100%; } .row { gap: 12px; } }

.side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.side-title { font: 700 18px var(--head); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--ink); }
.rank { display: flex; gap: 16px; padding: 12px 0; color: var(--ink); }
.rank:hover { color: var(--ink); }
.rank-n { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; font: 700 22px/1.3 var(--head); color: #8A8B90; }
.rank-n.on { background: var(--hl); color: var(--ink); }
.rank .story-title { font-size: 15px; font-weight: 500; line-height: 1.5; padding-top: 3px; }
.term { border-radius: 16px; background: var(--term); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.term .mono-s { color: var(--term-ink); letter-spacing: .04em; }
.term h3 { font: 700 22px var(--head); letter-spacing: -.02em; }
.term p { font-size: 14px; color: #33363F; }
.sub-box { border-radius: 16px; background: var(--ink); color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.sub-box h3 { font: 700 22px/1.35 var(--head); letter-spacing: -.02em; }
.sub-box p { font-size: 14px; color: #B9BAC1; }
.rss-row { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.rss-row input { height: 48px; border-radius: 10px; border: 1px solid #3A3B42; background: #1C1D21; color: #fff; padding: 0 14px; font: 400 13px var(--mono); outline: none; }

/* ---------- 하위 페이지 공통 ---------- */
.page { padding-top: 56px; display: flex; flex-direction: column; gap: 28px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ph-copy { display: flex; flex-direction: column; gap: 10px; }

/* 뉴스 */
.search { display: flex; flex-direction: column; gap: 6px; flex: 0 1 360px; min-width: 240px; }
.search label { font-size: 13px; color: var(--text-2); }
.search input { height: 48px; border-radius: 24px; border: 1px solid var(--line-2); background: var(--surface); padding: 0 20px; font-size: 15px; color: var(--ink); outline: none; }
.search input:focus { border-color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.filters .chip { padding: 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.ncard { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.thumb { height: 160px; padding: 16px; background-size: 16px 16px; }
.thumb .tv-word { font-size: 52px; }
.thumb .tv-meta { font-size: 11px; }
.ncard-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.ncard-meta { display: flex; align-items: center; gap: 10px; font: 400 12px var(--mono); color: var(--muted); }
.ncard-meta .tag { font-size: 12px; }
.ncard h2 { font: 600 19px/1.45 var(--head); letter-spacing: -.015em; }
.ncard p { font-size: 14px; color: var(--text-2); }
.ncard-foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 10px; }
.ncard .btn-sm { padding: 0 12px; }
.empty { color: var(--muted); padding: 24px 0; }
.pager { display: flex; justify-content: center; gap: 6px; padding-top: 16px; }
.pager button { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; color: var(--ink); font-size: 15px; }
.pager button[aria-current="page"] { border-color: var(--ink); background: var(--hl); font-weight: 700; }
.pager button:disabled { color: var(--faint); cursor: default; }

/* 인포그래픽 */
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.seg button { height: 40px; padding: 0 18px; border-radius: 20px; border: none; font-size: 14px; font-weight: 500; cursor: pointer; background: transparent; color: var(--text-3); }
.seg button.on { background: var(--ink); color: #fff; }
.period { display: flex; flex-direction: column; gap: 16px; }
.chart { height: 240px; display: flex; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--ink); padding-top: 24px; }
.col { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.col .mono-s { color: #24252A; }
.colbar { width: 100%; max-width: 56px; border-radius: 6px 6px 0 0; background: var(--ink); }
.colbar.on { background: var(--hl); box-shadow: inset 0 0 0 1.5px var(--ink); }
.chart-x { display: flex; gap: 12px; }
.chart-x span { flex: 1 1 0; text-align: center; font: 400 12px var(--mono); color: var(--muted); }
.stack { display: flex; height: 36px; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--ink); }
.stack > div + div { border-left: 1.5px solid var(--ink); }
.legend { display: flex; flex-direction: column; gap: 10px; }
.legend > div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sw { width: 14px; height: 14px; flex: 0 0 14px; border-radius: 4px; border: 1.5px solid var(--ink); }
.lg-l { flex: 1 1 auto; color: #24252A; }
.legend .mono-s { font-size: 13px; color: #24252A; }
.card-ink { border-radius: 16px; background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.card-ink h2 { font: 700 18px var(--head); }
.card-ink .mono-s { color: #B9BAC1; }
.kw-cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 20px; }
.kw-cloud a { font-family: var(--head); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; color: #B9BAC1; }
.kw-cloud a.kw-hi { color: #fff; }
.kw-cloud a.kw-top { background: var(--hl); color: var(--ink); padding: 0 8px; border-radius: 4px; }
.kw-cloud a:hover { color: var(--hl); }
.kw-cloud a.kw-top:hover { color: var(--ink); }

/* 지난 브리핑 */
.month-nav { display: flex; align-items: center; gap: 8px; }
.month-nav span { font: 700 18px var(--head); min-width: 120px; text-align: center; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.day { border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-height: 300px; background: var(--surface); border: 1px solid var(--line); }
.day-hl { background: var(--hl); border-color: var(--ink); }
.day-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.day-top > div { display: flex; align-items: baseline; gap: 8px; }
.day-n { font: 700 40px/1 var(--head); letter-spacing: -.04em; }
.day-w { font-size: 14px; color: var(--text-2); }
.day .mono-s { color: var(--text-2); }
.day ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.day li { font-size: 14px; line-height: 1.5; padding-top: 8px; border-top: 1px solid rgba(17,18,20,.12); }
.day .btn { margin-top: auto; }

/* ---------- 푸터 ---------- */
.ftr { margin-top: 120px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.ftr-in { padding-top: 40px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.ftr-brand { display: flex; flex-direction: column; gap: 8px; }
.ftr-brand strong { font: 700 17px var(--head); color: var(--ink); }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-start; }
.ftr nav a { color: var(--muted); }
.ftr nav a:hover { color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(16px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; opacity: 0; transition: .2s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%); }
@media print { .hdr, .side, .ftr, .res, .chips { display: none; } }
