/* Reuse the game's fonts, mint accent, Modal and Icon components. Only this profile gets the extra control. */
.room-chat--random { display: flex; align-items: flex-end; gap: max(.12rem, 8px); }
.random-settings__entry {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: max(.07rem, 5px);
  height: var(--team-control-h, 30px);
  padding: 0 max(.12rem, 8px);
  background: rgba(3, 12, 8, .58);
  border: 1px solid var(--line-2);
  color: var(--text-md);
  font: inherit;
  font-size: max(calc(.16 * var(--t)), 12px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.random-settings__entry .icon { flex: 0 0 auto; width: 1.2em; height: 1.2em; }
.random-settings__entry:hover, .random-settings__entry:focus-visible { color: var(--mint-500); border-color: var(--mint-500); outline: none; }
.random-settings__intro { margin: 0 0 .18rem; color: var(--text-hi); line-height: 1.6; }
.random-settings__permission { margin: 0 0 .24rem; color: var(--text-md); line-height: 1.6; }
.random-settings__fields { display: grid; gap: max(.18rem, 12px); }
.random-settings__field { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: max(.14rem, 10px); }
.random-settings__field > span:first-child { min-width: 0; }
.random-settings__field b, .random-settings__field small { display: block; }
.random-settings__field small { margin-top: .07rem; color: var(--text-md); line-height: 1.5; }
.random-settings__field input { margin: 0; width: max(.22rem, 18px); height: max(.22rem, 18px); accent-color: var(--mint-500); }
.random-settings__field input:disabled { cursor: default; }
.random-settings__value { min-width: 4.5em; color: var(--mint-500); white-space: nowrap; }
@media (max-width: 620px) {
  .random-settings__field { grid-template-columns: minmax(0, 1fr) auto; }
  .random-settings__value { grid-column: 1 / -1; min-width: 0; }
}
.draft--random .draft-detail { overflow-y: auto; overscroll-behavior: contain; }
.draft--random .draft-detail > :not(.draft-detail__eff) { flex-shrink: 0; }
.draft--random .draft-detail__eff { flex: 1 0 4em; min-height: 4em; }
.draft--random .draft-detail__actions { position: sticky; bottom: 0; z-index: 1; padding-top: max(.06rem, 4px); background: rgba(10, 13, 12, .97); }
.random-draft-actions .btn { flex: 1 1 0; min-width: 0; height: auto; min-height: .64rem; padding: max(.04rem, 3px) max(.06rem, 4px); gap: max(.04rem, 3px); letter-spacing: normal; }
.random-draft-actions .btn__label { white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }
