/* Binokel meld counter and hand scorer (assets/js/tools/binokel.js) */
.tl-bk + .tl-bk { margin-top: 1rem; }
.tl-bk .tl-bk-suit { min-width: 52px; font-size: 1.3rem; padding: .2rem .6rem; }
.tl-bk-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; }
.tl-bk-cards.six { grid-template-columns: repeat(6, 1fr); }
.tl-bk-c { position: relative; min-height: 48px; padding: .2rem 0; font: inherit; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--card); color: var(--card-ink); border: 1px dashed var(--card-line); border-radius: 6px; cursor: pointer; opacity: .75; }
.tl-bk-c.red { color: var(--card-red); }
.tl-bk-c[data-n="1"], .tl-bk-c[data-n="2"] { opacity: 1; border-style: solid; border-width: 2px; background: var(--card); box-shadow: 0 1px 0 var(--card-line); }
.tl-bk-c[data-n="2"] { background: var(--card-ink); color: var(--card); }
.tl-bk-c.red[data-n="2"] { background: var(--card-red); color: #fff; border-color: var(--card-red); }
.tl-bk-x { position: absolute; top: 1px; right: 3px; font-size: .7rem; line-height: 1; }
.tl-bk .tl-bk-count { margin: 0; flex: 1; }
.tl-bk .tl-bk-melds { text-align: left; font-size: 1rem; font-weight: 400; }
.tl-bk-list { list-style: none; margin: 0; padding: 0; }
.tl-bk-list li, .tl-bk-line { display: flex; justify-content: space-between; gap: .6rem; padding: .15rem 0; }
.tl-bk-v { font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-bk-total { font-size: 1.3rem; font-weight: 800; text-align: center; margin-top: .3rem; }
.tl-bk-melds .tl-note { margin: .2rem 0; text-align: center; }
.tl-bk-sides { display: grid; gap: .5rem; margin: .6rem 0; }
.tl-bk-side { border: 1px solid var(--card-line); border-radius: 8px; padding: .3rem .6rem; }
.tl-bk-side .tl-field { margin: .3rem 0; }
.tl-bk-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-bk-mrow { display: flex; gap: .5rem; align-items: center; }
.tl-bk-mrow input { flex: 1; min-width: 0; }
.tl-bk .tl-bk-nt { white-space: nowrap; }
.tl-bk .tl-out { font-size: 1.05rem; }
.tl-bk-line { text-align: left; font-weight: 400; }
.tl-bk-line b { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tl-bk-picker, .tl-bk-var { margin: .6rem 0; }
.tl-bk-picker > summary { cursor: pointer; font-weight: 700; padding: .6rem 0; min-height: 44px; }
.tl-bk-var > summary { cursor: pointer; padding: .6rem 0; color: var(--card-soft); min-height: 44px; }
.tl-bk-check { display: flex; gap: .5rem; align-items: center; min-height: 44px; }
.tl-bk-check input { width: 1.3rem; height: 1.3rem; }
