/* WEITER-inspired · Tistory skin · monochrome editorial design */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #181818;
  --text: #292929;
  --muted: #797979;
  --quiet: #a0a0a0;
  --line: #e9e9e9;
  --card: #fafafa;
  --surface: #f6f6f6;
  --radius: 14px;
  --font: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', Arial, sans-serif;
  --brand-font: 'Manrope', 'Pretendard Variable', 'Pretendard', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth;background:var(--paper)}
body {margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.75 var(--font);-webkit-font-smoothing:antialiased;word-break:keep-all;overflow-wrap:break-word}
a {color:inherit;text-decoration:none} a:hover {color:var(--muted)}
img,video {max-width:100%;height:auto}
button,input,textarea {font:inherit;color:inherit}
button {cursor:pointer}
:focus-visible {outline:2px solid #333;outline-offset:3px}
.skip-link,.sr-only {position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;white-space:nowrap}
.skip-link:focus {position:fixed;z-index:1000;clip:auto;top:10px;left:10px;width:auto;height:auto;padding:10px 16px;background:#fff;border:2px solid #111}
.site-shell {width:min(1180px,calc(100% - 96px));margin:0 auto}
/* Logo + quiet navigation: no intro, no hero */
.site-header {height:96px;display:flex;justify-content:space-between;align-items:center;gap:26px;border-bottom:1px solid var(--line)}
.site-brand {min-width:0;display:inline-flex;align-items:center;gap:12px;font-family:var(--brand-font);font-weight:800;font-size:21px;line-height:1.35;letter-spacing:-.045em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-brand > span:last-child {overflow:hidden;text-overflow:ellipsis}
.brand-square {display:inline-block;flex:none;width:27px;height:27px;background:var(--ink);border-radius:7px;position:relative}
.brand-square::after {content:'';display:block;width:9px;height:9px;position:absolute;left:9px;top:9px;background:#fff;border-radius:2px}
.site-nav {display:flex;align-items:center;gap:34px;color:#555;font-size:14px;font-weight:550}
.site-nav a {white-space:nowrap;transition:color .2s}.site-nav a:hover {color:#000}
.site-nav .nav-outline {border:1px solid #dfdfdf;color:#222;padding:10px 15px;border-radius:9px;font-weight:650}
.site-nav .nav-outline:hover {background:#f7f7f7;border-color:#bbb}
.nav-outline span {font-size:14px;padding-left:7px}
/* Main layout */
.layout {display:grid;grid-template-columns:minmax(0,1fr) 250px;column-gap:76px;align-items:start;padding:64px 0 104px}
.main-feed {min-width:0}
.list-heading {display:flex;align-items:end;justify-content:space-between;gap:14px;padding:0 0 30px;border-bottom:1px solid var(--line)}
.eyebrow {display:block;font-family:var(--brand-font);font-size:11px;font-weight:800;letter-spacing:.14em;color:#838383;margin-bottom:13px}
.list-heading h1 {font-size:clamp(29px,3.6vw,43px);font-weight:760;line-height:1.2;letter-spacing:-.055em;margin:0}
.heading-dot {color:#777}
.list-count {font-family:var(--brand-font);font-size:12px;font-weight:700;color:#979797;white-space:nowrap;padding-bottom:3px}
.archive-list {margin:0}
.entry-card {padding:34px 0 38px;border-bottom:1px solid var(--line);position:relative}
.entry-meta {display:flex;gap:13px;align-items:center;flex-wrap:wrap;color:#909090;font-size:12px;font-weight:500}
.category-pill {display:inline-flex;align-items:center;max-width:100%;padding:4px 11px;border-radius:6px;background:#f4f4f4;color:#555;font-weight:650;font-size:11px;line-height:1.65}
a.category-pill:hover {background:#eaeaea;color:#222}
.entry-card h2 {font-size:clamp(22px,2.3vw,26px);letter-spacing:-.044em;font-weight:700;line-height:1.45;margin:15px 0 10px;transition:color .2s}
.entry-card .entry-link:hover h2 {color:#646464}
.entry-summary {max-width:690px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#737373;font-size:14px;line-height:1.85;margin:0 0 17px}
.read-more {display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#262626}
.read-more span {transition:transform .2s}.read-more:hover span {transform:translate(2px,-2px)}
.empty-note {color:var(--muted);font-size:14px;padding:36px 0}
/* Sidebar inspired by compact monochrome product UI */
.sidebar {padding-top:10px}
.sidebar-inner {display:flex;flex-direction:column;gap:16px}
.side-block {background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px 22px 24px;min-width:0}
.small-label {display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:-.02em;margin:0 0 17px}
.small-label span {font-size:13px;font-weight:400;color:#b0b0b0}
.category-tree ul {list-style:none;padding:0;margin:0}
.category-tree li {margin:0;color:#686868;font-size:13px;line-height:1.8}
.category-tree li + li {margin-top:8px}
.category-tree li ul {padding:5px 0 0 12px}
.category-tree a {display:inline-block;transition:color .15s}.category-tree a:hover {color:#000}
.category-tree .c_cnt {margin-left:4px;font-size:11px;color:#aaa}
.side-recent {list-style:none;padding:0;margin:0}
.side-recent li {font-size:12px;line-height:1.65;color:#666;margin:0 0 13px}
.side-recent li:last-child {margin-bottom:0}
.search-wrap {height:43px;border:1px solid #e3e3e3;border-radius:8px;display:flex;align-items:stretch;overflow:hidden;background:#fafafa}
.search-wrap:focus-within {border-color:#aaa;background:#fff}
.search-wrap input {width:100%;min-width:0;padding:0 11px;background:transparent;outline:0;border:0;font-size:12px}
.search-wrap input::placeholder {color:#aaa}
.search-wrap button {border:0;background:transparent;min-width:40px;font-size:24px;color:#555;line-height:1}
/* Article detail */
.post-sheet {padding:0 0 26px}
.post-header {padding:0 0 30px;border-bottom:1px solid var(--line);margin-bottom:42px}
.post-kicker {display:flex;align-items:center;gap:16px;color:#959595;font-size:12px;margin:0 0 16px}
.post-header h1 {font-size:clamp(30px,4vw,43px);letter-spacing:-.055em;font-weight:780;line-height:1.38;margin:0}
.post-subtitle {font-size:12px;color:#888;margin:17px 0 0}
.entry-content {font-size:16px;line-height:1.95;letter-spacing:-.012em;color:#393939;overflow-wrap:anywhere}
.entry-content p {margin:0 0 1.3em}
.entry-content h2,.entry-content h3,.entry-content h4 {color:#151515;line-height:1.45;letter-spacing:-.035em;font-weight:730;scroll-margin-top:32px}
.entry-content h2 {font-size:27px;margin:2.1em 0 .75em}
.entry-content h3 {font-size:22px;margin:1.8em 0 .7em}
.entry-content h4 {font-size:18px;margin:1.6em 0 .65em}
.entry-content ul,.entry-content ol {padding-left:1.5em;margin:0 0 1.35em}
.entry-content li {margin:5px 0}
.entry-content a {color:#2353a0;text-decoration:underline;text-decoration-color:#c3d1e4;text-underline-offset:3px}
.entry-content figure {margin:30px 0}.entry-content figcaption {color:#888;font-size:12px;text-align:center}
.entry-content img {border-radius:8px}
.entry-content blockquote {margin:28px 0;padding:20px 24px;background:#f8f8f8;border-left:3px solid #222;border-radius:0 8px 8px 0;color:#5a5a5a}
.entry-content blockquote p:last-child {margin-bottom:0}
.entry-content hr {border:0;border-top:1px solid #e7e7e7;margin:40px 0}
.entry-content code,.entry-content pre,.entry-content samp,.entry-content kbd {font:13px/1.75 var(--mono);word-break:normal}
.entry-content code {background:#f5f5f5;border-radius:4px;padding:3px 5px}
.entry-content pre {background:#f7f7f7;border:1px solid #e6e6e6;border-radius:10px;overflow:auto;padding:19px 21px;white-space:pre}
.entry-content pre code {background:none;padding:0}
.entry-content table {display:block;overflow-x:auto;border-collapse:collapse;width:100%;font-size:14px}
.entry-content th,.entry-content td {border-bottom:1px solid #e8e8e8;text-align:left;padding:11px 12px}
.entry-content th {background:#fafafa;color:#252525}
.entry-content .imageblock,.entry-content .imagegridblock,.entry-content .image-container {max-width:100%}
.entry-content iframe {max-width:100%}
/* Tags/comments/guestbook */
.tags-area {display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:35px 0 0;border-top:1px solid var(--line);padding-top:22px;font-size:12px}
.tags-area .label-hand {font-weight:700;margin-right:10px;color:#666}
.tags-area a {background:#f7f7f7;color:#666;border-radius:6px;padding:4px 8px}
.admin-links {display:flex;gap:14px;justify-content:flex-end;padding:20px 0;font-size:12px;color:#888}
.comment-section {padding:29px 0 0;margin-top:28px;border-top:1px solid var(--line)}
.comment-section>h2 {font-size:19px;font-weight:730;letter-spacing:-.03em;margin:0 0 21px}
.comment-list,.reply-list {list-style:none;margin:0;padding:0}
.comment-item {border-bottom:1px solid var(--line);padding:19px 0}
.comment-meta {display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:13px}.comment-meta time {color:#999;font-size:12px}
.comment-text {margin:10px 0;font-size:14px;line-height:1.8;color:#555}
.comment-actions {display:flex;gap:18px;color:#858585;font-size:12px}
.reply-list {margin:18px 0 0 19px;padding-left:17px;border-left:2px solid #e7e7e7}
.comment-form {background:#fafafa;padding:24px;border:1px solid #eaeaea;border-radius:12px;margin-top:25px}
.comment-form h3 {font-size:15px;margin:0 0 16px;font-weight:730}
.comment-form input,.comment-form textarea,.protected-form input {width:100%;border:1px solid #e0e0e0;border-radius:8px;background:#fff;padding:11px 12px;font-size:13px;outline:0}
.comment-form input:focus,.comment-form textarea:focus {border-color:#888}
.comment-form textarea {display:block;min-height:125px;resize:vertical;margin:14px 0}
.comment-form button,.protected-form button {background:#181818;color:#fff;border:1px solid #181818;border-radius:8px;padding:11px 17px;font-weight:700;font-size:13px}
.comment-form button:hover,.protected-form button:hover {background:#333}
.field-row {display:flex;gap:12px}
.field-row label {flex:1;min-width:0;font-size:12px;color:#666}
.hidden-field {display:block;margin:13px 0;font-size:12px;color:#666}
.check-field {display:flex;align-items:center;gap:8px;font-size:12px}
.check-field input {width:auto}
.protected-form {display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.protected-form label {font-size:13px}
.tag-cloud {display:flex;flex-wrap:wrap;gap:10px}
.tag-cloud a {padding:7px 12px;border:1px solid #e7e7e7;background:#fafafa;border-radius:7px;font-size:13px}
.tag-cloud a:hover {border-color:#aaa}
.pagination {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:40px 0;color:#777;font-size:13px}
.pagination .page-nums {display:flex;gap:7px;align-items:center}
.pagination .page-nums a {padding:6px 11px;border-radius:7px;min-width:31px;text-align:center}
.pagination .page-nums .selected {background:#181818;color:#fff;font-weight:700}
.pagination .no-more-prev,.pagination .no-more-next {pointer-events:none;opacity:.3}
.site-footer {border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px;padding:25px 0 47px;color:#979797;font-size:12px}
.site-footer p {margin:0}.site-footer div {display:flex;gap:21px}
/* Responsive */
@media (max-width:1020px) {.layout {column-gap:36px;grid-template-columns:minmax(0,1fr) 230px}.site-shell {width:calc(100% - 64px)}}
@media (max-width:760px) {
  .site-shell {width:calc(100% - 40px)}
  .site-header {height:auto;min-height:80px;flex-direction:column;align-items:flex-start;gap:17px;padding:21px 0}
  .site-brand {font-size:19px}.brand-square {width:23px;height:23px;border-radius:6px}.brand-square:after {left:8px;top:8px;width:7px;height:7px}
  .site-nav {gap:24px;flex-wrap:wrap;font-size:13px}.site-nav .nav-outline {padding:7px 11px}
  .layout {display:flex;flex-direction:column;gap:54px;padding:43px 0 64px}
  .main-feed,.sidebar {width:100%}
  .list-heading {padding-bottom:24px}.list-heading h1 {font-size:34px}
  .entry-card {padding:30px 0 32px}.entry-card h2 {font-size:23px}
  .sidebar {padding:0}.sidebar-inner {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .side-block {padding:20px}
  .post-header {padding-bottom:25px;margin-bottom:32px}.post-header h1 {font-size:32px}
  .entry-content {font-size:15px}.entry-content h2 {font-size:24px}.entry-content h3 {font-size:20px}
}
@media (max-width:510px) {
  .site-shell {width:calc(100% - 36px)}
  .site-nav {gap:17px}.site-nav .nav-outline span {display:none}
  .layout {padding-top:36px}
  .list-heading h1 {font-size:31px}
  .entry-card h2 {font-size:21px}
  .sidebar-inner {grid-template-columns:1fr}
  .field-row {flex-direction:column}
  .comment-form {padding:16px}
  .post-header h1 {font-size:29px}
  .site-footer {flex-direction:column;align-items:flex-start}
  .pagination .page-nums {gap:0}.pagination .page-nums a {padding:5px 8px;min-width:26px}
}
@media (prefers-reduced-motion:reduce) {html {scroll-behavior:auto}*,*::before,*::after {transition:none!important;animation:none!important}}
