/* 백팩 — 내 설정 · 관리자 */
.cfg { padding: 18px 22px 48px; max-width: 1040px; }
.cf-head h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.cf-head p { margin: 4px 0 14px; font-size: 12.5px; color: var(--tx2); }
.cf-loading { color: var(--tx3); padding: 20px 0; }
.cf-note { margin: 0 0 14px; padding: 10px 12px; border-radius: 4px; background: rgba(217, 174, 74, .1); border-left: 3px solid var(--warn); font-size: 13px; line-height: 1.6; color: var(--tx); }
.cf-note code, .cf-hint code, .ad-keys code { font-family: Consolas, ui-monospace, monospace; font-size: 12px; background: var(--bg3); padding: 1px 5px; border-radius: 3px; }
.cf-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cf-sec { background: var(--bg1); border-radius: 4px; padding: 14px 16px 16px; margin-bottom: 12px; }
.cf-form .cf-sec { margin: 0; }
.cf-sec.wide { grid-column: 1 / -1; }
.cf-sec h2 { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.cf-f { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 10px; margin: 8px 0; font-size: 13px; }
.cf-f > span:first-child { color: var(--tx2); }
.cf-f input, .cf-f select, .ad-bform input, .ad-bform select, .ad-row select { height: 32px; padding: 0 9px; border-radius: 4px; border: 1px solid var(--line2); background: var(--bg0); color: var(--tx); font-size: 13px; min-width: 0; }
.cf-f input:focus, .ad-bform input:focus { outline: 2px solid var(--acc); outline-offset: -1px; }
.cf-ro { font-variant-numeric: tabular-nums; font-weight: 500; }
.cf-chk { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; cursor: pointer; }
.cf-chk input, .cf-store input { width: 15px; height: 15px; accent-color: #5C8A1E; }
.cf-hint { margin: 6px 0 0; font-size: 12px; color: var(--tx3); }
.cf-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 12px; }
.cf-store { display: flex; align-items: center; gap: 7px; font-size: 13px; padding: 4px 0; cursor: pointer; }
.cf-store img { border-radius: 2px; }
.cf-store .cf-hint { margin: 0 0 0 auto; font-size: 11px; }
.cf-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.cf-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 4px; background: var(--bg3); border: 1px solid var(--line2); font-weight: 600; font-size: 13px; color: var(--tx); cursor: pointer; white-space: nowrap; }
.cf-btn:hover:not(:disabled) { background: var(--bg4); }
.cf-btn:disabled { opacity: .45; cursor: default; }
.cf-btn.pri { background: #5C8A1E; border-color: #5C8A1E; color: #fff; }
.cf-btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }

