/* ---------- card-table games: callbreak, 29, gadha, court piece, mendikot, kachuful, 2-3-5 (g-tricks.js) ---------- */
.tk-slot { position: absolute; transform: translate(-50%, -50%); }
.tk-slot.win .card-p { box-shadow: 0 0 0 3px var(--marigold), 0 0 18px #ffb627aa, 0 6px 12px #0006; }
.tk-center { position: relative; z-index: 0; display: grid; justify-items: center; gap: 2px; max-width: 72%; text-align: center; }
.tk-center small { font: 800 .66rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: #bdf5ee; }
.tk-center b { font: 800 1.45rem/1.1 var(--display); color: var(--paper); text-shadow: 0 2px 0 #0006; }
.tk-center span { font: 700 .8rem/1.3 var(--display); color: #d6fffa; }
.tk-center .tk-line { font-size: .86rem; }
.tk-center .tk-line.pos { color: #b6fff4; }
.tk-center .tk-line.neg { color: #ffc2d8; }
.tk-trump { padding: 1px 8px 0; border-radius: 99px; background: #fff5df; color: var(--ink) !important; }
.tk-trump.red { color: #d7263d !important; }
.tk-tag { display: inline-block; padding: 2px 7px 1px; border-radius: 99px; font: 800 .66rem/1.25 var(--display); letter-spacing: .04em; white-space: nowrap;
          background: #2a3270; color: #d0d4ea; }
.tk-tag.made { background: #0d5c55; color: #9ff6ea; }
.tk-tag.bad { background: #861424; color: #ffd0d8; }
.tk-tag.bid { background: var(--marigold); color: var(--ink); }
.tk-tag.us { background: #0d5c55; color: #9ff6ea; }
.tk-tag.them { background: #6f0a3b; color: #ffb3d5; }
.tk-tag.tt { background: #fff5df; color: var(--ink); }
.tk-tag.tt.red { color: #d7263d; }
.sbox .tk-tag + .tk-tag, .sbox .tk-tag + .tk-count { margin-top: -2px; }
.tk-count { font: 700 .66rem var(--display); color: var(--muted); }
.tk-me { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 0; font-weight: 700; }
.tk-me b { font: 800 .95rem var(--display); color: var(--paper); }
.tk-me.won .ring { background: var(--marigold); box-shadow: 0 0 22px 2px #ffb627aa; }
.tk-hand .handx { --lap: var(--tk-lap, -.42); min-height: 90px; padding-top: 20px; }
.tk-hand + .hint { margin-top: 0; min-height: 1.2em; }
.tk-bids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 2px; }
.tk-bids.wide { grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 8px; }
.tk-bids.wide .btn { min-height: 40px; font-size: 1.05rem; border-radius: 11px; }
.tk-bids .btn { min-height: 46px; padding: 2px 0 0; font-size: 1.2rem; }
.tk-suits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 2px; }
.tk-suit { display: grid; justify-items: center; gap: 2px; padding: 10px 0 8px; border: 0; border-radius: 16px; color: var(--ink);
           background: linear-gradient(160deg, #fffdf6, var(--paper)); box-shadow: 0 4px 0 #b9a67a, 0 8px 14px #0006; }
.tk-suit:active { transform: translateY(2px); box-shadow: 0 2px 0 #b9a67a; }
.tk-suit b { font-size: 2rem; line-height: 1; }
.tk-suit small { font: 700 .7rem var(--display); color: #6b5d3a; }
.tk-suit.red b { color: #d7263d; }
.tk-reveal { margin: 10px 0 0; }
.tk-reveal .hint { margin-top: 6px; }
.tk-scores { width: 100%; margin-top: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--hair);
             background: var(--s1); font-variant-numeric: tabular-nums; }
.tk-scores th { padding: 7px 8px 5px; font: 800 .66rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; background: #10163d; }
.tk-scores th:first-child, .tk-scores td:first-child { text-align: left; }
.tk-scores td { padding: 7px 8px; border-top: 1px solid var(--hair); text-align: right; font: 700 .88rem var(--display); }
.tk-scores td:first-child { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--body); font-weight: 600; }
.tk-scores tr.me td { background: #2a2468; }
.tk-scores td:last-child { color: var(--paper); }
.tk-scores.many th, .tk-scores.many td { padding-inline: 4px; }
.tk-scores.many td:first-child { max-width: 76px; }
.tk-scroll { overflow-x: auto; }
.tk-bids .btn:disabled { text-decoration: line-through; }
