/* ⌨️ 업무 타자 */
.ty-stats { display: flex; gap: 14px; margin: 12px 0 6px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ty-target { min-height: 34px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px 8px 0 0; background: var(--subtle); font-size: 17px; line-height: 1.6; letter-spacing: .5px; }
.ty-target .ok { color: #1a7f37; }
.ty-target .bad { color: #fff; background: #cf222e; border-radius: 2px; }
.ty-target .now { text-decoration: underline; text-decoration-color: var(--accent); }
.ty-n { margin-right: 10px; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.ty-input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; background: var(--bg); color: var(--fg); font: inherit; font-size: 17px; resize: none; }
.ty-input:focus { outline: 2px solid var(--focus); outline-offset: -1px; }
.ty-result { display: grid; justify-items: center; gap: 4px; margin: 14px 0; padding: 16px; border-radius: 10px; background: var(--subtle); text-align: center; }
.ty-cpm { font-size: 34px; }
.ty-best { color: #9a6700; font-weight: 600; }
.ty-input.shake { animation: ty-shake .3s; border-color: #cf222e; }
@keyframes ty-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .ty-input.shake { animation: none; } }
.ty-periods { display: flex; gap: 4px; margin-bottom: 6px; }
.ty-periods .btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.ty-board { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px; font-size: 13px; }
.ty-board li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 6px; align-items: center; padding: 3px 4px; border-radius: 6px; }
.ty-board li.me { background: var(--subtle); font-weight: 600; }
.ty-board li > b { text-align: center; }
.ty-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ty-num { font-variant-numeric: tabular-nums; }
.ty-peer { padding: 6px 8px; font-size: 12px; }
#race { margin-top: 14px; }
