/* 2026-11-22 05:09 커츄 「관리자 쪽도 프론트랑 디자인 똑같이 전부 맞춰」 — 뇌커츄2
   WORK SPACE 화면(커츄어드민 · 커츄워크 · 커츄퀘스트 · 커츄매뉴얼 · 커츄월드 플러그인 …)에만 붙는다.
   ws-menu.php(오른쪽 WORK SPACE 메뉴)가 이 파일을 불러온다. 공개 홈페이지에는 붙지 않는다.
   프론트와 같은 것: 검은 바탕 · Noto Serif KR · 금색(#c6aa75 / #e9d3a0 / #d8b878) · 가는 금색 테두리 · 모서리 거의 없음. */
:root{color-scheme:dark;--ws-bg:#000;--ws-panel:#08080a;--ws-panel2:#0d0d10;--ws-line:rgba(198,170,117,.22);--ws-line2:rgba(198,170,117,.4);--ws-text:#e9e2d2;--ws-muted:#8f8a80;--ws-gold:#c6aa75;--ws-gold2:#e9d3a0;--ws-btn:#d8b878;--ws-btn-text:#17130a}
html,body{background:var(--ws-bg)!important;color:var(--ws-text)!important}
body :not(.kh):not(.kh *):not(.kp-bar *):not(#site-footer *):not(textarea):not(code):not(pre):not(kbd):not(samp):not(svg *){font-family:"Noto Serif KR",serif!important}
textarea,code,pre,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}

/* 판(카드 · 칸) */
body :is(aside,section,.card,.row,.kp-card,.qc,.bar,.songs,form.card,.panel,.box):not(.kh *):not(#site-footer *):not(.kp-bar *){background:var(--ws-panel)!important;border-color:var(--ws-line)!important;border-radius:4px!important;box-shadow:none!important}
body > aside,body aside:first-of-type{border-radius:0!important;border:0!important;border-right:1px solid var(--ws-line)!important;background:#000!important}
body ul:not(.kh *):not(#site-footer *)[class=""],body main ul:not([class]){border-color:var(--ws-line)!important}
.kwh{background:#000!important;border-bottom:1px solid var(--ws-line)!important;box-shadow:none!important}
.kwh *{font-family:"Noto Serif KR",serif!important}

/* 글자 */
body :is(h1,h2,h3):not(.kh *):not(#site-footer *){color:#f3eee3!important;letter-spacing:-.01em}
body :is(small,.muted,.desc,.help,.note):not(.kh *):not(#site-footer *){color:var(--ws-muted)!important}
body a:not(.kh *):not(#site-footer *):not(.kp-bar *):not([class*="btn"]):not(.on):not(.qc){color:var(--ws-gold2)}
code{background:var(--ws-panel2)!important;color:var(--ws-gold2)!important;border:1px solid var(--ws-line)!important;border-radius:2px!important}

/* 입력 칸 */
body :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]):not([type=range]),select,textarea):not(.kh *):not(#site-footer *){background:var(--ws-panel2)!important;color:var(--ws-text)!important;border:1px solid var(--ws-line2)!important;border-radius:2px!important;box-shadow:none!important}
body :is(input,select,textarea):focus{outline:none!important;border-color:var(--ws-gold)!important;box-shadow:0 0 0 1px var(--ws-gold)!important}
input[type=checkbox],input[type=radio]{accent-color:var(--ws-gold)}
::placeholder{color:#6f6a61!important}

/* 단추: 기본 = 금색으로 칠한 단추 (프론트의 「앨범 전체 듣기」) */
body :is(button,input[type=submit],input[type=button],.btn,.kp-btn):not(.kh *):not(.kh-mbtn):not(.kp-bar *):not(#site-footer *):not(.ghost):not(.g):not(.kwh-home){background:var(--ws-btn)!important;color:var(--ws-btn-text)!important;border:1px solid var(--ws-btn)!important;border-radius:2px!important;font-weight:700!important;box-shadow:none!important}
body :is(button,input[type=submit],.btn,.kp-btn):not(.kh *):not(.kp-bar *):not(#site-footer *):not(.ghost):not(.g):not(.kwh-home):hover{background:#e9d3a0!important;border-color:#e9d3a0!important}
/* 테두리만 있는 단추 (프론트의 「수록곡 · 가사 →」) */
body :is(.ghost,.g,.kwh-home,.btn.ghost,.kp-btn.ghost):not(.kh *):not(#site-footer *){background:transparent!important;color:var(--ws-gold2)!important;border:1px solid var(--ws-line2)!important;border-radius:2px!important}
body :is(.ghost,.g,.kwh-home):not(.kh *):hover{border-color:var(--ws-gold)!important;color:#f3dca6!important}

/* 탭 · 알약 메뉴 (커츄퀘스트 · 커츄매뉴얼 위쪽 단추줄, 커츄어드민 왼쪽 메뉴) → 프론트처럼 모서리 거의 없이 금색 */
body nav a:not(.kh *):not(#site-footer *),body .tabs a,body .sub{border-radius:2px!important;border-color:var(--ws-line2)!important;color:var(--ws-text)!important}
body :is(nav a.on,.tabs a.on,a.on,a[aria-current="page"]):not(.kh *):not(#site-footer *){background:var(--ws-btn)!important;color:var(--ws-btn-text)!important;border-color:var(--ws-btn)!important}
body aside a.on:not(.kh *){background:rgba(198,170,117,.14)!important;color:#f3dca6!important;border-left:2px solid var(--ws-gold)!important}

/* 표 */
body table:not(.kh *){border-color:var(--ws-line)!important}
body :is(th,td):not(.kh *){border-color:var(--ws-line)!important}
body th:not(.kh *){color:var(--ws-gold)!important;font-weight:700}
hr{border:0!important;border-top:1px solid var(--ws-line)!important}
input[type=file]{color:var(--ws-muted)!important}
input[type=file]::file-selector-button{background:transparent;color:var(--ws-gold2);border:1px solid var(--ws-line2);border-radius:2px;padding:6px 12px;margin-right:10px;font-family:"Noto Serif KR",serif;cursor:pointer}
/* 커츄워크 위 메뉴 (묶음 단추 · 분류 줄) */
.kwh-fam{border-radius:2px!important;border-color:var(--ws-line2)!important;color:var(--ws-text)!important;background:transparent!important}
.kwh-fam:hover{border-color:var(--ws-gold)!important;color:#f3dca6!important}
.kwh-fon{background:var(--ws-btn)!important;color:var(--ws-btn-text)!important;border-color:var(--ws-btn)!important}
.kwh-link{color:#bdb6a8!important;border-bottom-color:transparent}
.kwh-link:hover{color:#f3dca6!important}
.kwh-on{color:#f3dca6!important;border-bottom-color:var(--ws-gold)!important}
.kwh-n{color:var(--ws-muted)!important}
/* 2026-11-22 위 메뉴를 늘 펼쳐 두므로, 스크롤할 때 화면을 가리지 않게 위에 붙여 두지 않는다 */
.kwh{position:relative!important}
