/* Tarneeb hand calculator (assets/js/tools/tarneeb.js) */
.tl-tn-teams { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
.tl-tn-teams .tl-btn { min-width: 0; overflow-wrap: anywhere; }
.tl-tn-bids { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.tl-tn-bid { padding: .2rem 0; min-width: 0; font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-tn-suits { display: grid; grid-template-columns: repeat(4, 1fr) 2fr; gap: .3rem; }
.tl-tn-suits .tl-btn { min-width: 0; font-size: 1.15rem; padding: .2rem 0; }
.tl-tn-suits .tl-tn-wide { font-size: .95rem; }
.tl-tn-tricks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.tl-tn-n { padding: .2rem 0; min-width: 0; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tl-tn-verdict { font-size: 1rem; font-weight: 700; margin: .3rem 0; }
.tl-tn-verdict.failed { color: var(--card-red); }
.tl-tn-scores { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; margin-top: .4rem; }
.tl-tn-scores > div { display: flex; flex-direction: column; align-items: center; padding: .3rem; border: 1px solid var(--card-line); border-radius: 6px; min-width: 0; }
.tl-tn-scores span { font-size: .9rem; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tl-tn-scores b { font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.tl-tn-scores small { font-size: .8rem; font-weight: 400; color: var(--card-soft); }
.tl-tn-win { font-weight: 800; font-size: 1.05rem; margin-top: .4rem; }
.tl-tn-opts { margin: .6rem 0 0; }
.tl-tn-opts summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--card-soft); }
.tl-tn-opt { text-align: left; flex: 1 1 100%; }
