/* news.dawntown.studio 공개 글 모음: 허브와 같은 결 (Pretendard, 파랑 포인트, 밝은·어두운 테마). 한 파일, 프레임워크 없음 */
:root { --paper: #f2f4f6; --sheet: #fff; --ink: #191f28; --ink-2: #333d4b; --muted: #6b7684; --faint: #8b95a1; --line: #e5e8eb; --hover: #f2f4f6;
  --accent: #3182f6; --accent-ink: #1b64da; --accent-weak: #e8f3ff; --r: 16px; --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", sans-serif; }
@media (prefers-color-scheme: dark) { :root { --paper: #17171c; --sheet: #202027; --ink: #f9fafb; --ink-2: #d1d6db; --muted: #9aa3ad; --faint: #6b7684; --line: #2c2c35; --hover: #26262e; --accent-weak: #1c2a44; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.7 var(--font); letter-spacing: -0.011em; color: var(--ink); background: var(--paper); word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--accent-ink); text-decoration: none; } a:hover { text-decoration: underline; }
img, iframe, video { max-width: 100%; }
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 16px 0 20px; background: var(--sheet); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.brand img { width: 26px; height: 26px; }
.brand:hover { text-decoration: none; }
.langs { display: flex; gap: 2px; margin-left: auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.langs::-webkit-scrollbar { display: none; }
.langs a { flex-shrink: 0; padding: 6px 10px; font-size: 13px; font-weight: 600; color: var(--muted); border-radius: 8px; white-space: nowrap; }
.langs a[aria-current] { color: var(--ink); background: var(--hover); }
.langs a:hover { color: var(--ink); text-decoration: none; }
.wrap { max-width: 720px; margin: 0 auto; padding: 28px 20px 80px; }
.list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.card { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; padding: 18px 20px; background: var(--sheet); border-radius: var(--r); color: inherit; }
.card:hover { text-decoration: none; background: var(--hover); }
.card h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.4; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card time { display: block; margin-top: 10px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.card img { width: 112px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--hover); }
.card.noimg { grid-template-columns: 1fr; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }
article { padding: 28px 24px 36px; background: var(--sheet); border-radius: var(--r); }
article h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.3; letter-spacing: -0.03em; }
article .meta { margin: 0 0 24px; font-size: 13px; color: var(--faint); }
article .meta .note { margin-left: 8px; padding: 2px 8px; font-size: 12px; color: var(--accent-ink); background: var(--accent-weak); border-radius: 6px; }
.body { font-size: 16.5px; }
.body h2 { margin: 36px 0 12px; font-size: 22px; letter-spacing: -0.02em; } .body h3 { margin: 28px 0 10px; font-size: 18px; }
.body p { margin: 0 0 16px; } .body ul, .body ol { margin: 0 0 16px; padding-left: 24px; } .body li { margin: 4px 0; }
.body blockquote { margin: 20px 0; padding: 4px 18px; color: var(--ink-2); border-left: 3px solid var(--accent); }
.body img { display: block; margin: 20px auto; border-radius: 12px; }
.body figure { margin: 20px 0; } .body figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); text-align: center; }
.body hr { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
.body .yt { position: relative; margin: 20px 0; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.body .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.body a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.body pre, .body table { max-width: 100%; overflow-x: auto; display: block; }
.back { display: inline-block; margin-top: 24px; font-size: 14px; color: var(--muted); }
footer { margin-top: 48px; font-size: 13px; color: var(--faint); text-align: center; }
@media (max-width: 480px) { .brand span { display: none; } .card { grid-template-columns: minmax(0, 1fr) 84px; padding: 16px; } .card img { width: 84px; height: 64px; } article { padding: 22px 18px 28px; } article h1 { font-size: 24px; } .body { font-size: 16px; } .wrap { padding: 16px 12px 60px; } }
@media (max-width: 360px) { .card { grid-template-columns: 1fr; } .card img { width: 100%; height: 140px; } }

/* 반응(좋아요) */
.react { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.react-title { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.react-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.react-btns button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: transform .08s; }
.react-btns button:active { transform: scale(.96); }
.react-btns button b { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.react-btns button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent-weak); border-color: transparent; } .react-btns button[aria-pressed="true"] b { color: var(--accent-ink); }
.react-note, .react-off { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); } .react-off { color: #b45309; }
.legal h2 { font-size: 17px; margin: 24px 0 6px; } .legal p { font-size: 15px; color: var(--ink-2); }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; padding: 0 16px; line-height: 1.6; }
footer a { color: var(--muted); } footer a:hover { color: var(--ink); }
