/* Canasta-family hand calculators (canasta.js, samba.js, hand-and-foot.js share these classes) */
.tl-mc .tl-mc-side { border-top: 2px solid var(--card-line); padding: .4rem 0 .6rem; margin-top: .4rem; }
.tl-mc .tl-mc-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.tl-mc .tl-mc-head h4 { margin: .2rem 0; font-size: 1.1rem; }
.tl-mc .tl-mc-sub { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-mc .tl-field > label { font-size: .95rem; color: var(--card-ink); opacity: .8; font-variant-caps: all-small-caps; letter-spacing: .06em; }
.tl-mc .tl-field > span { color: var(--card-ink); opacity: .8; }
.tl-mc input[type="number"] { min-height: 44px; font-variant-numeric: tabular-nums; }
.tl-mc .tl-mc-in { display: flex; gap: .5rem; }
.tl-mc .tl-mc-in input { flex: 1; min-width: 0; }
.tl-mc .tl-mc-undo { min-width: 48px; padding: .3rem .5rem; font-size: 1.2rem; }
.tl-mc .tl-mc-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(3.3rem, 1fr)); gap: .35rem; }
.tl-mc .tl-mc-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .2rem .3rem; line-height: 1.15; }
.tl-mc .tl-mc-chip small { font-size: .8rem; opacity: .75; font-variant-numeric: tabular-nums; }
.tl-mc .tl-mc-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 0 1.2rem; margin: .3rem 0; }
.tl-mc .tl-mc-count { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: .2rem 0; }
.tl-mc .tl-mc-count > span { flex: 1; line-height: 1.2; }
.tl-mc .tl-mc-stepper { display: flex; align-items: center; gap: .4rem; }
.tl-mc .tl-mc-step { min-width: 48px; padding: .2rem; font-size: 1.3rem; font-weight: 700; }
.tl-mc .tl-mc-n { min-width: 2rem; text-align: center; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tl-mc .tl-out { font-size: 1.1rem; text-align: left; font-variant-numeric: tabular-nums; }
.tl-mc .tl-out .tl-mc-line { margin-top: .4rem; }
.tl-mc .tl-out .tl-mc-line:first-child { margin-top: 0; }
.tl-mc .tl-out .tl-mc-line b { font-size: 1.3rem; }
.tl-mc .tl-out .tl-note, .tl-mc .tl-out .tl-warn { font-weight: 400; }
.tl-mc .tl-out .tl-note { white-space: pre-line; }
.tl-mc .tl-mc-var summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: .95rem; }
.tl-mc .tl-mc-var .tl-note { margin: .2rem 0; }
