/* ---------- seep (g-seep.js) ---------- */
.sp-score { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 2px; }
.sp-team { display: grid; justify-items: center; gap: 1px; padding: 6px 10px 5px; border-radius: 14px; background: #ffffff0a; border: 1px solid var(--hair); text-align: center; }
.sp-team small { display: inline-flex; align-items: center; gap: 6px; font: 800 .64rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sp-team b { font: 800 1.45rem/1.05 var(--display); font-variant-numeric: tabular-nums; }
.sp-team span { font: 700 .7rem var(--display); color: var(--muted); }
.sp-team.us { border-color: #14b8a655; } .sp-team.us b { color: #9ff6ea; }
.sp-team.them { border-color: #e5197a55; } .sp-team.them b { color: #ffb3d5; }
.sp-hands { display: inline-flex; gap: 3px; }
.sp-hands em { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.sp-hands em.on { background: var(--marigold); border-color: var(--marigold); box-shadow: 0 0 6px #ffb627aa; }

/* the floor, on the felt */
/* Your partner's seat hangs over the top of the felt, and the felt shrinks with the screen height while the seat doesn't:
   start the floor --clear px below the table's top on any height (22.1% = the felt's 17% offset, in felt heights).
   The bid label sits at the bottom, where no seat reaches. */
.sp-felt { position: absolute; z-index: 1; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 2px;
           --clear: 108px; inset: max(5%, calc(var(--clear) - 22.1%)) 6% 4%; }
.sp-felt.tall { --clear: 126px; } /* partner is the bidder: one more tag under their name */
.sp-felt > small { font: 800 .62rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: #bdf5ee; }
.sp-floor { display: flex; flex-wrap: wrap; justify-content: center; align-content: safe center; gap: 6px 5px; overflow-y: auto; padding: 8px 4px 2px;
            scrollbar-width: thin; }
.sp-floor.many { gap: 5px 3px; }
.sp-empty { font: 700 .8rem var(--display); color: #d6fffa99; }
.sp-item { position: relative; display: block; padding: 0; border: 0; background: none; border-radius: 6px; transition: transform .15s; }
button.sp-item:active { transform: translateY(-2px); }
.sp-item.on { transform: translateY(-5px); }
.sp-item.on > .card-p, .sp-item.on .sp-house { box-shadow: 0 0 0 3px var(--marigold), 0 6px 12px #0008; }
.sp-house { position: relative; display: flex; padding: 3px; border-radius: 8px; background: #0a0d29b3; border: 1.5px solid var(--hair-2); }
.sp-house.us { border-color: var(--teal); } .sp-house.them { border-color: var(--magenta); }
.sp-house .card-p + .card-p { margin-left: -20px; }
.sp-house b { position: absolute; right: -7px; top: -9px; min-width: 22px; padding: 2px 5px 0; border-radius: 99px; background: var(--marigold); color: var(--ink);
              font: 800 .8rem/1.3 var(--display); text-align: center; box-shadow: 0 2px 6px #0008; }

/* the last move, under the table */
.sp-last { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; min-height: 44px; margin: 0 0 2px;
           font: 700 .84rem var(--display); color: var(--muted); }
.sp-took { display: inline-flex; }
.sp-took .card-p + .card-p { margin-left: -14px; }

/* your hand and moves */
.sp-hand .handx { --lap: var(--sp-lap, -.42); min-height: 90px; padding-top: 20px; }
.sp-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.sp-acts .btn { min-height: 48px; padding: 2px 0 0; font-size: 1rem; }
.sp-bids { grid-template-columns: repeat(5, 1fr); }
.sp-bids .btn small { margin-left: 3px; font-size: .7rem; opacity: .7; }

@media (prefers-reduced-motion: reduce) { .sp-item { transition: none; } }
