/* ===========================================================
   10K TAVERN — Spider Solitaire
   Builds on /styles.css and /solitaire/solitaire.css: same felt,
   same white cards. This file only adds what's different.
   =========================================================== */

/* Three games to pick from: one, two or four suits. */
.sp-modes{ grid-template-columns: repeat(3, 1fr); max-width: 860px; }
@media (max-width: 760px){ .sp-modes{ grid-template-columns: minmax(0,1fr); max-width: 420px; } }
.sp-suits{
  display: flex; gap: 6px;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(var(--fg-rgb),0.85);
}
.sp-suits .red{ color: #E0525A; }

/* Ten columns need a little more room than the other card games. */
.sp-board{ max-width: 1000px; }

/* Where finished runs go (top left), and the deck (top right). */
.sol-slot.sp-done{ border-style: dashed; background: rgba(0,0,0,0.08); }
.sol-slot.sp-stock{ font-size: calc(var(--cw) * 0.3); }
.sol-card.sp-done{ cursor: default; }

/* Small cards (phones): bigger corner indexes, no pips or portraits. */
.sp-small .sol-pips, .sp-small .sol-courtbox{ display: none; }
.sp-small .sol-corner{ font-size: calc(var(--cw) * 0.34); letter-spacing: -0.06em; top: calc(var(--cw) * 0.04); left: calc(var(--cw) * 0.05); }
.sp-small .sol-corner.bottom{ display: none; }
.sp-small .sol-card.face:not(.back)::after{
  /* a big suit in the middle of the card stands in for the pips */
  content: attr(data-suit);
  position: absolute; left: 0; right: 0; bottom: 8%;
  text-align: center;
  font-size: calc(var(--cw) * 0.5);
  line-height: 1;
}
