// ============================================================
// FREE ROLL BAR — injected below the chat log
// ============================================================

.oh-free-roll-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-top: 1px solid fade(@color-olive, 40%);
  border-bottom: 1px solid fade(@color-olive, 40%);
  background: @color-paper;
  flex-shrink: 0;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
  pointer-events: auto;

  .oh-frb-label {
    font-family: @font-secondary;
    font-size: @font-size-xs;
    font-weight: bold;
    color: @color-dark;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .oh-frb-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    flex: 1;

    select {
      font-size: @font-size-xs;
      padding: 1px 2px;
      height: 1.6rem;
      border: 1px solid @color-olive;
      border-radius: 3px;
      background: #fff;
      color: @color-dark;
      cursor: pointer;
    }

    .oh-frb-pool  { width: 3.8rem; }
    .oh-frb-color { flex: 1; min-width: 6rem; }

    .oh-frb-explode-label {
      display: flex;
      align-items: center;
      gap: 3px;
      font-size: @font-size-xs;
      cursor: pointer;
      white-space: nowrap;
      color: @color-dark;

      input[type="checkbox"] { cursor: pointer; }
    }

    .oh-frb-roll-btn {
      font-family: @font-secondary;
      font-size: @font-size-xs;
      font-weight: bold;
      padding: 2px 8px;
      height: 1.6rem;
      border: 1px solid @color-olive;
      border-radius: 3px;
      background: @color-olive-faint;
      color: @color-dark;
      cursor: pointer;
      white-space: nowrap;
      &:hover { background: @color-gold; border-color: darken(@color-gold, 10%); }
    }
  }
}
