/* xco.kr — fff.css 위에 얼굴·도구 화면. 숯색 머리·첫 화면, 노란 줄무늬 띠, 서랍 모양 목록, 표. 움직임 없음. */
.b-xco { --accent: light-dark(#b45309, #fbbf24); --accent-ink: light-dark(#ffffff, #1a1203); --coal: #1c1917; --amber: #fbbf24;
  --bg2: light-dark(#f7f6f3, #1a1816); --line: light-dark(#e7e3dc, #33302b); --radius: 10px; }
.cat-archive { --c: light-dark(#b45309, #fbbf24); --c-bg: light-dark(#fef3c7, #3a2c0c); }
.cat-check { --c: light-dark(#0f766e, #5eead4); --c-bg: light-dark(#ccfbf1, #0f2e2b); }
.b-xco .top { background: var(--coal); border-bottom: 0; }
.b-xco .top .logo, .b-xco .top .logo b, .b-xco .top-nav a { color: #fafaf9; }
.b-xco .top .logo span { color: rgb(250 250 249 / .6); }
.b-xco .logo .mark { background: var(--amber); color: var(--coal); border-radius: 4px; font-weight: 900; }
.b-xco .top-nav a:hover { background: rgb(255 255 255 / .08); }
.b-xco .lang summary { color: #fafaf9; border-color: rgb(255 255 255 / .2); }
.b-xco .btn { border-radius: 8px; font-weight: 800; }
.b-xco .btn-primary { background: var(--amber); border-color: var(--amber); color: var(--coal); }
.b-xco .foot { background: var(--coal); color: rgb(250 250 249 / .7); border-top: 0; }
.b-xco .foot a, .b-xco .foot-dir a { color: rgb(250 250 249 / .78); }
.b-xco .foot-h { color: #fafaf9; }
.b-xco .foot-dir { border-bottom-color: rgb(255 255 255 / .12); }
.b-xco [hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* 첫 화면 */
.x-hero { background: var(--coal); color: #fafaf9; }
.x-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: center; padding-top: 46px; padding-bottom: 40px; }
@media (max-width: 820px) { .x-hero-in { grid-template-columns: 1fr; } }
.x-hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3rem); font-weight: 900; letter-spacing: -.03em; }
.x-hero .lead { color: rgb(250 250 249 / .8); }
.x-hero .badges li { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .16); color: #fff; box-shadow: none; }
.x-hero .badges .ck { color: var(--amber); }
.x-drop { display: grid; justify-items: center; gap: 6px; padding: 34px 20px; border: 2px dashed var(--amber); border-radius: 14px; color: #fafaf9; text-decoration: none; background: rgb(251 191 36 / .06); }
.x-drop:hover { background: rgb(251 191 36 / .12); }
.x-drop span { font-size: 2.4rem; }
.x-drop b { font-size: 1.15rem; }
.x-drop small { color: rgb(250 250 249 / .6); letter-spacing: .08em; }
.x-tape { height: 14px; background: repeating-linear-gradient(-45deg, var(--amber) 0 16px, var(--coal) 16px 32px); }
/* 도구 목록(서랍) */
.x-tools { padding-top: 10px; }
.x-cat { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin: 28px 0 10px; }
.x-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.x-row { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 18px; border: 1px solid var(--line); border-inline-start: 6px solid var(--c); border-radius: 10px; background: var(--card); color: var(--ink); text-decoration: none; }
.x-row:hover { background: var(--bg2); }
.x-row .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: var(--c-bg); font-size: 1.4rem; flex: none; }
.x-t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.x-t b { font-size: 1.08rem; }
.x-t span { color: var(--dim); font-size: .95rem; }
.x-row em { font-style: normal; font-size: 1.6rem; color: var(--c); }
.x-how { padding-top: 30px; }
.x-how h2 { font-size: 1.35rem; margin: 0 0 14px; }
.x-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.x-how li { display: flex; gap: 12px; padding: 16px; border-radius: 10px; background: var(--bg2); border-top: 4px solid var(--amber); }
.x-how li b { flex: none; font-size: 1.4rem; font-weight: 900; color: var(--accent); }
/* 도구 화면 */
.xco .work { margin-top: 16px; display: grid; gap: 12px; }
.center { justify-content: center; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.ftable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ftable th { text-align: start; background: var(--bg2); padding: 10px 12px; font-weight: 700; white-space: nowrap; }
.ftable td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.ftable .n { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ftable .fname { word-break: break-all; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-align: start; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.btn.sm { min-height: 40px; padding: 0 12px; font-size: .9rem; }
.preview { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--card); }
.preview img { max-width: 100%; max-height: 60vh; display: block; }
.preview pre { margin: 0; max-height: 50vh; overflow: auto; white-space: pre-wrap; word-break: break-word; font: .9rem/1.5 ui-monospace, Menlo, Consolas, monospace; }
.bar-opts { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); }
.bar-opts .opt { min-width: 200px; flex: 1; }
.gz-item { grid-template-columns: 1fr auto auto; }
.hash-item { display: grid; grid-template-columns: 1fr; gap: 6px; }
.hash-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; align-items: center; }
.hash-dl dt { font-weight: 700; color: var(--dim); }
.hash-dl dd { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.hash-dl code { font: .85rem/1.4 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; padding: 2px 6px; border-radius: 6px; background: var(--bg2); }
.hash-dl code.match { background: color-mix(in srgb, var(--ok) 25%, transparent); outline: 2px solid var(--ok); }
.ocr-name { margin: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.err { color: var(--bad); font-weight: 700; }
.done { margin: 0; font-weight: 700; color: var(--ok); }
.xco .bar i { width: 0; animation: none; transition: width .2s; }
@media (max-width: 560px) { .gz-item { grid-template-columns: 1fr; } .ftable th:nth-child(3), .ftable td:nth-child(3) { display: none; } }
