/* Bulls & Cows — code slots, keypad and the two guess boards. */
.bc-head { display: flex; align-items: center; justify-content: space-between; width: min(100%, 420px); gap: 8px; }
.bc-head b { font-size: 18px; }
.bc-code { font-size: 13px; color: var(--muted); background: var(--card); border-radius: 999px; padding: 3px 10px; cursor: pointer; min-height: 20px; }
.bc-code:empty { display: none; }
.bc-turn { font-weight: 700; min-height: 24px; margin: 8px 0 6px; text-align: center; }
.bc-slots { display: flex; gap: 10px; margin: 2px 0 10px; }
.bc-slots i { width: 54px; height: 64px; border-radius: 12px; background: var(--card); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 32px; font-weight: 800; }
.bc-slots i.f { border-color: var(--primary); animation: bc-pop .2s ease both; }
.bc-slots.bad { animation: bc-shake .35s ease both; }
.bc-slots.hint i { border-color: var(--gold); box-shadow: 0 0 12px #ffc53388; }
@keyframes bc-pop { from { transform: scale(.7); } to { transform: scale(1); } }
@keyframes bc-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.bc-pad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; width: min(100%, 360px); }
.bc-pad button { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font-size: 22px; font-weight: 700; cursor: pointer; }
.bc-pad button:active { transform: scale(.94); }
.bc-pad button[disabled] { opacity: .3; }
.bc-pad button.del { grid-column: span 5; font-size: 16px; min-height: 40px; }
.bc-tools { display: flex; gap: 10px; justify-content: center; margin: 10px 0; min-height: 40px; flex-wrap: wrap; }
.bc-tools .tnz-btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.bc-boards { display: flex; gap: 10px; width: min(100%, 420px); }
.bc-boards section { flex: 1; min-width: 0; background: var(--card); border-radius: 12px; padding: 8px; }
.bc-boards h2 { font-size: 13px; margin: 0 0 6px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.bc-list li { display: flex; justify-content: space-between; align-items: center; background: var(--bg2); border-radius: 8px; padding: 4px 8px; font-variant-numeric: tabular-nums; animation: bc-flip .45s ease both; }
.bc-list li b { letter-spacing: 3px; font-size: 17px; }
.bc-list li span { font-size: 13px; white-space: nowrap; }
.bc-list li.win { background: linear-gradient(90deg, #3ddc8455, transparent); box-shadow: inset 0 0 0 2px var(--ok); }
@keyframes bc-flip { from { transform: rotateX(90deg); opacity: 0; } to { transform: none; opacity: 1; } }
