/* blockers: rules used only by the blockers pages (loaded after base.css). */
/* Blocked Path (blockers): the board is one SVG sized by script with a button
   over every field; the houses are buttons below the board (dashed
   border = a token can come out, double border = chosen). */
.bl-dice-row {
  margin: 0.4rem 0 0.6rem;
  text-align: center;
}

.bl-dice-row > * {
  vertical-align: middle;
  margin: 0 0.4rem;
}

.bl-die-wrap {
  display: inline-block;
  width: 3.4rem;
  height: 3.4rem;
}

.bl-die {
  display: block;
  width: 100%;
  height: 100%;
}

.bl-board-wrap {
  max-width: 564px;
  margin: 0 auto;
}

.bl-board {
  position: relative;
  margin: 0 auto;
  border: 2px solid var(--border);
  background: #fff;
  box-sizing: content-box;
}

.bl-board-svg {
  display: block;
}

.bl-field {
  position: absolute;
  margin: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: transparent;
}

.bl-players {
  margin-top: 0.6rem;
  justify-content: center;
}

.bl-house {
  color: inherit;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.bl-house:disabled {
  opacity: 1;
  color: inherit;
  cursor: default;
}

.bl-house-pick {
  border: 3px dashed var(--border);
}

.bl-house-selected {
  border: 4px double var(--border);
}

.bl-shape {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.25rem;
  vertical-align: -0.25em;
}

[dir="rtl"] .bl-shape {
  margin-right: 0;
  margin-left: 0.25rem;
}

/* "All tokens in the goal": the count in the player buttons and the
   ranking after the win. */
.bl-house .pc-player-extra,
.bl-house .game-player-name {
  white-space: nowrap;
}

/* In the player buttons on its own line, so it never breaks apart. */
.bl-house .bl-goal-count {
  display: block;
  white-space: nowrap;
}

.bl-ranking .bl-goal-count {
  margin-left: 0.4rem;
  white-space: nowrap;
}

.bl-ranking .bl-goal-count::before {
  content: "\00B7\00A0";
}

.bl-ranking-wrap {
  margin: 0.5rem 0 0;
  text-align: center;
}

.bl-ranking {
  display: inline-block;
  margin: 0;
  padding-left: 1.6rem;
  text-align: left;
  font-weight: 700;
}

.bl-ranking li {
  margin: 0.15rem 0;
}

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