/* 인생 4천 주(성장길 02). 밤 토큰(#0b1422·#f3f1e8·#8b97ad) + --accent(성장길) + 부모님 점 #9dff8a(우정길 색)
   폰: 입력 → 결과(판 전체가 한 화면). 넓은 창(1100px~): 입력 왼쪽, 판 오른쪽 크게 */
.wk { display: flex; flex-direction: column; gap: 24px; }
.wk-birth { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 12px; }
.wk-birth > *, .wk-birth input { min-width: 0; }
.wk-out { display: none; flex-direction: column; gap: 16px; min-width: 0; }
.wk-out.on { display: flex; }
.wk-out.on .wk-wait { display: none; }
.wk-form[hidden] { display: none; }

.wk-board { min-width: 0; margin: 4px 0 0; }
.wk-cols { display: flex; justify-content: space-between; font-size: 11px; color: #8b97ad; margin: 0 0 4px; box-sizing: border-box; }
.wk-stage { position: relative; width: max-content; max-width: 100%; touch-action: pan-y; }
.wk-cv { display: block; cursor: crosshair; }
.wk-now { position: absolute; display: none; box-sizing: border-box; border: 2px solid #fff8ec; border-radius: 2px; pointer-events: none;
  box-shadow: 0 0 8px #fff8ec, 0 0 14px var(--accent); }
.wk-now.on { display: block; animation: wk-blink 1.1s ease-in-out infinite; }
@keyframes wk-blink { 50% { opacity: .15; } }
.wk-tip { position: absolute; z-index: 2; translate: -50% calc(-100% - 8px); margin: 0; padding: 6px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none;
  background: rgba(8,12,20,.94); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); color: #f3f1e8; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.wk-tip[hidden] { display: none; }

.wk-key { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; font-size: 12.5px; color: #c9cdd6; }
.wk-key li { display: flex; align-items: center; gap: 6px; }
.wk-key i { width: 11px; height: 11px; border-radius: 2px; display: inline-block; }
.wk-key .k-past { background: var(--accent); }
.wk-key .k-now { background: #fff8ec; box-shadow: 0 0 6px #fff8ec; }
.wk-key .k-left { background: rgba(243,241,232,.11); outline: 1px solid rgba(243,241,232,.18); }
.wk-key .k-dot { background: #9dff8a; border-radius: 50%; }
.wk-par { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.wk-par .svc-sub b { color: #9dff8a; }

@media (min-width: 1100px) {
  .wk { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .wk-form[hidden] { display: flex; }
  .wk-out { display: flex; border-left: 1px solid rgba(243,241,232,.12); padding-left: 56px; min-height: 100%; }
  .wk-out:not(.on) > :not(.wk-wait) { display: none; }
  .wk-wait { color: #8b97ad; font-size: 15px; line-height: 1.7; padding-top: 6px; }
  .wk-again { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wk-now.on { animation: none; } }