/* 관리자 표 */
.ad-tbl { display: flex; flex-direction: column; }
.ad-row { display: grid; grid-template-columns: minmax(220px, 2fr) 90px 56px 96px minmax(150px, 1.3fr) 110px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ad-row.hd { border-top: 0; padding-top: 0; font-size: 11.5px; color: var(--tx3); font-weight: 600; }
.ad-row.st { grid-template-columns: minmax(220px, 2fr) 120px minmax(0, 2fr); }
.ad-row > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ad-row small { font-size: 11.5px; color: var(--tx3); line-height: 1.4; }
.ad-row-now, .ad-run-now { color: var(--warn); }
.ad-err { color: var(--hot); }
.cf-tog { position: relative; display: inline-block; width: 30px; height: 17px; }
.cf-tog input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cf-tog i { position: absolute; inset: 0; border-radius: 99px; background: var(--bg4); transition: background .15s; pointer-events: none; }
.cf-tog i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--tx2); transition: transform .15s; }
.cf-tog input:checked + i { background: #5C8A1E; }
.cf-tog input:checked + i::after { transform: translateX(13px); background: #fff; }
.cf-tog input:disabled + i { opacity: .35; }
.ad-runs { display: flex; flex-direction: column; }
.ad-run { border-top: 1px solid var(--line); }
.ad-run summary { display: grid; grid-template-columns: 10px minmax(160px, 1fr) 90px 80px 60px minmax(0, 2fr); gap: 10px; align-items: center; padding: 8px 0; font-size: 13px; cursor: pointer; list-style: none; }
.ad-run summary::-webkit-details-marker { display: none; }
.ad-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tx3); }
.ad-run.ok .ad-dot { background: #7DBA5A; } .ad-run.bad .ad-dot { background: var(--hot); }
.ad-run pre { margin: 0 0 10px 20px; padding: 8px 10px; background: var(--bg0); border-radius: 4px; font: 12px/1.5 Consolas, ui-monospace, monospace; color: var(--tx2); white-space: pre-wrap; max-height: 240px; overflow: auto; }
.ad-keys { list-style: none; margin: 0; padding: 0; }
.ad-keys li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
.ad-keys .ok { color: #7DBA5A; font-weight: 600; } .ad-keys .no { color: var(--tx3); }
.ad-bform { display: grid; grid-template-columns: 2fr 1fr 2fr 100px 80px 140px 2fr auto; gap: 6px; margin: 10px 0; }
/* v19 번들 직접 입력: 4칸 격자 + 붙여 넣기 → Steam 이름 찾기 결과 */
.ad-bform.v19 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ad-bform .w2 { grid-column: span 2; } .ad-bform .w4 { grid-column: 1 / -1; }
.ad-bform textarea { padding: 7px 9px; border-radius: 4px; border: 1px solid var(--line2); background: var(--bg0); color: var(--tx); font: 13px/1.45 inherit; resize: vertical; min-width: 0; }
.ad-bmatch:empty { display: none; }
.ad-bm { list-style: none; margin: 4px 0 0; padding: 0; max-height: 320px; overflow: auto; border-top: 1px solid var(--line); }
.ad-bm li { display: grid; grid-template-columns: minmax(0, 2fr) 110px minmax(0, 2fr) 90px; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.ad-bm label { display: flex; gap: 6px; align-items: center; min-width: 0; } .bm-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-bm .bm-how { color: var(--tx3); font-size: 11.5px; }
.ad-bm li.how-name .bm-how, .ad-bm li.how-appid .bm-how, .ad-bm li.how-manual .bm-how { color: #7DBA5A; }
.ad-bm li.how-none .bm-how, .ad-bm li.how-ambiguous .bm-how, .ad-bm li.how-edition .bm-how { color: var(--warn, #FFB547); }
.ad-bm select, .ad-bm .bm-id { height: 28px; padding: 0 6px; border-radius: 4px; border: 1px solid var(--line2); background: var(--bg0); color: var(--tx); font-size: 12px; min-width: 0; }
.ad-bm .bm-s { color: var(--tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-blist { list-style: none; margin: 8px 0 0; padding: 0; }
.ad-blist li { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 90px 110px 80px auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }

@media (max-width: 960px) {
  .cf-form { grid-template-columns: 1fr; }
  .ad-row { grid-template-columns: minmax(0, 1fr) 56px 90px; }
  .ad-row > span:nth-child(2), .ad-row > span:nth-child(5) { display: none; }
  .ad-row.hd > span:nth-child(2), .ad-row.hd > span:nth-child(5) { display: none; }
  .ad-row.st { grid-template-columns: 1fr; }
  .ad-bform, .ad-bform.v19 { grid-template-columns: 1fr 1fr; }
  .ad-bm li { grid-template-columns: minmax(0, 1fr) 80px; } .ad-bm li > .bm-how { display: none; }
  .ad-run summary { grid-template-columns: 10px 1fr 80px 70px; }
  .ad-run summary > :nth-child(5), .ad-run summary > :nth-child(6) { display: none; }
  .ad-blist li { grid-template-columns: 1fr auto; }
  .ad-blist li > span { display: none; }
}
@media (max-width: 720px) {
  .cfg { padding: 14px 12px 32px; }
  .cf-f { grid-template-columns: 1fr; gap: 4px; }
  .ad-row { grid-template-columns: minmax(0, 1fr) 56px; }
  .ad-row > span:nth-child(4), .ad-row.hd > span:nth-child(4) { display: none; }
}

/* ===== 관리자 수집 상태판 (v2) ===== */
.ad-sch { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ad-sch h2 { margin-bottom: 4px; }
.ad-sch-st { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; }
.ad-sch-st i { width: 9px; height: 9px; border-radius: 50%; background: var(--tx3); }
.ad-sch-st.on i { background: #7DBA5A; } .ad-sch-st.on { color: var(--tx); }
.ad-sch-st.off { color: var(--tx2); }
.ad-sch-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cf-tog.big { width: 40px; height: 22px; }
.cf-tog.big i::after { width: 18px; height: 18px; }
.cf-tog.big input:checked + i::after { transform: translateX(18px); }
.cf-sec h2 .cf-hint { font-weight: 400; margin-left: 8px; }
.ad-src .ad-row { grid-template-columns: minmax(200px, 1.6fr) 44px 108px minmax(130px, 1fr) minmax(120px, 1fr) minmax(120px, 1fr) 150px; align-items: start; }
.ad-src .ad-row > span { padding-top: 2px; }
.ad-src .ad-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ad-src .ad-row.is-run { background: rgba(217, 174, 74, .06); }
.ad-acts { flex-direction: row !important; flex-wrap: wrap; gap: 4px !important; justify-content: flex-end; }
.cf-btn.ghost { background: transparent; }
.ad-fr { display: inline-block; padding: 0 5px; border-radius: 2px; font-size: 10.5px; font-weight: 700; margin-right: 4px; }
.ad-fr.ok { background: rgba(125, 186, 90, .16); color: #7DBA5A; }
.ad-fr.late { background: rgba(217, 174, 74, .16); color: var(--warn); }
.ad-fr.old { background: rgba(224, 96, 63, .16); color: var(--hot); }
.ad-fr.none { color: var(--tx3); }
.ad-opt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 10px 12px; background: var(--bg0); border-radius: 4px; }
.ad-opt label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--tx2); }
.ad-opt input { width: 110px; height: 30px; padding: 0 8px; border-radius: 4px; border: 1px solid var(--line2); background: var(--bg1); color: var(--tx); font-size: 13px; }
.ad-opt small { font-size: 11px; color: var(--tx3); }
/* v7: 실행 시각 상자(범위 상자와 같은 모양) */
.ad-opt [hidden] { display: none; }
.ad-opt select { height: 30px; padding: 0 8px; border-radius: 4px; border: 1px solid var(--line2); background: var(--bg1); color: var(--tx); font-size: 13px; }
.ad-opt input[data-sch-times] { width: 200px; }
.ad-when { display: block; font-weight: 600; }
.ad-run summary { grid-template-columns: 10px minmax(150px, 1fr) 90px 70px 130px 120px minmax(0, 2fr); }
@media (max-width: 1100px) {
  .ad-src .ad-row { grid-template-columns: minmax(0, 1.4fr) 44px minmax(110px, 1fr) minmax(110px, 1fr) 120px; }
  .ad-src .ad-row > span:nth-child(3), .ad-src .ad-row > span:nth-child(6) { display: none; }
}
@media (max-width: 720px) {
  .ad-src .ad-row { grid-template-columns: minmax(0, 1fr) 44px; }
  .ad-src .ad-row > span:nth-child(4), .ad-src .ad-row > span:nth-child(5) { display: flex; grid-column: 1 / -1; }
  .ad-src .ad-row > .ad-acts { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ===== v4: 수집기 상태 배지 · 매칭 검수 ===== */
.ad-badges { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 4px !important; align-items: center; margin: 2px 0; }
.ad-badges .ad-fr { margin: 0; }
.ad-badges .ad-err { font-size: 11px; }
.ad-why { color: var(--tx2) !important; }
.ad-why b { color: var(--warn); font-weight: 600; }
.ad-cur { font-style: normal; font-size: 10px; font-weight: 600; color: var(--tx3); border: 1px solid var(--line2); border-radius: 2px; padding: 0 3px; margin-left: 4px; vertical-align: 1px; }
.am-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.am-tools .dv-q { width: 220px; }
.am-tools .dv-q input { border: 0; outline: none; background: none; min-width: 0; flex: 1; font-size: 13px; color: var(--tx); }
.am-tools .cf-hint { margin: 0; }
.am-list { display: flex; flex-direction: column; }
.am-row { display: grid; grid-template-columns: 150px minmax(0, 1.2fr) minmax(0, 1fr) 80px 96px auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.am-row.is-rej { opacity: .7; }
.am-row > span { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.am-row small { font-size: 11px; color: var(--tx3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-s { flex-direction: row !important; align-items: center; gap: 7px !important; }
.am-s img { border-radius: 2px; flex: none; }
.am-s > span { display: flex; flex-direction: column; min-width: 0; color: var(--tx2); }
.am-t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-g a { color: var(--tx); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-g a:hover { color: var(--acc); }
.am-p { text-align: right; font-variant-numeric: tabular-nums; }
.am-m .ad-fr { align-self: flex-start; }
.am-a { flex-direction: row !important; flex-wrap: wrap; gap: 4px !important; justify-content: flex-end; }
.am-link { grid-column: 1 / -1; padding: 10px 12px; background: var(--bg0); border-radius: 4px; }
.am-link label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--tx2); max-width: 360px; }
.am-link input { height: 32px; padding: 0 9px; border-radius: 4px; border: 1px solid var(--line2); background: var(--bg1); color: var(--tx); font-size: 13px; }
.am-res { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.am-res li { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; }
.am-res li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.am-res li > small { margin-left: auto; flex: none; }
@media (max-width: 1100px) {
  .am-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 80px; }
  .am-s { grid-column: 1 / -1; }
  .am-m { grid-column: 1; }
  .am-a { grid-column: 2 / -1; }
}
@media (max-width: 720px) {
  .am-row { grid-template-columns: minmax(0, 1fr) auto; }
  .am-t, .am-g { grid-column: 1 / -1; }
  .am-p { grid-column: 2; grid-row: 1; }
  .am-m { grid-column: 1; }
  .am-a { grid-column: 1 / -1; justify-content: flex-start; }
  .am-tools .dv-q { width: 100%; }
}

/* v5: steam_catalog·steam_details 진행률 막대 */
.ad-prog { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.ad-pbar { position: relative; display: block; height: 5px; max-width: 260px; border-radius: 2px; background: var(--bg3); overflow: hidden; }
.ad-pbar i { position: absolute; left: 0; top: 0; bottom: 0; background: #5C8A1E; border-radius: 2px; }
.ad-prog small { font-variant-numeric: tabular-nums; }

/* ===== 2026-10-18 내 설정 재구성 · 관리자 연동 상태 ===== */
.cf-auto { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 2px; background: var(--bg3); color: var(--tx2); font-size: 12px; font-weight: 600; vertical-align: 1px; white-space: nowrap; }
.cf-acct { display: flex; align-items: flex-start; gap: 14px; margin: 4px 0 10px; }
.cf-av { width: 44px; height: 44px; border-radius: 3px; object-fit: cover; flex: none; }
.cf-av-x { display: inline-block; background: var(--bg4); }
.cf-dl { margin: 0; display: grid; gap: 6px; min-width: 0; }
.cf-dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14px; }
.cf-dl dt { color: var(--tx2); font-size: 13px; }
.cf-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.cf-a { color: var(--acc); text-decoration: none; font-size: 13px; }
.cf-a:hover { text-decoration: underline; }
/* v22: 상단 바에서 옮겨 온 동기화 상태 한 줄(점 색 + 글자 — 색만으로 구분하지 않음) */
.cf-sync-st { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 12px 0 0; font-size: 13px; color: var(--tx2); font-variant-numeric: tabular-nums; }
.cf-sync-st b { color: var(--tx); font-weight: 600; }
.cf-sync-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.cf-sync-st.is-running .cf-sync-dot { background: var(--acc); }
.cf-sync-st.is-bad .cf-sync-dot { background: var(--warn, #D9AE4A); }
.cf-sync { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 10px 0 0; padding: 10px 12px; border-radius: 4px; background: var(--bg2); }
.cf-sync-l { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 13px; color: var(--tx2); font-variant-numeric: tabular-nums; }
.cf-sync-l b { color: var(--tx); font-weight: 600; }
.cf-run { color: var(--acc); font-weight: 600; }
.cf-priv { margin: 10px 0 0; }
.cf-priv .cf-a { margin-left: 6px; font-weight: 600; }
.cf-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.cf-acts .cf-hint { margin: 0; }
.cf-btn.danger { background: transparent; border-color: rgba(224, 96, 63, .55); color: #F08A6E; }
.cf-btn.danger:hover:not(:disabled) { background: rgba(224, 96, 63, .12); }
.cf-chk { align-items: flex-start; }
.cf-chk input { margin-top: 2px; }
.cf-chk small { display: block; margin-top: 2px; font-size: 12px; color: var(--tx3); line-height: 1.45; }
.cf-sub { margin: -2px 0 8px; }
.cf-f > .cf-bn select { min-width: 160px; }
.cf-hint { font-size: 12px; }
.cf-dlg { width: min(460px, calc(100vw - 32px)); padding: 18px 20px; border: 1px solid var(--line2); border-radius: 4px; background: var(--bg1); color: var(--tx); }
.cf-dlg::backdrop { background: rgba(5, 7, 10, .6); }
.cf-dlg h2 { margin: 0 0 8px; font-size: 17px; }
.cf-dlg p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--tx2); }
.cf-dlg .cf-f { grid-template-columns: 1fr; gap: 6px; }
.cf-dlg .cf-acts { justify-content: flex-end; }
/* 관리자: 연동 상태 칸 */
.ad-integ { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--bg0); border-radius: 4px; overflow: hidden; }
.ad-integ > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); min-width: 0; }
.ad-integ > div:nth-child(5n + 1) { border-left: 0; }
.ad-integ > div:nth-child(-n + 5) { border-top: 0; }
.ad-integ span { font-size: 12px; color: var(--tx2); }
.ad-integ b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-integ small { font-size: 12px; color: var(--tx3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-integ .ad-fr { font-size: 11.5px; }
.ad-h3 { margin: 14px 0 6px; font-size: 13px; }
.ad-fails { list-style: none; margin: 0; padding: 0; }
.ad-fails li { display: grid; grid-template-columns: 90px 160px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 1100px) {
  .ad-integ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-integ > div { border-left: 1px solid var(--line) !important; border-top: 1px solid var(--line) !important; }
  .ad-integ > div:nth-child(odd) { border-left: 0 !important; }
  .ad-integ > div:nth-child(-n + 2) { border-top: 0 !important; }
}
@media (max-width: 720px) {
  .cf-dl > div { grid-template-columns: 1fr; gap: 2px; }
  .cf-acct { gap: 10px; }
  .ad-fails li { grid-template-columns: 80px minmax(0, 1fr); }
  .ad-fails li > :last-child { grid-column: 1 / -1; }
}
.cf-si-x { display: inline-block; width: 16px; height: 16px; border-radius: 2px; background: var(--bg4); flex: none; }


/* v23: 서버에 Steam 키가 없을 때 — 관리자 화면 맨 위 경고 한 줄(눈에 띄게), 내 설정 동기화 칸의 안내 한 줄 */
.ad-alert { margin: 0 0 14px; padding: 10px 14px; border-radius: 4px; background: rgba(255, 107, 90, .12); border: 1px solid rgba(255, 107, 90, .55); border-left-width: 4px; color: var(--tx); font-size: 13.5px; font-weight: 600; line-height: 1.55; }
.cf-nokey { margin: 10px 0 0; }

/* v62 스토어별 수집 현황 */
.ad-cat-f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 6px 0 10px; }
.ad-cat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cf-chip { border: 1px solid var(--line2); background: var(--bg2); color: var(--tx2); border-radius: 999px; padding: 3px 10px; font: 600 12px var(--sans); cursor: pointer; }
.cf-chip b { color: var(--tx3); font-weight: 700; margin-left: 2px; }
.cf-chip.on { border-color: var(--acc); color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, transparent); }
.cf-chip.on b { color: var(--acc); }
.ad-cat-q { margin-left: auto; min-width: 200px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg2); color: var(--tx); font: 13px var(--sans); }
.ad-cat-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.ad-cat { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 860px; }
.ad-cat th, .ad-cat td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ad-cat th { font-size: 11.5px; color: var(--tx3); font-weight: 700; background: var(--bg2); position: sticky; top: 0; }
.ad-cat td small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--tx3); line-height: 1.45; }
.ad-cat td a { color: var(--acc); }
.ad-cat tr:last-child td { border-bottom: 0; }
.ad-cat-cls { display: inline-block; min-width: 20px; text-align: center; padding: 0 6px; border-radius: 4px; font-weight: 800; font-size: 11.5px; }
.ad-cat-cls.cls-A { color: var(--ok); background: color-mix(in srgb, var(--ok) 16%, transparent); }
.ad-cat-cls.cls-B { color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); }
.ad-cat-cls.cls-C { color: var(--hot); background: color-mix(in srgb, var(--hot) 16%, transparent); }
.ad-cat-cls.cls-D { color: var(--tx3); background: var(--bg3); }
.ad-cat-ks { font-style: normal; font-size: 10.5px; padding: 0 5px; border-radius: 3px; color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); }
.ad-cat-st { white-space: nowrap; }
.ad-cat-st small { white-space: normal; }
.ad-cat-ask { margin-top: 12px; font-size: 13px; }
.ad-cat-ask summary { cursor: pointer; font-weight: 700; }
.ad-cat-ask ol { margin: 8px 0 6px; padding-left: 20px; line-height: 1.6; color: var(--tx2); }
@media (max-width: 720px) { .ad-cat-q { margin-left: 0; width: 100%; } }
