/* poker: rules used only by the poker pages (loaded after base.css). */
/* Poker: the computers' seats side by side (they wrap on a narrow
   screen), the shared cards and the pot in the middle, your seat below.
   The player on turn has a thick border, a player who folded a dashed
   one; tags such as "Dealer" or "all in" are framed words, not shades. */
.pk-opponents {
  text-align: center;
}

.pk-seat {
  display: inline-block;
  vertical-align: top;
  min-width: 9.5rem;
  margin: 0.2rem;
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.pk-seat-active {
  border-width: 3px;
}

.pk-seat-folded {
  border-style: dashed;
}

.pk-seat-head {
  font-size: 0.85rem;
  line-height: 1.5;
}

.pk-name {
  font-weight: 700;
  margin-right: 0.3rem;
}

.pk-seat-active .pk-name::before {
  content: "\25B6\00A0";
}

.pk-info {
  display: inline-block;
  margin: 0 0.15rem;
  white-space: nowrap;
}

.pk-tag {
  padding: 0 0.25rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-weight: 700;
}

.pk-cards {
  margin-top: 0.3rem;
}

.pk-hand-line {
  margin-top: 0.1rem;
  font-size: 0.85rem;
}

.pk-hand-name {
  font-weight: 700;
}

.pk-table {
  margin: 0.5rem 0;
  text-align: center;
}

.pk-board .pk-card {
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

.pk-slot {
  border-style: dashed;
}

.pk-pot {
  font-weight: 700;
}

.pk-me {
  text-align: center;
}

.pk-me .pk-seat {
  min-width: 14rem;
}

.pk-buttons {
  margin: 0.4rem 0;
  text-align: center;
}

.pk-buttons > button {
  margin: 0.2rem 0.25rem;
}

.pk-hands-wrap {
  overflow-x: auto;
}

.pk-hands {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pk-hands th,
.pk-hands td {
  border: 1px solid var(--border);
  padding: 0.25rem 0.35rem;
  text-align: left;
  vertical-align: top;
}

[dir="rtl"] .pk-hands th,
[dir="rtl"] .pk-hands td {
  text-align: right;
}

.pk-ex-cell {
  min-width: 5.5rem;
}

.pk-ex-card {
  white-space: nowrap;
}

.pk-example {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
}
