:root {
  --bg: #f7f6f3;
  --paper: #ffffff;
  --ink: #1b1c1f;
  --ink-2: #44474d;
  --text: #2e3035;
  --post-bg: #ffffff; --post-line: #e3e1dc;
  --muted: #74777e;
  --line: #e3e1dc;
  --accent: #0a7480;
  --accent-bg: #e6f4f5;
  --hd: #0c0d0f;
  --hd-ink: #f3f5f8;
  --hd-muted: #9aa0a8;
  --code: #f0eee9;
  --lime: #dcf9a1; --sky: #70e2ee; --amber: #fed373;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214; --paper: #17181b; --ink: #e8e9ec; --ink-2: #c3c6cc; --muted: #959aa2; --text: #b9b9b9;
    --line: #2a2c31; --accent: #70e2ee; --accent-bg: #16292c; --code: #1f2125;
    --post-bg: #202228; --post-line: #34383f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.7 "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.list.wrap, .archive.wrap, .search.wrap { max-width: 920px; }
.wrap.list, .wrap.archive, .wrap.search, .wrap.guestbook {
  --line: var(--post-line);
  background: var(--post-bg); border: 1px solid var(--post-line); border-radius: 12px; padding: 0 40px 40px; margin-top: 28px;
}
.wrap.list, .wrap.archive, .wrap.search { max-width: 962px; }
.wrap.guestbook { max-width: 802px; }
@media (max-width: 640px) {
  .wrap.list, .wrap.archive, .wrap.search, .wrap.guestbook { border-radius: 0; border-left: 0; border-right: 0; padding: 0 16px 28px; margin-top: 0; }
}
.hd { background: var(--hd); color: var(--hd-ink); }
.hd-in { max-width: 1120px; margin: 0 auto; padding: 18px 20px 10px; display: flex; align-items: center; gap: 20px; }
.brand { color: var(--hd-ink); display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand b { font-family: Archivo, sans-serif; font-stretch: 112%; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.brand span { font-size: 13px; color: var(--hd-muted); margin-top: 2px; }
.brand b::before { content: ""; display: inline-block; width: 18px; height: 12px; margin-right: 9px; vertical-align: 2px;
  background: linear-gradient(var(--lime) 0 3px, transparent 3px 4.5px, var(--sky) 4.5px 7.5px, transparent 7.5px 9px, var(--amber) 9px 12px); }
.hd-search { display: flex; }
.hd-search input {
  width: 200px; height: 36px; border-radius: 18px 0 0 18px; border: 1px solid #33363c; border-right: 0; background: #1a1c20; color: var(--hd-ink);
  padding: 0 12px 0 14px; font: inherit; font-size: 14px;
}
.hd-search input::placeholder { color: #80858d; }
.hd-search input:focus { outline: none; border-color: var(--sky); }
.hd-search button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 12px; border: 1px solid #33363c; border-radius: 0 18px 18px 0;
  background: #2a2d33; color: var(--hd-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.hd-search button:hover, .hd-search button:focus-visible { background: #34383f; border-color: var(--sky); }
.hd-search button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.gnb { position: relative; }
.gnb-in { max-width: 1120px; margin: 0 auto; padding: 0 12px; display: flex; overflow-x: auto; scrollbar-width: none; }
.gnb-in::-webkit-scrollbar { display: none; }
.gnb-in { align-items: center; gap: 2px; }
.gnb a { color: #c9ccd2; white-space: nowrap; padding: 10px 12px 12px; font-size: 14px; font-weight: 500; border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0; }
.gnb a:hover { text-decoration: none; }
@media (hover: hover) { .gnb a:hover { color: #fff; background: #1c1f25; } }
.gnb-sep { flex: none; width: 1px; height: 14px; margin: 0 8px 2px; background: #3d4048; }
@media (max-width: 640px) { .gnb a { padding: 10px 10px 12px; } .gnb-sep { margin: 0 4px 2px; } }
.gnb a:nth-of-type(3n+1) { --ul: var(--lime); }
.gnb a:nth-of-type(3n+2) { --ul: var(--sky); }
.gnb a:nth-of-type(3n) { --ul: var(--amber); }
.gnb a[aria-current] { color: #fff; border-bottom-color: var(--ul, var(--sky)); }
.gnb-arrow { position: absolute; top: 0; bottom: 2px; z-index: 2; width: 56px; display: flex; align-items: center; border: 0; padding: 0 6px; margin: 0;
  background: none; color: var(--hd-ink); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; -webkit-tap-highlight-color: transparent; }
.gnb-arrow.r { right: 0; justify-content: flex-end; background: linear-gradient(90deg, rgb(12 13 15 / 0), var(--hd) 60%); }
.gnb-arrow.l { left: 0; justify-content: flex-start; background: linear-gradient(270deg, rgb(12 13 15 / 0), var(--hd) 60%); }
.gnb-arrow span { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #2a2d33; border: 1px solid #44484f; }
.gnb-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gnb-arrow:hover span { border-color: var(--sky); color: var(--sky); }
.gnb.more-r .gnb-arrow.r, .gnb.more-l .gnb-arrow.l { opacity: 1; visibility: visible; }
@media (max-width: 640px) {
  .hd-in { padding: 14px 16px 6px; }
  .hd-search input { display: none; }
  .hd-search button { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
  .hd-search button span { display: none; }
  .brand b { font-size: 19px; }
  .wrap { padding: 0 16px; }
}
.intro { padding: 56px 0 28px; }
.eyebrow { font-family: Archivo, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--muted); margin: 0 0 8px; }
.intro h1 { font-family: Archivo, sans-serif; font-stretch: 115%; font-weight: 800; font-size: 44px; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.intro p:last-child { color: var(--ink-2); margin: 0; font-size: 17px; }
.list-hd { padding: 44px 0 20px; }
.list-hd h1 { font-size: 32px; line-height: 1.25; margin: 4px 0 6px; font-weight: 800; }
.list-hd > p { color: var(--muted); margin: 0; }
.trail { font-size: 13px; color: var(--muted); margin: 0; }
.trail .sep { margin: 0 4px; opacity: .6; }
.rss-box { border: 1px solid var(--post-line); border-radius: 10px; padding: 22px 22px 18px; margin: 4px 0 36px; background: var(--bg); }
.rss-box label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.rss-url { display: flex; gap: 8px; }
.rss-url input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--post-line); border-radius: 8px; background: var(--post-bg); color: var(--ink); font: 15px/1 ui-monospace, Consolas, monospace; }
.rss-copy { flex: none; min-width: 84px; height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--accent); color: var(--paper); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
@media (prefers-color-scheme: dark) { .rss-copy { color: #0b0c0e; } }
.rss-copy.ok { background: var(--ink-2); }
.rss-go { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.rss-go a { border: 1px solid var(--post-line); background: var(--post-bg); color: var(--ink-2); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.rss-go a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.rss-go a.rss-raw { color: var(--muted); }
.rss-how { margin: 16px 0 0; padding-left: 1.4em; color: var(--text); font-size: 15px; line-height: 1.9; }
.rss-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.rss-recent { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
@media (max-width: 640px) { .rss-box { padding: 18px 16px 14px; } .rss-copy { min-width: 72px; padding: 0 12px; } }
.sub-page .rss-url input { font-family: inherit; font-size: 16px; }
.sub-page .rss-copy:disabled { opacity: .6; cursor: default; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sub-msg { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; font-size: 14px; line-height: 1.7; background: var(--accent-bg); color: var(--ink); }
.sub-msg.err { background: rgba(214, 69, 65, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.chips a span { color: var(--muted); font-size: 12px; margin-left: 2px; }
.chips a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.cards { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.card a { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); color: inherit; }
.card a:hover { text-decoration: none; }
.card a:hover b { color: var(--accent); }
.th { flex: none; align-self: flex-start; width: 148px; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: var(--code); }
.th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .rank { flex: none; min-width: 34px; white-space: nowrap; word-break: keep-all; align-self: flex-start; padding-top: 4px; font-family: Archivo, sans-serif; font-stretch: 112%; font-weight: 800; font-size: 26px; line-height: 1; color: var(--muted); text-align: center; }
.card:nth-child(-n+3) .rank { color: var(--accent); }
@media (max-width: 640px) { .card .rank { min-width: 26px; font-size: 19px; } .card.ranked a { gap: 10px; } }
.th.none { display: flex; align-items: flex-end; padding: 10px; background: linear-gradient(135deg, var(--code), var(--line)); }
.th.none i { font-style: normal; font-family: Archivo, sans-serif; font-weight: 700; font-size: 13px; color: var(--muted); }
.tx { display: flex; flex-direction: column; min-width: 0; }
.tx b { font-size: 18px; line-height: 1.4; font-weight: 700; }
.ex { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); margin-top: 8px; }
.meta .cat { color: var(--accent); }
@media (max-width: 640px) {
  .intro { padding: 36px 0 20px; }
  .intro h1 { font-size: 32px; }
  .list-hd { padding: 32px 0 16px; }
  .list-hd h1 { font-size: 26px; }
  .card a { gap: 14px; padding: 16px 0; }
  .th { order: 0; width: 92px; aspect-ratio: 1 / 1; border-radius: 6px; }
  .tx { flex: 1; min-width: 0; }
  .tx b { font-size: 16px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ex { font-size: 13.5px; }
  .th.none { padding: 6px; }
}
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 32px 0 8px; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 19px; font-size: 14px; color: var(--ink-2); }
.pager a:hover { background: var(--paper); text-decoration: none; }
.pager span[aria-current] { background: var(--ink); color: var(--bg); font-weight: 700; }
.post.wrap { max-width: 840px; }
.post-panel { --line: var(--post-line); background: var(--post-bg); border: 1px solid var(--post-line); border-radius: 12px; padding: 4px 40px 36px; margin-top: 28px; }
.post-panel .post-hd { padding-top: 32px; border-bottom-color: var(--post-line); }
.post-panel { position: relative; }
.post-panel .post-tools { position: absolute; top: 18px; right: 18px; display: flex; gap: 6px; }
.post-panel .post-edit { margin: 0; }
button.post-del { background: none; font: inherit; font-size: 13px; font-weight: 700; color: #e5484d; cursor: pointer; }
button.post-del:hover, button.post-del:focus-visible { border-color: #e5484d; background: rgb(229 72 77 / .1); }
button.post-del:disabled { opacity: .5; cursor: default; }
.post-tools[hidden] { display: none !important; }
.post-panel .like-bar { margin-top: 36px; }
@media (max-width: 640px) {
  .post-panel { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; padding: 0 16px 28px; }
  .post-panel .post-hd { padding-top: 24px; }
  .post-panel .post-tools { top: 12px; right: 12px; }
}
.post-hd { padding: 48px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.post-hd h1 { font-size: 34px; line-height: 1.32; margin: 8px 0 4px; font-weight: 800; letter-spacing: -.01em; }
@media (max-width: 640px) { .post-hd { padding: 32px 0 20px; margin-bottom: 24px; } .post-hd h1 { font-size: 25px; } }
.content { font-size: 15px; line-height: 2.4; color: var(--text); }
.content h1, .content h2, .content h3, .content h4, .content strong, .content b { color: var(--ink); }
.content p { margin: 0 0 1.1em; }
.content.content-new { font-size: 17.25px; line-height: 1.8; }
.content p.gap { margin: 0; height: .5em; }
.content h1, .content h2, .content h3, .content h4 { line-height: 1.4; margin: 1.8em 0 .6em; }
.content img { display: inline-block; border-radius: 4px; vertical-align: middle; }
.content img[style*="width"][style*="height"] { height: auto !important; }
.content .aligncenter, .content img.aligncenter { display: block; margin: 1em auto; }
.content .alignleft { float: left; margin: .3em 1.2em 1em 0; }
.content .alignright { float: right; margin: .3em 0 1em 1.2em; }
.content center { margin: 0 0 1.1em; }
.content > figure, .content blockquote > figure { margin: 1.4em 0; text-align: center; }
.content > figure > p, .content blockquote > figure > p { margin: 0; }
.content > figure.alignleft, .content > figure.alignright { max-width: 50%; }
.content figure .alignleft, .content figure .alignright { float: none; margin: 0; }
.content figure img.aligncenter { margin: 0 auto; }
.content > figure > figcaption, .content blockquote > figure > figcaption { margin-top: .55em; font-size: .82em; line-height: 1.6; color: var(--muted); text-align: center; word-break: keep-all; }
.content blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.2em; border-left: 3px solid var(--line); color: var(--ink-2); }
.content pre, .content code { font-family: ui-monospace, Consolas, monospace; font-size: 14px; background: var(--code); border-radius: 4px; }
.content code { padding: .1em .35em; }
.content pre { padding: 14px 16px; overflow-x: auto; line-height: 1.6; }
.content table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; margin: 1.2em 0; font-size: 15px; }
.content td, .content th { border: 1px solid var(--line); padding: 6px 10px; }
.content .tbl-wrap { max-width: 100%; overflow-x: auto; margin: 1.6em 0; }
.content table.tbl { display: table; margin: 0 auto; border-collapse: collapse; line-height: 1.5; font-size: 15px; text-align: center; }
.content table.tbl caption { caption-side: top; padding: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.content table.tbl th, .content table.tbl td { border: 1px solid var(--tbl-line); padding: 7px 14px; vertical-align: middle; text-align: center; }
.content table.tbl th { background: var(--tbl-head); color: var(--ink); font-weight: 700; }
.content table.tbl td.aud { padding: 6px 10px; min-width: 260px; }
.content table.tbl td.aud audio { display: block; width: 100%; height: 36px; margin: 0; }
.content table.tbl tr.hl-blue td { background: var(--hl-blue); }
.content table.tbl tr.hl-red td { background: var(--hl-red); }
.content table.tbl tr.hl-green td { background: var(--hl-green); }
:root { --tbl-line: #d6d3cc; --tbl-head: #f2f0eb; --hl-blue: #cbd4e1; --hl-red: #e0bebe; --hl-green: #a2cdb3; }
@media (prefers-color-scheme: dark) { :root { --tbl-line: #3c414b; --tbl-head: #272b34; --hl-blue: #2b3b52; --hl-red: #4a2d33; --hl-green: #26443a; } }
.content table[style*="background"], .content table[bgcolor] {
  display: table; width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; margin: 1.4em 0;
  background: var(--box-bg) !important; border: 1px solid var(--box-line) !important; border-radius: 8px; overflow: hidden; }
.content table[style*="background"] td, .content table[bgcolor] td { border: 0; padding: 14px 18px; background: transparent !important; vertical-align: top; }
.content table[style*="#fdfed7" i] { --box-bg: var(--box-warm); }
:root { --box-bg: #f4f3ef; --box-line: #e0ddd6; --box-warm: #fbf8e4; }
@media (prefers-color-scheme: dark) { :root { --box-bg: #272b34; --box-line: #3a3f4a; --box-warm: #2c2a20; } }
@media (max-width: 640px) { .content table[style*="background"] td, .content table[bgcolor] td { padding: 12px 14px; } }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.content ul, .content ol { padding-left: 1.4em; }
.content::after { content: ""; display: block; clear: both; }
.content .video { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; background: #000; border-radius: 6px; overflow: hidden; }
.content .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.content iframe { max-width: 100%; }
.content .katex { white-space: normal; }
.content .embed iframe { width: 100%; height: 420px; border: 0; border-radius: 6px; margin: 1.2em 0; }
.content audio.player { width: 100%; margin: .6em 0 1em; }
.content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; margin: 1.2em 0; }
.content .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.content .wp-smiley { width: 1.1em; vertical-align: -.15em; }
.tex.display { overflow-x: auto; overflow-y: hidden; margin: 1em 0; padding: 4px 0; text-align: center; }
.tex-raw { font-family: ui-monospace, Consolas, monospace; font-size: 13px; white-space: pre-wrap; text-align: left; background: var(--code); border-radius: 4px; padding: 2px 6px; color: var(--ink-2); }
.tex.display.tex-raw { display: block; padding: 12px 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 36px 0 0; font-size: 13px; color: var(--muted); }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0 0; padding: 24px 0; border-top: 1px solid var(--line); }
.pn a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); min-width: 0; }
.pn a:hover { border-color: var(--accent); text-decoration: none; }
.pn small { color: var(--muted); font-size: 12px; }
.pn span { font-weight: 700; font-size: 15px; line-height: 1.4; }
.pn .next { text-align: right; }
.cat-box { margin: 28px 0 0; padding: 16px 22px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.cat-box-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink-2, var(--line)); }
.cat-box-hd h2 { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.cat-box-hd h2 b { color: var(--accent); }
.cat-box-hd a { flex: none; font-size: 14px; color: var(--muted); }
.cat-box ul { list-style: none; margin: 0; padding: 0; }
.cat-box li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.cat-box li:last-child { border-bottom: 0; }
.cat-box li a { display: flex; min-width: 0; color: var(--text); }
.cat-box li a:hover { color: var(--accent); text-decoration: none; }
.cat-box li .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-box li .cn { flex: none; margin-left: 5px; color: var(--accent); }
.cat-box li.cur a { color: var(--ink); font-weight: 700; }
.cat-box time { flex: none; font-size: 14px; color: var(--muted); }
.cat-box + .pn { margin-top: 24px; }
.to-top-wrap { margin: 36px 0 0; text-align: center; }
.to-top { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700; }
.to-top:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .cat-box { padding: 14px 16px 4px; } .cat-box li { font-size: 14px; gap: 10px; } .cat-box time { font-size: 12.5px; } }
@media (max-width: 640px) { .pn { grid-template-columns: 1fr; } .pn .next { text-align: left; } .content .alignleft, .content .alignright { float: none; display: block; margin: 1em auto; } }
.comments { margin: 16px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.comments h2 { font-size: 20px; margin: 0 0 16px; }
.comments h2 span { color: var(--accent); }
.comments { --c-line: var(--line); }
@media (prefers-color-scheme: dark) { .comments { --c-line: #34383f; } }
.comments ol { list-style: none; margin: 0; padding: 0; }
.comments .c-old, .comments .c-new { display: grid; gap: 12px; }
.comments .c-old + .c-new:not(:empty), .comments .c-new:not(:empty) + .c-old { margin-top: 12px; }
.comments li { padding: 16px 20px 18px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--post-bg); min-width: 0; }
.comments li li { border: 0; border-left: 2px solid var(--c-line); border-radius: 0; background: none; padding: 2px 0 2px 14px; margin: 16px 0 0 2px; }
@media (max-width: 640px) { .comments li { padding: 14px 16px 16px; } .comments li li { padding-left: 12px; } }
.c-hd { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 14px; }
.c-hd b { font-size: 15px; font-weight: 700; color: var(--ink); }
.c-hd time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.c-body { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif; font-size: 14px; line-height: 2.1; letter-spacing: normal;
  color: var(--c-text); margin-top: 6px; word-break: normal; text-align: justify; }
:root { --c-text: var(--text); }
@media (prefers-color-scheme: dark) { :root { --c-text: #b9b9b9; } }
.c-body p { margin: 0 0 .7em; }
.c-body p:last-child { margin: 0; }
.topbar { background: #08090b; }
.tb-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 30px; display: flex; justify-content: flex-end; align-items: center; gap: 6px; font-size: 12px; }
.langs { display: flex; align-items: center; gap: 4px; }
.langs a, .langs span { color: #9aa0a8; padding: 2px 8px; border-radius: 4px; }
.langs a:hover { color: #fff; text-decoration: none; }
.langs span[aria-current] { color: #fff; font-weight: 700; }
.tb-dash { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 7px; border-radius: 11px; color: var(--sky); font-weight: 700;
  border: 1px solid rgb(112 226 238 / .45); }
.tb-dash:hover, .tb-dash:focus-visible { text-decoration: none; background: rgb(112 226 238 / .14); color: #9aeaf3; }
.tb-dash svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.tb-dash[hidden] { display: none !important; }
@media (max-width: 640px) { .tb-in { padding: 0 12px; } }
body.lang-ja { font-family: "Noto Sans JP", "Noto Sans KR", "Hiragino Sans", "Yu Gothic", sans-serif; word-break: normal; }
body.lang-en { word-break: normal; }
.orig-title { margin: 2px 0 6px; font-size: 14px; color: var(--muted); }
.ko-note { margin: -12px 0 28px; padding: 10px 14px; border-radius: 8px; background: var(--accent-bg); font-size: 14px; color: var(--ink-2); }
.tags[lang="ko"] { word-break: keep-all; }
.content { word-break: normal; text-align: justify; }
.content h1, .content h2, .content h3, .content h4, .content table, .content pre { word-break: keep-all; text-align: start; }
.content .url, .c-body .url { word-break: break-all; overflow-wrap: anywhere; }
.hd-admin { color: var(--hd-ink); font-size: 13px; font-weight: 700; border: 1px solid #3a3d44; border-radius: 999px; padding: 4px 12px; }
.hd-admin:hover { text-decoration: none; border-color: var(--sky); }
.post-edit { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; }
.post-state { margin: 24px 0 0; display: inline-block; font-size: 13px; background: #44474d; color: #fff; border-radius: 999px; padding: 3px 12px; }
.tags a { color: var(--muted); }
.meta .lk { color: #e0457b; }
.ft a.rss { color: var(--amber); }
.like-bar { display: flex; justify-content: center; margin: 44px 0 0; }
.like { position: relative; display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.like button { background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; }
.like-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 16px; font-size: 15px; font-weight: 700; }
.like-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; transition: transform .2s; }
.like-btn .like-n { font-family: Archivo, sans-serif; font-weight: 700; min-width: 1ch; }
.like.on .like-btn svg { fill: #ff4f8b; stroke: #ff4f8b; }
.like.on .like-btn { color: #e0457b; }
.like.pop .like-btn svg { animation: likepop .45s ease; }
@keyframes likepop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
.like-more { width: 46px; border-left: 1px solid var(--line) !important; display: inline-flex; align-items: center; justify-content: center; border-radius: 0 999px 999px 0; }
.like-more svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 2; }
.like-btn:hover svg { stroke: #ff4f8b; }
.like-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; min-width: 170px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 6px; box-shadow: 0 8px 24px rgb(0 0 0 / .12); display: flex; flex-direction: column; }
.like-menu button, .like-menu a { text-align: left; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--ink) !important; }
.like-menu button:hover, .like-menu a:hover { background: var(--accent-bg); text-decoration: none; }
.like-menu[hidden], .c-attach[hidden], .c-pop[hidden], .hd-admin[hidden], .post-edit[hidden] { display: none !important; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 50; }
.c-box { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); position: relative; }
.c-box:focus-within { border-color: var(--accent); }
.c-form .c-box textarea { border: 0; border-radius: 10px 10px 0 0; background: transparent; }
.c-form .c-box textarea:focus { outline: none; }
.c-tools { display: flex; flex-wrap: wrap; gap: 2px 4px; padding: 6px 8px; border-top: 1px solid var(--line); }
.c-tool { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border: 0; background: none; border-radius: 6px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.c-tool span { font-size: 15px; opacity: .8; }
.c-tool:hover, .c-tool[aria-expanded="true"] { background: var(--accent-bg); color: var(--ink); }
.c-secret { margin-left: auto; }
.c-form .c-secret input { margin: 0 2px 0 0; accent-color: var(--accent); width: 15px; height: 15px; padding: 0; }
.c-secret:has(input:checked) { color: var(--ink); background: var(--code); }
.c-attach { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 10px; }
.c-att { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.c-att img { height: 62px; max-width: 120px; object-fit: cover; border-radius: 7px; }
.c-att .c-stk { font-size: 36px; }
.c-att button { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); font-size: 14px; line-height: 1; cursor: pointer; }
.c-pop { position: absolute; left: 8px; right: 8px; bottom: 50px; z-index: 6; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px; box-shadow: 0 10px 28px rgb(0 0 0 / .14); }
.c-stk-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.c-stk-grid button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--muted); font: inherit; }
.c-stk-grid button span { font-size: 28px; line-height: 1.1; }
.c-stk-grid button small { font-size: 11px; }
.c-stk-grid button:hover { background: var(--accent-bg); }
.c-pop-hd { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.c-people { display: flex; flex-wrap: wrap; gap: 6px; max-height: 160px; overflow: auto; }
.c-people button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.c-people button:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) { .c-stk-grid { grid-template-columns: repeat(4, 1fr); } .c-tool { padding: 0 8px; font-size: 13px; } }
.c-name.is-owner { background: var(--code); }
.c-stk { font-size: 44px; line-height: 1.2; display: block; }
.c-ph { display: block; max-width: min(320px, 100%); max-height: 320px; border-radius: 8px; margin-top: 6px; }
.c-at { color: var(--accent); font-weight: 700; cursor: pointer; text-decoration: none; }
.c-at:hover, .c-at:focus-visible { text-decoration: underline; }
.c-to { font-weight: 600; white-space: nowrap; }
@keyframes cflash { 0%, 40% { background: var(--accent-bg); border-color: var(--accent); } 100% { background: var(--post-bg); border-color: var(--c-line); } }
.comments li.c-flash { animation: cflash 2s ease-out; }
.comments li li.c-flash { animation: none; background: var(--accent-bg); border-radius: 8px; }
.c-badge { font-size: 11px; font-weight: 700; line-height: 1.6; background: var(--accent); color: #0c0d0f; border-radius: 999px; padding: 0 8px .75px; }
.c-owner > .c-hd b { color: var(--accent); }
.c-owner > .c-body { background: var(--owner-bg); border-radius: 8px; padding: 6px 12px; }
:root { --owner-bg: #f2f1ee; }
@media (prefers-color-scheme: dark) { :root { --owner-bg: #191c23; } }
.c-lock { font-size: 12px; }
.c-hidden .c-body { color: var(--muted); font-size: 14px; }
.c-del { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; color: #c2410c; cursor: pointer; }
.gnb a.gnb-gb { margin-left: auto; color: var(--amber); }
.gnb a.gnb-gb:hover, .gnb a.gnb-gb[aria-current] { color: #fff; }
.gnb a.gnb-apps { margin-left: auto; color: var(--sky); }
.gnb a.gnb-apps:hover, .gnb a.gnb-apps[aria-current] { color: #fff; }
.gnb a.gnb-apps + a.gnb-gb { margin-left: 0; }
.app-grid { list-style: none; margin: 8px 0 48px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.app-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; text-align: center; padding: 22px 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.app-grid a:hover { border-color: var(--accent); text-decoration: none; }
.app-grid img { width: 72px; height: 72px; border-radius: 16px; }
.app-grid b { font-size: 15px; line-height: 1.35; }
.app-grid span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.guestbook .comments { border-top: 0; padding-top: 0; margin-top: 0; }
.comments.c-top > .c-form { margin: 0 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.c-like { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; margin-left: -2px; border: 1px solid transparent; border-radius: 999px; background: none; cursor: pointer; color: var(--muted); font: inherit; font-size: 12.5px; }
.c-like svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: transform .2s; }
.like-btn svg { stroke-linejoin: round; }
.c-like .n { line-height: 1; font-variant-numeric: tabular-nums; }
.c-like .n:empty { display: none; }
.c-like:hover { border-color: var(--c-line); }
.c-like:hover { color: #ff4f8b; }
.c-like[aria-pressed="true"] { color: #ff4f8b; }
.c-like[aria-pressed="true"] svg { fill: #ff4f8b; stroke: #ff4f8b; }
.c-like.pop svg { animation: likepop .45s ease; }
.c-ownerlike { font-size: 11px; color: #e0457b; }
.c-emoji { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.c-emoji::-webkit-scrollbar { display: none; }
.c-emoji button { flex: none; width: 38px; height: 38px; border: 0; background: none; border-radius: 8px; font-size: 22px; line-height: 1; cursor: pointer; transition: transform .12s; }
.c-emoji button:hover { background: var(--accent-bg); transform: scale(1.15); }
.comments .c-new:empty { display: none; }
.c-reply, .c-cancel, .c-edit { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; color: var(--accent); cursor: pointer; }
.c-form { margin-top: 24px; display: grid; gap: 10px; }
.c-form h3 { font-size: 16px; margin: 0; display: flex; gap: 10px; align-items: baseline; }
.c-form.is-reply { margin: 12px 0 4px 16px; }
.c-form input, .c-form textarea { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 10px 14px; font: inherit; font-size: 16px; }
.c-who { display: flex; flex-wrap: wrap; gap: 8px; }
.c-form .c-who input { flex: 1 1 200px; max-width: 260px; height: 44px; }
.c-form .c-who input[hidden] { display: none; }
.c-form .c-who .c-email { flex: 1 1 100%; max-width: 528px; }
.c-email-note { margin: 6px 0 2px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.c-email-note[hidden] { display: none; }
.c-edited { font-size: 12px; color: var(--muted); }
.c-editbox { display: grid; gap: 8px; margin-top: 10px; }
.c-editbox textarea, .c-editbox input { width: 100%; min-width: 0; border-radius: 8px; border: 1px solid var(--c-line); background: var(--bg); color: var(--ink); padding: 10px 12px; font: inherit; font-size: 16px; }
.c-editbox textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.c-editbox textarea:focus, .c-editbox input:focus { outline: none; border-color: var(--accent); }
.c-edit-row { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.c-edit-row input { flex: 1; height: 40px; }
.c-edit-row button { flex: none; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--c-line); background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.c-edit-row .c-edit-save, .c-edit-row .c-edit-ok { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.c-edit-row button:disabled { opacity: .5; }
.c-edit-msg { margin: 0; font-size: 13px; color: var(--accent); }
.c-edit-msg:empty { display: none; }
li.is-writing > .c-body { display: none; }
.c-form textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.c-form .c-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.c-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.c-note { margin: 0; font-size: 12.5px; color: var(--muted); }
.c-form button[type=submit] { height: 42px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--ink); color: var(--bg); font: inherit; font-weight: 700; cursor: pointer; }
.c-form button[type=submit]:disabled { opacity: .5; }
.c-msg { margin: 0; font-size: 14px; color: var(--accent); min-height: 1em; }
@media (max-width: 640px) { .c-form .c-who input { max-width: none; } .c-row button { width: 100%; } }
.archive section { padding: 8px 0 20px; }
.archive h2 { font-family: Archivo, sans-serif; font-stretch: 115%; font-size: 28px; margin: 24px 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.archive ul { list-style: none; margin: 0; padding: 0; }
.archive li { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.archive li time { flex: none; width: 44px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; }
.archive li a { color: var(--ink); }
.archive li a:hover { color: var(--accent); }
.big-search { display: flex; gap: 8px; margin-top: 16px; }
.big-search input { flex: 1; min-width: 0; height: 48px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 0 16px; font: inherit; font-size: 17px; }
.big-search button { flex: none; height: 48px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--ink); color: var(--bg); font: inherit; font-weight: 700; cursor: pointer; }
#sr-count { color: var(--muted); margin: 14px 0 0; }
.sr { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sr li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.sr a { font-weight: 700; font-size: 17px; }
.sr .m { font-size: 13px; color: var(--muted); margin-top: 2px; }
.sr .s { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.sr mark { background: var(--accent-bg); color: inherit; padding: 0 1px; border-radius: 2px; }
.ft { margin-top: 64px; background: var(--hd); color: var(--hd-muted); }
.ft-in { max-width: 1120px; margin: 0 auto; padding: 28px 20px 36px; font-size: 13px; }
.ft b { color: var(--hd-ink); font-family: Archivo, sans-serif; font-stretch: 112%; }
.ft p { margin: 0 0 4px; }
.insta { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #33363c; color: var(--hd-ink); }
.insta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.insta svg .dot { fill: currentColor; stroke: none; }
.insta:hover, .insta:focus-visible { color: #fff; border-color: #e1306c; background: #e1306c; text-decoration: none; }
.hd-in { gap: 12px; }
.ft-insta { width: 32px; height: 32px; }
@media (max-width: 640px) { .hd-insta { width: 38px; height: 38px; } }
.insta.li svg { stroke-linecap: round; stroke-width: 2; }
.insta.li:hover, .insta.li:focus-visible { border-color: #0a66c2; background: #0a66c2; }
.hd-sns, .ft-sns { display: flex; gap: 8px; flex: none; }
.ft-sns { margin-left: 2px; }
@media (max-width: 640px) { .hd-sns { gap: 6px; } .hd-in { gap: 8px; } }
@media (max-width: 380px) { .hd-sns { gap: 4px; } .hd-in { gap: 6px; } .hd-insta { width: 36px; height: 36px; } }
.post-hd.has-sns { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.page-hd-sns { display: flex; gap: 8px; flex: none; }
.ft-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 10px 0 10px; font-size: 14px; }
.ft-nav a { color: #c9ccd2; }
.ft-nav a:hover { color: #fff; }
.ft-nav a.rss { color: var(--amber); }
.page .content h2 { font-size: 20px; margin: 2.2em 0 .5em; }
.page .content h3 { font-size: 16px; margin: 1.6em 0 .3em; }
.page .content ul { margin: .4em 0 1em; }
.page .content li { margin: .2em 0; }
.page .content .page-date { margin-top: 2.4em; color: var(--muted); font-size: 14px; }
body.lang-en .page .content, body.lang-ja .page .content { text-align: start; }
.content[lang="en"] { text-align: start; }
.page-about .content { text-align: start; line-height: 1.8; }
.page-about .content ul ul { margin: .2em 0 .4em; }
.page-about .page-date-top { margin: -14px 0 0; text-align: right; font-size: 12px; color: var(--muted); }
.page-about .page-date-top + h2 { margin-top: .3em; }
.page-about .page-center { text-align: center; }
.page-about .page-right { text-align: right; color: var(--muted); font-size: 13px; margin-bottom: .4em; }
.page-about .content .gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.page-about .content .gallery img { height: auto; border-radius: 6px; }
.page-about .content .gallery { row-gap: 14px; align-items: start; }
.page-about .content .gallery figure { margin: 0; min-width: 0; }
.page-about .content .gallery figcaption { margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--muted, #8a8f98); text-align: left; word-break: normal; overflow-wrap: anywhere; }
