/* 자동 생성: tools/gen_dark_css.py (front.css 를 고친 뒤 다시 생성) */
html[data-bs-theme="dark"] body.kc-front { background: #121215; }
html[data-bs-theme="dark"] .kc-header { background: #121215; }
html[data-bs-theme="dark"] .kc-logo { color: #f7f7fa; }
html[data-bs-theme="dark"] .kc-gnb > ul > li > a { color: #f7f7fa; }
html[data-bs-theme="dark"] .kc-header-search .kc-hs-input { border: 1px solid #212124; background: #121215; color: #d8d8db; }
html[data-bs-theme="dark"] .kc-box { background: #121215; }
html[data-bs-theme="dark"] .kc-list tr.is-notice td { background: #151518; }
html[data-bs-theme="dark"] .kc-list tr.is-current td { background: #151518; }
html[data-bs-theme="dark"] .kc-comment.is-reply { background: #141417; }
html[data-bs-theme="dark"] .kc-comment.is-best { background: #161619; }
html[data-bs-theme="dark"] .kc-comment-form { background: #121215; }
html[data-bs-theme="dark"] .kc-popup { background: #121215; border: 1px solid #2d2d30; }
html[data-bs-theme="dark"] .kc-copy { color: #a5a5a8; }
html[data-bs-theme="dark"] .file-item { background: #121215; }
html[data-bs-theme="dark"] .kc-clien-list { color: #ededf0; }
html[data-bs-theme="dark"] .kc-clien-list .list_manage { color: #b8b8bb; }
html[data-bs-theme="dark"] .kc-clien-list .list_content { background-color: #1a1a1d; border-top: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-list .list_item { border-bottom: 1px solid #232326; border-left: 1px solid #232326; border-right: 1px solid #232326; background-color: #121215; }
html[data-bs-theme="dark"] .kc-clien-list .list_item.notice { background-color: #151518; }
html[data-bs-theme="dark"] .kc-clien-list .list_item.is-current { background-color: #151518; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_chk { border-left: 0px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_symph,
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_symph_not { border-left: 2px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-list .list_item.notice .list_symph { border-left-color: #1d1d20; }
html[data-bs-theme="dark"] .kc-clien-list .view_symph.lSymph01 { border-left-color: #1b1b1e; }
html[data-bs-theme="dark"] .kc-clien-list .view_symph.lSymph01 span { background-color: #151518; }
html[data-bs-theme="dark"] .kc-clien-list .view_symph.lSymph02 { border-left-color: #1d1d20; }
html[data-bs-theme="dark"] .kc-clien-list .view_symph.lSymph02 span { background-color: #1d1d20; color: #f7f7fa; }
html[data-bs-theme="dark"] .kc-clien-list .view_symph.lSymph03 { border-left-color: #262629; }
html[data-bs-theme="dark"] .kc-clien-list .view_symph.lSymph03 span { background-color: #28282b; color: #f7f7fa; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_title .list_subject { color: #ededf0; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_title .list_subject:visited { color: #98989b; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_title .kc-cat { color: #b8b8bb; border: 1px solid rgba(255,255,255,0.05); }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_title .kc-ico { color: #98989b; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_title .list_reply { border: 1px solid rgba(255,255,255,0.05); background-color: #151518; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_author .nickname { border-left: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_hit,
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_time { color: #b8b8bb; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_hit .hit,
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_hit .time,
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_time .hit,
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_time .time { border-left: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_hit .time,
html[data-bs-theme="dark"] .kc-clien-list .list_item .list_time .time { color: #d8d8db; }
html[data-bs-theme="dark"] .kc-list-mobile li { border-bottom: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-list-mobile li a { color: #ededf0; }
html[data-bs-theme="dark"] .kc-list-mobile li a:visited { color: #98989b; }
html[data-bs-theme="dark"] .board-pagination .board-nav a { color: #d8d8db; }
html[data-bs-theme="dark"] .board-pagination .board-nav .board-nav-area .board-nav-page:last-child { border: 1px solid #232326; }
html[data-bs-theme="dark"] .board-pagination .board-nav .board-nav-first { color: #b8b8bb; }
html[data-bs-theme="dark"] .board-pagination .board-nav .board-nav-prev:after { border-left: 1px solid #232326; }
html[data-bs-theme="dark"] .board-pagination .board-nav .board-nav-page { border: 1px solid #232326; background-color: #121215; }
html[data-bs-theme="dark"] .board-pagination .board-nav .board-nav-page.last { border: 1px solid #232326; }
html[data-bs-theme="dark"] .board-pagination .board-nav .board-nav-page:hover,
html[data-bs-theme="dark"] .board-pagination .board-nav .board-nav-page:focus { background-color: #232326; }
html[data-bs-theme="dark"] .board-pagination .board-nav .board-nav-next:before { border-right: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-list-foot .button_command { color: #b8b8bb; background-color: #121215; }
html[data-bs-theme="dark"] .kc-list-foot .button_command:hover { color: #b8b8bb; }
html[data-bs-theme="dark"] .kc-list-foot .button_command:focus { background-color: #1a1a1d; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-meta { color: #b8b8bb; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-meta > span { border-right: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-meta .kc-name { color: #d8d8db; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-files,
html[data-bs-theme="dark"] .kc-clien-view .kc-post-links { border: 1px solid rgba(255,255,255,0.05); background-color: #161619; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-body { border: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-actions { border-bottom: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-actions .btn:focus,
html[data-bs-theme="dark"] .kc-clien-view .kc-reactions .btn:focus { border-color: rgba(255,255,255,0.3); }
html[data-bs-theme="dark"] .kc-pager-wrap .button_next_page { color: #b8b8bb; background-color: #121215; }
html[data-bs-theme="dark"] .kc-pager-wrap .button_next_page:hover { color: #b8b8bb; }
html[data-bs-theme="dark"] .kc-pager-wrap .button_next_page:focus { background-color: #1a1a1d; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-meta strong { color: #d8d8db; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-info { background-color: #151518; border: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-info .kc-name { color: #a2a2a5; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-info .kc-sv-menu { background: #121215; color: #b8b8bb; border: 1px solid rgba(255,255,255,0.15); }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-info .kc-sv-menu li { border-bottom: 1px dotted #2e2e31; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-info .kc-sv-menu li > a,
html[data-bs-theme="dark"] .kc-clien-view .kc-post-info .kc-sv-menu li.kc-sv-id { color: #b8b8bb; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-info .kc-sv-menu li.kc-sv-id { color: #f7f7fa; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-info .kc-sv-menu li > a:hover { background-color: #151518; }
html[data-bs-theme="dark"] .kc-clien-view .kc-post-head ~ .kc-post-body { border-top: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-comments .kc-comment-head { color: #b8b8bb; background-color: #1a1a1d; }
html[data-bs-theme="dark"] .kc-clien-comments .kc-comment-head .kc-name { color: #d8d8db; }
html[data-bs-theme="dark"] .kc-clien-comments .kc-comment-head time { color: #b8b8bb; border-right: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-comments .kc-comment-tools > * { border-left: 1px solid #232326; }
html[data-bs-theme="dark"] .kc-clien-comments .kc-comment.is-best .kc-comment-body { background-color: #161619; }
html[data-bs-theme="dark"] .kc-clien-comments .kc-comment-form { background-color: #202023; }
html[data-bs-theme="dark"] .kc-sol-header .gnb-2d { background: #121215; }
html[data-bs-theme="dark"] .kc-sol-header .hd-search { background: #121215; }
html[data-bs-theme="dark"] .kc-sol-header .hd-search:hover,
html[data-bs-theme="dark"] .kc-sol-header .hd-search:focus-visible { border-color: #434346; }
html[data-bs-theme="dark"] .kc-sol-header .hd-user .btn.btn-sm { background: #121215; }
html[data-bs-theme="dark"] .kc-sol-header .mhd-btn { background: #121215; }

/* ---- 수동 지정: 변수·페이지 바탕·헤더·테마 선택 ---- */
html[data-bs-theme="dark"] { color-scheme: dark; --bs-link-color-rgb: 228, 228, 231; --bs-link-hover-color-rgb: 120, 160, 255; --bs-body-color-rgb: 228, 228, 231; --bs-link-hover-color: #78a0ff; --kc-text: #e4e4e7; --kc-muted: #a1a1aa; --kc-line: #27272a; --kc-soft: #18181b; --bs-body-bg: #09090b; --bs-body-color: #e4e4e7; --bs-border-color: #27272a; }
html[data-bs-theme="dark"] body.kc-front { background: #09090b; color: #e4e4e7; }
html[data-bs-theme="dark"] .kc-sol-header { --sol-fg: #fafafa; --sol-muted: #a1a1aa; --sol-border: #27272a; --sol-soft: #27272a; background: rgba(9, 9, 11, 0.84); }
html[data-bs-theme="dark"] .kc-sol-header .hd-search, html[data-bs-theme="dark"] .kc-sol-header .hd-user .btn.btn-sm, html[data-bs-theme="dark"] .kc-sol-header .mhd-btn { background: #18181b; }
html[data-bs-theme="dark"] .kc-sol-header .hd-user .btn.btn-sm:hover { background: #27272a; }
html[data-bs-theme="dark"] .kc-sol-header .gnb-2d { background: #18181b; box-shadow: 0 10px 30px rgb(0 0 0 / .5); }
html[data-bs-theme="dark"] .theme-group { --tg-bg: #27272a; --tg-border: #27272a; --tg-active: #18181b; --tg-fg: #fafafa; --tg-muted: #a1a1aa; }
html[data-bs-theme="dark"] .kc-search-bar { background: #121215; }
html[data-bs-theme="dark"] .btn-outline-secondary { --bs-btn-color: #d4d4d8; --bs-btn-border-color: #3f3f46; --bs-btn-hover-bg: #27272a; --bs-btn-hover-color: #fff; }
html[data-bs-theme="dark"] .kc-footer { background: #121215; border-top: 1px solid #27272a; }

html[data-bs-theme="dark"] .kc-menu-all { --ma-bg: #09090b; --ma-card: #121215; --ma-border: #27272a; --ma-fg: #fafafa; --ma-muted: #a1a1aa; --ma-soft: #27272a; --ma-ring: #52525b; }
html[data-bs-theme="dark"] .kc-menu-all .menu-all-card:hover { box-shadow: 0 14px 32px rgb(0 0 0 / .5); }

html[data-bs-theme="dark"] .kc-search-modal { --sm-card: #18181b; --sm-border: #27272a; --sm-fg: #fafafa; --sm-muted: #a1a1aa; --sm-soft: #27272a; --sm-ring: #52525b; }

html[data-bs-theme="dark"] .search-page { --sp-card: #18181b; --sp-border: #27272a; --sp-fg: #fafafa; --sp-muted: #a1a1aa; --sp-soft: #27272a; --sp-ring: #52525b; --sp-brand: #8b95f0; }
html[data-bs-theme="dark"] .search-page .search-tab.on, html[data-bs-theme="dark"] .search-page .search-tab.on:hover { background: #5E6AD2; border-color: #5E6AD2; color: #FFF; }

html[data-bs-theme="dark"] .sol-board { --sb-card: #121215; --sb-border: #27272a; --sb-border-sub: #1f1f23; --sb-fg: #fafafa; --sb-muted: #a1a1aa; --sb-soft: #1d1d21; --sb-ring: #52525b; --sb-brand: #8b95f0; --sb-secondary: #27272a; }
html[data-bs-theme="dark"] .sol-board .bd-filter.on, html[data-bs-theme="dark"] .sol-board .bd-filter.on:hover, html[data-bs-theme="dark"] .sol-board .sb-pager .board-nav a.active { background: #5E6AD2; border-color: #5E6AD2; color: #FFF; }
html[data-bs-theme="dark"] .sol-board .badge-notice { background: #3b1d1d; color: #fca5a5; }
html[data-bs-theme="dark"] .sol-board table.sb-list tr.is-current td { background: rgba(245, 158, 11, 0.16); }

html[data-bs-theme="dark"] .sol-write { --sw-card: #121215; --sw-bg: #09090b; --sw-border: #27272a; --sw-input: #34343b; --sw-fg: #fafafa; --sw-muted: #a1a1aa; --sw-soft: #27272a; --sw-ring: #52525b; --sw-brand: #5E6AD2; }
html[data-bs-theme="dark"] .sol-write .sw-btn:hover { background: #34343b; color: #fff; }
