@import url('/tools/zt/eng/random/work.css');

#dr-types {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
#dr-types legend {
  margin-bottom: 6px;
  font-size: .875rem;
  font-weight: 600;
}
.dr-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.dr-types label {
  position: relative;
  cursor: pointer;
}
.dr-types input {
  position: absolute;
  opacity: 0;
}
.dr-types span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid var(--ws-line-strong);
  border-radius: var(--r-sm);
  font-size: .875rem;
}
.dr-types input:checked + span {
  background: var(--ws-ink);
  color: var(--ws);
}
.dr-types input:focus-visible + span {
  outline: 2px solid var(--go);
  outline-offset: 2px;
}
.dr-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: .875rem;
  margin: 0;
}
.dr-breakdown > div {
  display: flex;
  gap: 8px;
}
.dr-breakdown dt {
  color: var(--ws-dim);
}
.dr-breakdown dd {
  margin: 0;
  font-weight: 600;
}
#dr-dice {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dr-die {
  display: block;
  width: 54px;
  height: 54px;
  color: var(--ws-ink);
  fill: var(--ws);
  stroke: currentColor;
  stroke-width: 1.75px;
  stroke-linejoin: round;
}
.dr-die circle,
.dr-die text {
  fill: currentColor;
  stroke: none;
}
.dr-die text {
  font-size: 1.125rem;
  font-weight: 600;
}
.dr-die text.dr-four-digit {
  font-size: .75rem;
}
#dr-faces {
  overflow-wrap: anywhere;
}
