/* table-multi.css — multi-table pills (js/table-multi.js). Dark glass pills
   in the table header: suit glyph over rank per hole card, gold ring + a
   draining timer bar when it is your turn there, dashed "+" to add a table. */
.tbl-head .mt-pills.mtp-row { gap: 7px; align-items: center; padding: 3px 2px; }
.mtp {
  position: relative; flex-shrink: 0; height: 34px; min-width: 52px; padding: 0 10px 2px;
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  border-radius: 17px; cursor: pointer; overflow: hidden;
  background: linear-gradient(180deg, rgba(36,37,42,.96), rgba(14,15,18,.98));
  border: 1px solid #2E2E33; color: #F4F4F5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 2px 6px rgba(0,0,0,.45);
  font-family: var(--tb-font); transition: border-color .15s, box-shadow .15s;
}
.mtp:active { transform: scale(.97); }
.mtp.cur { border: 1.5px solid #E7C873; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(231,200,115,.18), 0 2px 6px rgba(0,0,0,.5); }
.mtp.fold .mtp-cards { opacity: .38; }
.mtp-cards { display: inline-flex; gap: 3px; align-items: center; }
.mtp-c { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; min-width: 8px; }
.mtp-c i { font-style: normal; font-size: 10px; line-height: 11px; font-family: 'Segoe UI Symbol', 'Apple Symbols', 'DejaVu Sans', sans-serif; }
.mtp-c b { font: 900 11px/12px var(--tb-font); color: #F4F4F5; letter-spacing: 0; }
/* 4-colour deck on dark: spade light, heart red, diamond blue, club green */
.mtp-c.s-s i { color: #E9E9EC; } .mtp-c.s-h i { color: #F0484F; }
.mtp-c.s-d i { color: #4C86FF; } .mtp-c.s-c i { color: #2BC26A; }
.mt-pills.deck2 .mtp-c.s-d i { color: #F0484F; } .mt-pills.deck2 .mtp-c.s-c i { color: #E9E9EC; }
.mtp-code { font: 800 11.5px var(--tb-font); letter-spacing: .06em; color: #C9C9CF; }
.mtp.cur .mtp-code { color: #E7C873; }
/* timer bar (only while it is your turn there) */
.mtp-bar { position: absolute; left: 9px; right: 9px; bottom: 3px; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.08); display: none; }
.mtp-bar span { position: absolute; inset: 0; border-radius: 2px; background: #3DDC84; transform-origin: left center; transform: scaleX(var(--mtp-left, 1)); transition: transform .25s linear; }
.mtp.turn { border: 1.5px solid #3DDC84; animation: mtp-pulse 1.1s ease-in-out infinite; }
.mtp.turn .mtp-bar { display: block; }
.mtp.turn.urgent { border-color: #F0484F; }
.mtp.turn.urgent .mtp-bar span { background: #F0484F; }
@keyframes mtp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,220,132,.0), 0 2px 6px rgba(0,0,0,.45); }
  50% { box-shadow: 0 0 0 3px rgba(61,220,132,.28), 0 2px 6px rgba(0,0,0,.45); }
}
@media (prefers-reduced-motion: reduce) { .mtp.turn { animation: none; box-shadow: 0 0 0 2px rgba(61,220,132,.3); } }
.mtp-plus {
  flex-shrink: 0; width: 46px; height: 34px; border-radius: 17px; padding: 0; cursor: pointer;
  background: rgba(20,21,24,.6); border: 1.5px dashed #55555C; color: #E4E4E7;
  font: 500 18px/1 var(--tb-font);
}
.mtp-plus:hover { border-color: #E7C873; color: #E7C873; }
