
/* ===== 작업 I · 23번(D-219): 인구 지표 공식 가리기(uiveil.js) =====
   흐림은 움직이지 않는다(전환 없음). 누르는 자리는 단서 카드 전체 */
.kv-tip { margin: 6px 0 4px; font-size: var(--kk-fs-1, .75rem); font-weight: 600; color: var(--muted); line-height: 1.5; }
.dr-clue.kv-card { position: relative; min-height: 44px; }
.dr-clue > small.kv { display: block; }
.kv-btn { display: inline; padding: 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent; }
.kv-btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }   /* 카드 전체를 누르는 자리로 */
.dr-clue.kv-card { border-radius: 12px; }
.kv-btn:focus-visible { outline: none; }
.kv-btn:focus-visible::after { outline: 2px solid var(--brand); outline-offset: 2px; }
.kv-txt { display: inline-block; transition: none; }
.kv-btn[aria-pressed="false"] .kv-txt { filter: blur(4px); -webkit-user-select: none; user-select: none; }
@media print { .kv-btn[aria-pressed="false"] .kv-txt { filter: none; visibility: hidden; } }

/* ===== 작업 I · 30번(D-270 · D-279): 문장만 밝게(KkVeil.focus) =====
   흐림은 opacity만(전환 시간은 --kv-ms: 움직임 빠르기 · 움직임 줄이기면 0). 조각에 z-index · pointer-events를 주지 않아 펜 층보다 아래이고 누를 수 있다 */
.kv-focus .kv-seg { opacity: 1; transition: opacity var(--kv-ms, 220ms) ease; }
.kv-focus .kv-seg.kv-dim { opacity: var(--kv-dim, .4); }
.kv-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .kv-focus .kv-seg { transition: none; } }
@media print { .kv-focus .kv-seg.kv-dim { opacity: 1; } }

/* ===== 작업 I · 48번(사용자 10/21, D-461 ④ ⑦): 흐림 대신 파동 · 결과 색(KkVeil.focus · pick · pop) =====
   밝힐 범위(.kv-lit)와 고른 곳(.kv-pick)에 결과 색을 살짝 덮는다. 앞뒤 글은 흐리지 않는다. 파동(.kv-ripple)은 누른 자리에서 퍼진다 */
.kv-focus .kv-seg.kv-dim { opacity: 1; }
.kv-focus .kv-seg.kv-lit { background-color: var(--kv-tint); border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color var(--kv-ms, 220ms) ease; }
/* 49번 1항 ⑪(사용자 10/21 '탁하다'): 결과 색은 맑고 밝은 색(초록 #22c55e · 빨강 #f43f5e · 파랑 #3b82f6)을 옅게. 어둡게에서는 밝힌 글(hint)이 보이도록 더 짙게.
   색은 글자 뒤 바탕에만 깔고 글자 위를 덮지 않는다 */
.kv-focus.kv-tone-hint, .kv-pick-hint { --kv-tint: rgb(59 130 246 / 0.14); --kv-ring: rgb(59 130 246 / 0.45); }
.kv-focus.kv-tone-ok, .kv-pick-ok { --kv-tint: rgb(34 197 94 / 0.2); --kv-ring: rgb(34 197 94 / 0.55); }
.kv-focus.kv-tone-bad, .kv-pick-bad { --kv-tint: rgb(244 63 94 / 0.15); --kv-ring: rgb(244 63 94 / 0.5); }
html[data-mode="dark"] .kv-focus.kv-tone-hint, html[data-mode="dark"] .kv-pick-hint { --kv-tint: rgb(96 165 250 / 0.34); --kv-ring: rgb(96 165 250 / 0.6); }
html[data-mode="dark"] .kv-focus.kv-tone-ok, html[data-mode="dark"] .kv-pick-ok { --kv-tint: rgb(74 222 128 / 0.24); --kv-ring: rgb(74 222 128 / 0.6); }
html[data-mode="dark"] .kv-focus.kv-tone-bad, html[data-mode="dark"] .kv-pick-bad { --kv-tint: rgb(251 113 133 / 0.24); --kv-ring: rgb(251 113 133 / 0.6); }
.kv-pick { background-color: var(--kv-tint); -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color .22s ease; }
span.kv-pick { border-radius: 4px; }
.kv-ripple { position: fixed; z-index: 9200; width: 160px; height: 160px; margin: 0; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(0.1); opacity: 0;
  background: radial-gradient(circle, transparent 38%, var(--kv-ring) 40%, transparent 72%); }
.kv-r-hint { --kv-ring: rgb(59 130 246 / 0.45); }
.kv-r-ok { --kv-ring: rgb(34 197 94 / 0.55); }
.kv-r-bad { --kv-ring: rgb(244 63 94 / 0.5); }
@media (prefers-reduced-motion: reduce) { .kv-pick, .kv-focus .kv-seg.kv-lit { transition: none; } .kv-ripple { display: none; } }
@media print { .kv-pick, .kv-focus .kv-seg.kv-lit { background-color: transparent; } }

