@charset "UTF-8";
:root{color-scheme:light;--bg:#f0f4f9;--panel:#fff;--panel2:#f8fafc;--text:#142033;--muted:#66748b;--border:#dfe6ef;--accent:#5069d9;--accent-bg:#eaf0ff}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#111824;--panel:#1c2533;--panel2:#202c3c;--text:#eef3fb;--muted:#a8b6ca;--border:#354256;--accent:#a2b3ff;--accent-bg:#2b3b61}}
:root[data-theme=dark]{color-scheme:dark;--bg:#111824;--panel:#1c2533;--panel2:#202c3c;--text:#eef3fb;--muted:#a8b6ca;--border:#354256;--accent:#a2b3ff;--accent-bg:#2b3b61}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.75 -apple-system,BlinkMacSystemFont,"Noto Sans KR","Malgun Gothic",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}img{max-width:100%}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}
.site{max-width:1420px;margin:30px auto;background:var(--panel2);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 18px 50px #17284415}
.header{display:flex;align-items:center;gap:28px;min-height:96px;padding:16px 32px;background:var(--panel);border-bottom:1px solid var(--border)}.logo{font:800 27px/1.2 ui-monospace,Consolas,monospace;white-space:nowrap;letter-spacing:-1px}.menu{display:flex;gap:32px;margin-left:auto}.menu a{color:var(--muted);font-weight:600}.menu a:hover{color:var(--accent)}.actions{display:flex;gap:8px}.actions button{background:transparent;border:0;color:var(--text);font-size:23px;border-radius:9px;width:38px;height:38px}.actions button:hover{background:var(--accent-bg)}#menu-toggle{display:none}.search-panel{padding:18px 30px;border-bottom:1px solid var(--border);background:var(--panel)}.search-panel form{display:flex;max-width:600px;margin:auto;gap:8px}.search-panel input{flex:1;min-width:0;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--panel2);color:var(--text)}.search-panel button,.detail form button{padding:8px 16px;border:0;border-radius:8px;background:var(--accent);color:#fff}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;padding:30px}.main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-content:start;min-width:0}.post-card,.side-card,.detail,.list-head{background:var(--panel);border:1px solid var(--border);border-radius:15px;overflow:hidden}.post-card{min-width:0}.card-link{display:flex;align-items:center;gap:16px;padding:20px;min-height:164px;height:100%}.thumb{width:112px;height:112px;flex:none;border-radius:12px;background:linear-gradient(135deg,#cddaff,#eff3ff);display:grid;place-items:center;color:#586bb6;font-size:34px;position:relative;overflow:hidden}.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.card-copy{flex:1;min-width:0}.pill{display:inline-block;background:var(--accent-bg);color:var(--accent);font-weight:700;font-size:12px;padding:3px 12px;border-radius:9px}.post-card h2{font-size:17px;line-height:1.45;letter-spacing:-.4px;margin:10px 0;word-break:keep-all}.card-link:hover h2{color:var(--accent)}.summary{font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 12px}.card-copy small,.post-heading small{color:var(--muted);font-size:12px}
body.tt-body-index .main>.post-card:first-of-type{grid-column:1/-1}body.tt-body-index .main>.post-card:first-of-type .card-link{min-height:245px}body.tt-body-index .main>.post-card:first-of-type .thumb{width:38%;height:200px}body.tt-body-index .main>.post-card:first-of-type h2{font-size:25px}
.sidebar{display:flex;flex-direction:column;gap:16px}.side-card{padding:24px}.side-card h2{font-size:17px;margin:0 0 14px}.profile{text-align:center}.avatar{display:grid;place-items:center;width:78px;height:78px;margin:0 auto 10px;border-radius:50%;background:linear-gradient(140deg,#8583f1,#a7a1f8);color:white;font-size:27px}.profile strong{font-size:18px}.profile p,.side-card p{color:var(--muted);font-size:13px;margin:4px 0 12px}.social{display:flex;justify-content:center;gap:12px}.social a,.tags a{display:inline-block;background:var(--panel2);color:var(--muted);padding:5px 10px;border-radius:9px;font-size:12px}.social a:hover,.tags a:hover{background:var(--accent-bg);color:var(--accent)}.categories ul{list-style:none;padding:0;margin:0}.categories li{border-bottom:1px solid var(--border);padding:6px 0}.categories li:last-child{border:0}.categories a:hover{color:var(--accent)}.categories .c_cnt{float:right;color:var(--muted);font-size:12px}.tags{display:flex;gap:7px;flex-wrap:wrap}
.detail,.list-head{grid-column:1/-1;padding:34px;min-width:0}.post-heading{padding-bottom:22px;border-bottom:1px solid var(--border);margin-bottom:26px}.post-heading h1,.detail>h1{font-size:clamp(25px,3vw,37px);line-height:1.4;letter-spacing:-.8px;margin:16px 0}.entry-content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.entry-content h2,.entry-content h3{scroll-margin-top:25px;line-height:1.45;margin-top:2em}.entry-content pre{background:#192335;color:#f0f4ff;border-radius:12px;padding:20px;overflow:auto;font-size:13px;line-height:1.6}.entry-content code{font-family:Consolas,Monaco,monospace}.entry-content :not(pre)>code{background:var(--accent-bg);color:var(--accent);padding:2px 5px;border-radius:5px}.entry-content blockquote{border-left:3px solid var(--accent);padding:6px 18px;background:var(--panel2);margin:20px 0}.entry-content img{height:auto;border-radius:10px}.entry-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.entry-content td,.entry-content th{border:1px solid var(--border);padding:8px 12px}.entry-content a{color:var(--accent);text-decoration:underline}.toc{border:1px solid var(--border);border-radius:12px;background:var(--panel2);padding:16px 22px;margin:0 0 26px}.toc ol{margin:8px 0 0;padding-left:22px}.toc a:hover{color:var(--accent)}.neighbors{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;margin-top:32px;border-top:1px solid var(--border);padding-top:20px}.neighbors a{color:var(--accent)}.comments{margin-top:35px}.comments h2{font-size:20px}.pagination{grid-column:1/-1;display:flex;justify-content:center;gap:8px;margin:12px 0}.pagination a{min-width:36px;text-align:center;padding:6px 10px;background:var(--panel);border:1px solid var(--border);border-radius:8px}.pagination .selected{background:var(--text);color:var(--panel)}.pagination .no-more-prev,.pagination .no-more-next{pointer-events:none;opacity:.35}.list-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.list-head h1{margin:0}.footer{display:flex;justify-content:space-between;gap:12px;padding:17px 32px;border-top:1px solid var(--border);background:var(--panel);font-size:12px;color:var(--muted)}
@media(max-width:1100px){.layout{grid-template-columns:minmax(0,1fr) 250px;padding:20px}.header{padding:16px 22px}.menu{gap:16px}.side-card{padding:18px}.card-link{padding:16px}.thumb{width:90px;height:100px}}
@media(max-width:800px){.site{margin:0;border:0;border-radius:0}.header{min-height:70px}.logo{font-size:23px}.menu{display:none;position:absolute;top:70px;left:0;right:0;z-index:10;background:var(--panel);padding:20px;box-shadow:0 12px 20px #0002;flex-direction:column}.menu.open{display:flex}#menu-toggle{display:block}.actions{margin-left:auto}.layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.main,.list-grid{grid-template-columns:1fr}.main>.post-card{grid-column:1/-1}.layout{padding:14px}.header{padding:12px 14px}.logo{font-size:20px}.actions{gap:0}.actions button{width:34px}.sidebar{grid-template-columns:1fr}.card-link{min-height:145px}.thumb{width:95px;height:95px}body.tt-body-index .main>.post-card:first-of-type .card-link{display:block}body.tt-body-index .main>.post-card:first-of-type .thumb{width:100%;height:170px;margin-bottom:14px}body.tt-body-index .main>.post-card:first-of-type h2{font-size:21px}.detail,.list-head{padding:20px}.footer{padding:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v1.1: larger thumbnail cards and dynamic profile image */
.main>.post-card .card-link{min-height:220px;gap:20px;padding:20px}
.main>.post-card .thumb{width:44%;height:176px;flex-shrink:0}
.main>.post-card h2{font-size:18px}
body.tt-body-index .main>.post-card:first-of-type .thumb{width:44%;height:210px}
.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.avatar-fallback:after{content:'👤';font-size:30px}
/* Tistory category output: tt_category > li > .sub_category_list */
.categories ul{margin:0;padding:0;list-style:none}.categories li{position:relative;min-width:0}
.categories li a{display:inline-block;max-width:calc(100% - 42px);overflow-wrap:anywhere}
.categories li .c_cnt{float:none;margin-left:6px}
.categories li .sub_category_list{padding-left:12px;border-left:1px solid var(--border);margin:7px 0 0 5px}
.categories li .sub_category_list li{padding:5px 0;border:0}
.categories .category-toggle{float:right;width:26px;height:26px;border:1px solid var(--border);background:var(--panel2);color:var(--muted);border-radius:7px;line-height:1}
.categories .category-toggle:hover{color:var(--accent);background:var(--accent-bg)}
.categories li.is-collapsed>.sub_category_list{display:none}
@media(max-width:1100px){.main>.post-card .thumb{width:40%;height:160px}.main>.post-card .card-link{padding:15px;gap:13px}}
@media(max-width:560px){.main>.post-card .card-link{min-height:180px}.main>.post-card .thumb{width:43%;height:140px}.main>.post-card h2{font-size:16px}body.tt-body-index .main>.post-card:first-of-type .thumb{width:100%;height:200px}}

/* v1.4: remove leftover theme navigation if Tistory injects menu markup. */
#baek-site-header .menu,#baek-site-header nav,#baek-site-header .tt_category,#baek-site-header .category_list{display:none!important}
#baek-site-header .actions{margin-left:auto}
/* Tistory editor content: preserve contrast when articles contain inline dark text colors. */
@media (prefers-color-scheme:dark){
 :root:not([data-theme=light]) .entry-content :is(h1,h2,h3,h4,h5,h6,p,li,ul,ol,blockquote,strong,b,em,span,div,td,th,figcaption){color:var(--text)!important}
 :root:not([data-theme=light]) .entry-content :is(p,li,span,div,td,th,blockquote)[style*="background-color"]{background-color:transparent!important}
 :root:not([data-theme=light]) .entry-content :is(td,th){background-color:var(--panel2)!important;border-color:var(--border)!important}
 :root:not([data-theme=light]) .entry-content a{color:var(--accent)!important}
 :root:not([data-theme=light]) .entry-content pre,:root:not([data-theme=light]) .entry-content pre *{color:#f0f4ff!important}
}
:root[data-theme=dark] .entry-content :is(h1,h2,h3,h4,h5,h6,p,li,ul,ol,blockquote,strong,b,em,span,div,td,th,figcaption){color:var(--text)!important}
:root[data-theme=dark] .entry-content :is(p,li,span,div,td,th,blockquote)[style*="background-color"]{background-color:transparent!important}
:root[data-theme=dark] .entry-content :is(td,th){background-color:var(--panel2)!important;border-color:var(--border)!important}
:root[data-theme=dark] .entry-content a{color:var(--accent)!important}
:root[data-theme=dark] .entry-content pre,:root[data-theme=dark] .entry-content pre *{color:#f0f4ff!important}
/* Keep readable editor-generated tables and embeds */
.entry-content .table-wrap,.entry-content figure{max-width:100%;overflow-x:auto}
.entry-content table{width:100%;border-collapse:collapse}
.entry-content td,.entry-content th{vertical-align:top}

/* v1.5: blog image and category tree */
.skin-version{font-size:10px;color:var(--muted);border:1px solid var(--border);border-radius:6px;padding:1px 5px}
.avatar img,.avatar .blogImage img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.avatar:empty:after,.avatar.avatar-fallback:after{content:'👤';font-size:30px}
#folding-categories .sub_category_list[hidden],#folding-categories[hidden]{display:none!important}
#folding-categories .category_list>li{position:relative;padding-right:32px}
#folding-categories .baek-fold{position:absolute;right:0;top:6px;display:grid;place-items:center;width:27px;height:27px;background:var(--panel2);color:var(--text);border:1px solid var(--border);border-radius:7px;font-size:17px;line-height:1}
#folding-categories .baek-fold:hover{background:var(--accent-bg);color:var(--accent)}
#folding-categories .sub_category_list{padding-left:14px;margin-top:7px;border-left:1px solid var(--border)}
#folding-categories .sub_category_list>li{padding:4px 0;border:0}
.side-card h2:has(.baek-fold-all){display:flex;justify-content:space-between;align-items:center;gap:8px}
.baek-fold-all{font-size:12px;color:var(--muted);background:var(--panel2);border:1px solid var(--border);padding:3px 9px;border-radius:7px}

/* v1.6: use real blog profile image and guarantee visible category folding */
.avatar{overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.avatar.avatar-fallback:after{content:"👤";font-size:30px}
#folding-categories[hidden],#folding-categories ul[hidden]{display:none!important}
#folding-categories li{position:relative}
#folding-categories li:has(> .baek-fold){padding-right:35px}
#folding-categories .baek-fold{position:absolute;right:0;top:5px;border:1px solid var(--border);border-radius:7px;background:var(--panel2);color:var(--text);width:28px;height:28px}
.side-card h2:has(.baek-fold-all){display:flex;align-items:center;justify-content:space-between}
.baek-fold-all{display:inline-block;cursor:pointer;border:1px solid var(--border);border-radius:8px;padding:4px 9px;background:var(--panel2);color:var(--text);font-size:12px}

/* v1.7 */
.home-nav{margin-left:auto;font-weight:600}
.home-nav a:hover{color:var(--accent)}
.header .actions{margin-left:0}
#folding-categories ul[hidden]{display:none!important}
#folding-categories .baek-fold{z-index:2}
@media(max-width:560px){.home-nav{font-size:13px}}

.search-panel:not([hidden]){display:block}
#folding-categories[hidden],#folding-categories ul[hidden]{display:none!important}


/* ================================================
   baek.log v2.0 — Modern Slate
   Light-first, responsive, sidebar-left layout
   ================================================ */
:root,:root[data-theme=light]{
 color-scheme:light;
 --bg:#f8fafc;--panel:#ffffff;--panel2:#f8fafc;
 --text:#1e293b;--muted:#64748b;--border:#e2e8f0;
 --accent:#2563eb;--accent-bg:#eff6ff;
}
@media(prefers-color-scheme:dark){
 :root:not([data-theme=light]){
  color-scheme:dark;
  --bg:#0f172a;--panel:#1e293b;--panel2:#172338;
  --text:#e2e8f0;--muted:#94a3b8;--border:#334155;
  --accent:#60a5fa;--accent-bg:#1e3a5f;
 }
}
:root[data-theme=dark]{
 color-scheme:dark;--bg:#0f172a;--panel:#1e293b;--panel2:#172338;
 --text:#e2e8f0;--muted:#94a3b8;--border:#334155;
 --accent:#60a5fa;--accent-bg:#1e3a5f;
}
body{background:var(--bg)}
.site{max-width:1440px;margin:0 auto;box-shadow:none;border:0;border-radius:0;background:var(--bg)}
.header{margin:16px 16px 0;min-height:70px;border:1px solid var(--border);border-radius:12px;background:var(--panel);padding:12px 28px}
.logo{font-family:-apple-system,BlinkMacSystemFont,"Malgun Gothic",sans-serif;font-weight:800;font-size:25px;letter-spacing:-1.2px}
.home-nav{margin-left:45px;margin-right:auto}
.home-nav a{display:inline-block;color:var(--accent);padding:12px 10px;border-bottom:2px solid var(--accent)}
.actions button{color:var(--muted)}
.layout{grid-template-columns:254px minmax(0,1fr);gap:16px;padding:16px;align-items:start}
.sidebar{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:12px}
.main{grid-column:2;grid-row:1;display:block;min-width:0}
.side-card{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:22px}
.side-card h2{font-size:16px;font-weight:750}
.profile .avatar{width:84px;height:84px;margin:0 auto 10px}
.profile .social a{width:100%;border:1px solid var(--border);background:var(--panel);padding:6px}
#folding-categories .category_list>li{padding-top:7px;padding-bottom:7px}
#folding-categories .sub_category_list{margin-left:5px}
#folding-categories .baek-fold{border:0;background:transparent;color:var(--muted)}
#folding-categories .baek-fold-all{color:var(--accent);border:0;background:transparent;font-weight:600}
.list-head{background:transparent;border:0;border-radius:0;padding:10px 6px 18px}
.list-head h1{font-size:29px;line-height:1.3;margin:0 0 5px;font-weight:800}
.list-subtitle{color:var(--muted);margin:0;font-size:14px}
.list-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.post-card{border:1px solid var(--border);border-radius:12px;background:var(--panel);transition:border-color .15s,transform .15s}
.post-card:hover{border-color:#bfdbfe;transform:translateY(-1px)}
.post-card .card-link{padding:13px;min-height:144px;gap:20px}
.post-card .thumb{width:205px;height:140px;border-radius:9px;flex-shrink:0;background:var(--accent-bg)}
.post-card h2{font-size:18px;margin:7px 0 10px;line-height:1.5}
.post-card .card-copy small{font-size:13px}
.post-card .pill{background:#dbeafe;color:#1d4ed8;border-radius:999px}
:root[data-theme=dark] .post-card .pill{background:#1e3a5f;color:#bfdbfe}
.detail{background:var(--panel);border-radius:12px;padding:34px 42px}
.entry-content{color:var(--text)}
.entry-content :is(h1,h2,h3,h4,h5,h6){border-left:3px solid var(--accent);padding-left:12px}
.pagination{display:flex;margin:20px 0}
.footer{margin-top:14px;border-top:1px solid var(--border);background:transparent}
@media(max-width:900px){
 .layout{grid-template-columns:215px minmax(0,1fr)}
 .post-card .thumb{width:155px;height:125px}
 .post-card h2{font-size:16px}
 .home-nav{margin-left:20px}
}
@media(max-width:700px){
 .header{margin:0;border-radius:0;border-left:0;border-right:0;padding:10px 16px}
 .layout{display:flex;flex-direction:column;padding:12px}
 .main{order:1;width:100%}
 .sidebar{order:2;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .list-head{padding:10px 2px}
 .detail{padding:22px}
 .post-card .thumb{width:135px;height:110px}
 .post-card .card-link{gap:12px}
}
@media(max-width:480px){
 .sidebar{grid-template-columns:1fr}
 .post-card .thumb{width:105px;height:105px}
 .post-card .card-link{min-height:124px;padding:10px}
 .post-card h2{font-size:14px}
 .post-card .summary{display:none}
 .list-head h1{font-size:24px}
 .logo{font-size:21px}
 .home-nav{margin-left:8px}
 .home-nav a{font-size:13px}
}

/* v2.1: Light-only Modern Slate, regardless of OS or stored theme. */
:root,:root[data-theme],:root[data-theme=dark]{
 color-scheme:light!important;
 --bg:#f8fafc!important;--panel:#ffffff!important;--panel2:#f8fafc!important;
 --text:#1e293b!important;--muted:#64748b!important;--border:#e2e8f0!important;
 --accent:#2563eb!important;--accent-bg:#eff6ff!important;
}
:root[data-theme=dark] .entry-content :is(h1,h2,h3,h4,h5,h6,p,li,ul,ol,blockquote,strong,b,em,span,div,td,th,figcaption){color:inherit!important}
:root[data-theme=dark] .entry-content :is(td,th){background-color:#fff!important;border-color:#e2e8f0!important}
:root[data-theme=dark] .entry-content a{color:#2563eb!important}

/* v2.3 — Modern Slate refinement: one readable light palette */
:root,html[data-theme="light"]{--bg:#f5f7fb!important;--panel:#ffffff!important;--panel2:#f8fafc!important;--text:#18263b!important;--muted:#61748c!important;--border:#dce5f0!important;--accent:#2563eb!important;--accent-bg:#eaf2ff!important;color-scheme:light!important}
body{background:#f5f7fb!important;color:#18263b!important}
.site{max-width:1500px}
.header{box-shadow:0 3px 15px rgba(27,49,79,.025)}
.layout{grid-template-columns:310px minmax(0,1fr);gap:22px;padding:20px}
.side-card,.detail,.post-card{border-color:#e0e8f2;box-shadow:0 2px 8px rgba(27,49,79,.025)}
.side-card{padding:22px 20px}
.post-card:hover{box-shadow:0 6px 20px rgba(37,99,235,.07)}
/* Category: parent name, count, and chevron share a single line */
#folding-categories .tt_category,#folding-categories .category_list,#folding-categories .sub_category_list{min-width:0;width:100%}
#folding-categories ul{list-style:none;margin:0;padding:0}
#folding-categories .category_list>li,#folding-categories .sub_category_list>li{position:relative;display:block;min-width:0;border-bottom:1px solid #edf1f6;padding:10px 27px 10px 0!important;margin:0}
#folding-categories .sub_category_list{border-left:1px solid #dbe5f2;margin:9px 0 0 5px;padding-left:13px!important;width:calc(100% - 5px)}
#folding-categories .sub_category_list>li{padding:7px 0!important;border:0}
#folding-categories a{display:inline!important;max-width:100%;font-size:13px;line-height:1.5;overflow-wrap:break-word;word-break:keep-all;color:#334155}
#folding-categories .c_cnt{float:none!important;display:inline!important;white-space:nowrap;margin-left:5px;font-size:11px;color:#94a3b8}
#folding-categories .baek-fold{position:absolute!important;top:7px!important;right:0!important;display:grid;place-items:center;width:25px!important;height:25px!important;padding:0;border:0!important;background:transparent!important;color:#64748b!important;font-size:24px!important;line-height:1!important;transform:rotate(90deg);transition:transform .18s ease}
#folding-categories .baek-fold.is-collapsed{transform:rotate(0deg)}
#folding-categories .baek-fold:hover{color:#2563eb!important;background:#eff6ff!important}
#folding-categories ul[hidden],#folding-categories[hidden]{display:none!important}
.baek-fold-all{font-size:12px!important;white-space:nowrap;color:#2563eb!important}
/* Article content: tables, headings, embedded content and Tistory related posts */
.detail{min-width:0;overflow:hidden}
.entry-content{min-width:0;max-width:100%;color:#26374c;font-size:16px;line-height:1.85}
.entry-content p,.entry-content li{overflow-wrap:anywhere}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4{color:#18263b!important;line-height:1.5}
.entry-content figure,.entry-content .imageblock,.entry-content .table-wrap{max-width:100%}
.entry-content img{max-width:100%;height:auto}
.entry-content table{width:auto;max-width:100%;table-layout:auto;font-size:14px}
.entry-content table th{background:#f1f5f9;color:#334155}
.entry-content table td{color:#334155}
.entry-content .another_category{display:block!important;max-width:100%;overflow:hidden;box-sizing:border-box;border:1px solid #e2e8f0!important;border-radius:12px;padding:18px!important;margin:30px 0!important;background:#f8fafc!important;color:#334155!important}
.entry-content .another_category h4{margin:0 0 12px!important;padding:0 0 10px!important;border:0!important;border-bottom:1px solid #e2e8f0!important;color:#334155!important;font-size:14px!important}
.entry-content .another_category table{display:table!important;width:100%!important;max-width:100%;border:0!important;background:transparent!important;table-layout:fixed!important}
.entry-content .another_category td,.entry-content .another_category th{background:transparent!important;border:0!important;padding:7px 5px!important;font-size:13px!important;vertical-align:middle!important}
.entry-content .another_category td:first-child{width:auto!important;overflow-wrap:anywhere}
.entry-content .another_category td:last-child{width:105px!important;white-space:nowrap!important;text-align:right!important;color:#94a3b8!important}
.entry-content .another_category a{color:#334155!important;text-decoration:none!important}
.entry-content .another_category a:hover{color:#2563eb!important}
.entry-content .another_category *{color:inherit}
/* Footer widgets emitted by Tistory */
.detail .container_postbtn,.detail .postbtn_like,.detail .area_etc,.detail .area_related,.detail .related-articles,.detail .author,.detail .author-info{max-width:100%;box-sizing:border-box}
.detail .area_etc,.detail .area_related,.detail .related-articles{border-top:1px solid #e2e8f0;margin-top:26px;padding-top:22px}
.detail .author,.detail .author-info{background:#f8fafc!important;border-radius:12px;padding:18px!important;min-height:0!important}
.detail .author img,.detail .author-info img{max-width:56px;max-height:56px;object-fit:cover}
.neighbors{align-items:center;max-width:100%}
.neighbors a{overflow-wrap:anywhere}
@media(max-width:1000px){.layout{grid-template-columns:270px minmax(0,1fr);gap:14px}}
@media(max-width:700px){.layout{display:flex;flex-direction:column;padding:12px}.sidebar{width:100%}.main{width:100%}}
@media(max-width:480px){.detail{padding:18px}.entry-content .another_category td:last-child{width:75px!important;font-size:11px!important}}

/* v2.4: restore native HTML table layout and remove accidental vertical scrolling. */
.entry-content table:not(.another_category table){
  display:table!important; width:100%!important; max-width:100%!important;
  table-layout:auto!important; border-collapse:collapse!important;
  overflow:visible!important; height:auto!important; max-height:none!important;
}
.entry-content table:not(.another_category table) tbody{display:table-row-group!important}
.entry-content table:not(.another_category table) thead{display:table-header-group!important}
.entry-content table:not(.another_category table) tr{display:table-row!important}
.entry-content table:not(.another_category table) :is(th,td){
  display:table-cell!important; width:auto; height:auto!important;
  min-width:0; padding:12px 14px!important; vertical-align:middle;
  white-space:normal!important; overflow-wrap:break-word; word-break:keep-all;
  border:1px solid #e2e8f0!important; line-height:1.65;
}
.entry-content table:not(.another_category table) tr:nth-child(even) td{background:#f8fafc}
.entry-content table:not(.another_category table) th{background:#eff6ff!important;color:#1e3a5f!important;font-weight:700}
.entry-content .table-wrap,.entry-content figure.table,.entry-content figure[data-ke-type=table]{
  display:block;max-width:100%;height:auto!important;max-height:none!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  border-radius:8px; margin:18px 0;
}
.entry-content figure.table table,.entry-content figure[data-ke-type=table] table{margin:0}
@media(max-width:700px){
 .entry-content .table-wrap,.entry-content figure.table,.entry-content figure[data-ke-type=table]{overflow-x:auto!important;overflow-y:hidden!important}
 .entry-content table:not(.another_category table) :is(td,th){padding:9px 10px!important;font-size:13px}
}

/* v2.5: One uniform code-block surface, without nested editor highlight panels. */
.entry-content pre,
.entry-content figure[data-ke-type="codeblock"] pre,
.entry-content .codeblock pre{
  background:#1f2937!important;
  color:#e5e7eb;
  border:0!important;
  border-radius:12px!important;
  padding:20px 22px!important;
  box-shadow:none!important;
  overflow-x:auto;
}
.entry-content pre > code,
.entry-content pre code,
.entry-content figure[data-ke-type="codeblock"] code,
.entry-content .codeblock code,
.entry-content pre .hljs,
.entry-content pre .language-java,
.entry-content pre .language-javascript{
  background:transparent!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  display:block;
  width:auto;
  max-width:100%;
  color:inherit;
}
/* Preserve syntax token colors while suppressing embedded panels. */
.entry-content pre code span,
.entry-content pre .hljs span{background:transparent!important;background-color:transparent!important}
.entry-content figure[data-ke-type="codeblock"],
.entry-content .codeblock{background:transparent!important;border:0!important;box-shadow:none!important}
.baek-fold-all{display:none!important}

/* v2.6: Hide common Tistory ad slots when present.
   Platform-controlled advertisements may be inserted outside the skin. */
.entry-content .revenue_unit_wrap,
.entry-content .revenue_unit_item,
.entry-content .adsbygoogle,
.entry-content ins.adsbygoogle,
.entry-content .kakao_ad_area,
.entry-content [id^="google_ads_iframe_"],
.entry-content iframe[id^="google_ads_iframe_"],
.revenue_unit_wrap,
.revenue_unit_item {display:none!important;}

/* v2.7: persistent search field inside header */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.header-search{display:flex;align-items:center;gap:8px;flex:0 1 330px;min-width:190px;margin-left:auto}
.header-search input{min-width:0;width:100%;height:40px;padding:9px 12px;border:1px solid var(--border);border-radius:9px;background:#f8fafc;color:#1e293b;outline:none;font-size:14px}
.header-search input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}
.header-search button{flex:none;border:0;border-radius:9px;background:#2563eb;color:#fff;font-size:13px;font-weight:650;height:40px;padding:0 15px;cursor:pointer}
.header-search button:hover{background:#1d4ed8}
@media(max-width:700px){.header{flex-wrap:wrap;gap:8px}.header-search{order:3;flex:1 0 100%;margin:4px 0 0}.home-nav{margin-left:auto;margin-right:0}}

/* v2.8: Logo, Home and search always share a single header row. */
#baek-site-header{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:18px!important}
#baek-site-header .logo{flex:0 0 auto;white-space:nowrap}
#baek-site-header .home-nav{flex:0 0 auto;margin-left:12px!important;margin-right:auto!important}
#baek-site-header .header-search{order:0!important;flex:0 1 330px!important;min-width:0!important;margin:0!important;max-width:330px;width:100%;display:flex!important}
#baek-site-header .header-search input{min-width:0;flex:1 1 auto}
@media(max-width:700px){
 #baek-site-header{gap:8px!important;padding:10px 12px!important}
 #baek-site-header .logo{font-size:clamp(14px,3.5vw,20px)!important}
 #baek-site-header .home-nav{margin:0 0 0 2px!important;font-size:12px}
 #baek-site-header .home-nav a{padding:6px 2px}
 #baek-site-header .header-search{flex:1 1 100px!important;width:auto!important;max-width:none;min-width:0!important}
 #baek-site-header .header-search input{height:34px;font-size:12px;padding:6px 8px}
 #baek-site-header .header-search button{height:34px;padding:0 9px;font-size:12px}
}
@media(max-width:390px){
 #baek-site-header{gap:6px!important}
 #baek-site-header .header-search button{padding:0 7px}
 #baek-site-header .header-search input{font-size:11px}
}

/* v2.9 — one-row header and readable post previews */
#baek-site-header .header-search{margin-left:auto!important}
.list-grid .post-card .card-copy{min-width:0}
.list-grid .post-card .list-summary{
 display:-webkit-box!important;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:2;
 overflow:hidden;
 text-overflow:ellipsis;
 line-height:1.6;
 font-size:14px;
 color:var(--muted);
 margin:6px 0 10px;
 max-height:3.2em;
 overflow-wrap:anywhere;
}
@media(max-width:480px){
 .list-grid .post-card .list-summary{-webkit-line-clamp:2;font-size:12px;margin:4px 0 6px}
}

/* v3.0: automatic nested numbering for Tistory editor Heading 1/2/3 */
.entry-content .baek-heading-number{color:var(--accent);font-weight:800;white-space:nowrap}
#toc ol{list-style:none;padding-left:0}
#toc li{margin:5px 0}
#toc .baek-toc-level-1{padding-left:17px}
#toc .baek-toc-level-2{padding-left:34px}
#toc a{overflow-wrap:anywhere}

/* v3.2: tag cloud */
#baek-sidebar-tags[hidden]{display:none!important}
#baek-tag-cloud{display:flex;flex-wrap:wrap;gap:7px}
#baek-tag-cloud a{display:inline-flex;align-items:center;padding:5px 10px;border-radius:8px;background:#eff6ff;color:#2563eb;font-size:12px;max-width:100%;overflow-wrap:anywhere}
#baek-tag-cloud a:hover{background:#dbeafe}

/* v3.3: sidebar tag limit with accessible expand/collapse */
#baek-tag-cloud a[hidden]{display:none!important}
.baek-tags-toggle{
 display:block;margin-top:12px;width:100%;padding:8px 12px;
 border:1px solid var(--border);border-radius:8px;
 background:var(--panel2);color:var(--accent);font:inherit;font-size:13px;
 cursor:pointer;text-align:center;
}
.baek-tags-toggle:hover{background:var(--accent-bg)}
.baek-tags-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
